1-12
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Configuring Resilient Ethernet Protocol
Configuring REP
Switch (conf-if)# rep segment 1 edge primary
Switch (conf-if)# rep stcn segment 2-5
Switch (conf-if)# rep block port 0009001818D68700 vlan all
Switch (conf-if)# rep preempt delay 60
Switch (conf-if)# rep lsl-age-timer 6000
Switch (conf-if)# end
This example shows how to configure the same configuration when the interface has no external REP
neighbor:
Switch# configure terminal
Switch (conf)# interface gigabitethernet1/1
Switch (conf-if)# rep segment 1 edge no-neighbor primary
Switch (conf-if)# rep stcn segment 2-5
Switch (conf-if)# rep block port 0009001818D68700 vlan all
Switch (conf-if)# rep preempt delay 60
Switch (conf-if)# rep lsl-age-timer 6000
This example shows how to configure the VLAN blocking configuration shown in Figure 1-5. The
alternate port is the neighbor with neighbor offset number 4. After manual preemption, VLANs 100 to
200 are blocked at this port, and all other VLANs are blocked at the primary edge port E1 (Gigabit
Ethernet port 1/1).
Switch# configure terminal
Switch (conf)# interface gigabitethernet1/1
Switch (conf-if)# rep segment 1 edge primary
Switch (conf-if)# rep block port 4 vlan 100-200
Switch (conf-if)# end
Figure 1-5 Example of VLAN Blocking
Setting Manual Preemption for VLAN Load Balancing
If you do not enter the rep preempt delay seconds interface configuration command on the primary edge
port to configure a preemption time delay, the default is to manually trigger VLAN load balancing on
the segment. Be sure that all other segment configuration has been completed before manually
preempting VLAN load balancing. When you enter the rep preempt segment segment-id command, a
confirmation message appears before the command is executed because preemption can cause network
disruption.
E2E1
4
201891
Alternate port (offset 4)
blocks VLANs 100-200
Primary edge port E1
blocks all VLANs except
VLANs 100-200