Cisco Systems A9014CFD Router User Manual


 
12-24
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 12 Configuring Resilient Ethernet Protocol
Configuration Examples for REP
Configuration Examples for REP
This section contains the following examples:
Configuring the REP Administrative VLAN: Example, page 12-24
Configuring a REP Interface: Example, page 12-24
Setting up the Preemption for VLAN Load Balancing: Example, page 12-25
Configuring SNMP Traps for REP: Example, page 12-25
Monitoring the REP Configuration: Example, page 12-25
Cisco ASR 901 Topology Example, page 12-26
Configuring the REP Administrative VLAN: Example
This example shows how to configure the administrative VLAN as VLAN 100.
Router# configure terminal
Router(config)# rep admin vlan 100
Router(config-if)# end
Configuring a REP Interface: Example
This example shows how to configure an interface as the primary edge port for segment 1, to send
Spanning Tree Topology Changes Notification (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.
Router# configure terminal
Router(config)# interface gigabitethernet0/1
Router(config-if)# rep segment 1 edge primary
Router(config-if)# rep stcn segment 2-5
Router(config-if)# rep block port 0009001818D68700 vlan all
Router(config-if)# rep preempt delay 60
Router (config-if)# rep lsl-age-timer 6000
Router(config-if)# end
This example shows how to configure the same configuration when the interface has no external REP
neighbor:
Router# configure terminal
Router(conf)# interface gigabitethernet0/1
Router(config-if)# rep segment 1 edge no-neighbor primary
Router(config-if)# rep stcn segment 2-5
Router(config-if)# rep block port 0009001818D68700 vlan all
Router(config-if)# rep preempt delay 60
Router(config-if)# rep lsl-age-timer 6000
Figure 6 shows how to configure the VLAN blocking configuration. 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).