Chapter 12 Configuring Resilient Ethernet Protocol

Configuration Examples for REP

Router# configure terminal

Router(config)# interface gigabitethernet0/1

Router(config-if)#rep segment 1 edge primary

Router(config-if)#rep block port 4 vlan 100-200

Router(config-if)# end

Router(config)# rep platform vlb segment 1 vlan 100-200

Figure 6

Example of VLAN Blocking

Primary edge port E1

blocks all VLANs except E1

VLANs 100-200

E2

4

Alternate port (offset 4) blocks VLANs 100-200

201891

Setting up the Preemption for VLAN Load Balancing: Example

The following is an example of setting the preemption for VLAN load balancing on a REP segment.

Router> enable

Router# configure terminal

Router# rep preempt segment 1

Router# end

Configuring SNMP Traps for REP: Example

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: Example

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 gigabitethernet0/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>

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

 

 

OL-23826-09

 

 

12-25

 

 

 

 

 

Page 283
Image 283
Cisco Systems A9014CFD Setting up the Preemption for Vlan Load Balancing Example, Configuring Snmp Traps for REP Example