are blocked at this port and all other VLANs are blocked at the primary edge port E1 (Gigabit Ethernet port
0/0/1).
Figure 6: Example of VLAN Blocking
Router# configure terminal
Router(config)# interface gigabitethernet0/0/1
Router(config-if)# rep segment 1 edge primary
Router(config-if)# rep block port 4 vlan 100-200
Router(config-if)# end
Setting the Preemption for VLAN Load Balancing
Router>end
Router# configure terminal
Router(config)rep preempt segment 1
Router(config)# end
Configuring SNMP Traps for REP
This example shows how to configure the router to send REP traps at a rate of 10 traps per second:
Router> enable
Router# configure terminal
Router(config)# snmp mib rep trap-rate 10
Router(config)# end
Monitoring the REP Configuration
The following is sample output of the show interface rep detail command. Use the show interface rep detail
command on one of the REP interfaces to monitor and verify the REP configuration.
Router# show interface GigabitEthernet 0/0/1 rep detail
GigabitEthernet0/1 REP enabled
Segment-id: 2 (Edge)
PortID: 00010019E7144680
Preferred flag: No
Operational Link Status: TWO_WAY
Current Key: 0002001121A2D5800E4D
Port Role: Open
Blocked Vlan: <empty>
LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
33
Configuring Resilient Ethernet Protocol
Setting the Preemption for VLAN Load Balancing