16-12
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 16 Configuring Resilient Ethernet Protocol
Configuring REP
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 gigabitethernet0/1
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 gigabitethernet0/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 16-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 0/1).
Switch#
configure terminal
Switch (conf)#
interface gigabitethernet0/1
Switch (conf-if)#
rep
segment 1 edge primary
Switch (conf-if)#
rep block port 4 vlan 100-200
Switch (conf-if)#
end
Figure 16-5
Example of VLAN Blocking
E2
E1
4
201
8
91
Altern
a
te port (off
s
et 4)
b
lock
s
VLAN
s
100-200
Prim
a
ry edge port E1
b
lock
s
a
ll VLAN
s
except
VLAN
s
100-200