Cisco me 3400 Guia Do Programa

Página de 1138
 
17-12
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-07
Chapter 17      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 
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 17-5
Example of VLAN Blocking
E2
E1
4
201
8
91
Alternate port (offset 4)
blocks VLANs 100-200
Primary edge port E1
blocks all VLANs except
VLANs 100-200