Configuring REP
Command
Step 6
Switch(config-if)# rep block port {id
|
port-id
neighbor_offset | preferred
{
|
vlan
vlan-list
Step 7
Switch(config-if)# rep preempt delay
seconds
Step 8
Switch(config-if)# end
Step 9
Switch# show interface [interface-id]
rep [detail]
Step 10
Switch# copy running-config startup
config
Enter the no form of each command to return to the default configuration. Enter the show rep topology
privileged EXEC command to see which port in the segment is the primary edge port.
This example shows how to configure an interface as the primary edge port for segment 1, to send STCNs
to segments 2 through 5, and to configure the alternate port as the port with port ID 0009001818D68700
to block all VLANs after a preemption delay of 60 seconds after a segment port failure and recovery.
Switch# configure terminal
Switch(config)# interface gigabitethernet1/1
Switch(config-if)# rep segment 1 edge primary
Switch(config-if)# rep stcn segment 2-5
Switch(config-if)# rep block port 0009001818D68700 vlan all
Switch(config-if)# rep preempt delay 60
Switch(config-if)# end
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
22-12
}
}
all
Chapter 22
Purpose
(Optional) Configures VLAN load balancing on the primary edge
port, identify the REP alternate port in one of three ways, and
configure the VLANs to be blocked on the alternate port.
•
Enter the id port-id to identify the alternate port by port ID. The
port ID is automatically generated for each port in the segment.
You can view interface port IDs by entering the show interface
interface-id rep [detail] privileged EXEC command.
Enter a neighbor_offset number to identify the alternate port as
•
a downstream neighbor from an edge port. The range is from
–256 to 256, with negative numbers indicating the downstream
neighbor from the secondary edge port. A value of 0 is invalid.
Enter -1 to identify the secondary edge port as the alternate port.
For an example of neighbor offset numbering, see
on page
22-5.
Because you enter this command at the primary edge port
Note
(offset number 1), you never enter an offset value of 1 to
identify an alternate port.
Enter preferred to select the regular segment port previously
•
identified as the preferred alternate port for VLAN load
balancing.
•
Enter vlan vlan-list to block one VLAN or a range of VLANs.
•
Enter vlan all to block all VLANs.
Note
Enter this command only on the REP primary edge port.
(Optional) You must enter this command and configure a preempt
time delay if you want VLAN load balancing to automatically trigger
after a link failure and recovery. The time delay range is 15 to 300
seconds. The default is manual preemption with no time delay.
Note
Enter this command only on the REP primary edge port.
Returns to privileged EXEC mode.
Verifies the REP interface configuration.
(Optional) Saves your entries in the switch startup configuration file.
Configuring Resilient Ethernet Protocol
Figure 22-4
OL-25340-01