1-11
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Configuring Resilient Ethernet Protocol
Configuring REP
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.
The interface is configured to remain up for 6000 milliseconds without receiving a hello from a neighbor.
Switch# configure terminal
Switch (conf)# interface gigabitethernet1/1
Step 6
rep block port {id port-id | neighbor_offset |
preferred} vlan {vlan-list | all}
(Optional) Configures VLAN load balancing on the primary edge
port, identifies the REP alternate port in one of three ways, and
configures the VLANs to be blocked on the alternate port.
• id port-id —identifies 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.
• 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.
See Figure 1-4 on page 1-5 for an example of neighbor offset
numbering.
Note Because you enter this command at the primary edge port
(offset number 1), you would never enter an offset value of 1
to identify an alternate port.
• preferred—selects the regular segment port previously
identified as the preferred alternate port for VLAN load
balancing.
• vlan vlan-list—blocks one VLAN or a range of VLANs.
• vlan all—blocks all VLANs.
Note Enter this command only on the REP primary edge port.
Step 7
rep preempt delay seconds (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.
Step 8
rep lsl-age-timer value (Optional) Configures a time (in milliseconds) for which the REP
interface remains up without receiving a hello from a neighbor.
The range is from 3000 to 10000 ms in 40-ms increments. The
default is 5000 ms (5 seconds).
Step 9
end Returns to privileged EXEC mode.
Step 10
show interface [interface-id] rep [detail] Displays the REP interface configuration.
Step 11
copy running-config startup config (Optional) Saves your entries in the switch startup configuration file.
Command Purpose