CLI Guide

Layer 2 Switching Commands 471
User Guidelines
This command configures the list of VLANs that are protected by the ERP
instance. Only VLANs that are participating in both the ring ports of an
instance are monitored by the ERP instance. A VLAN may only be configured
for one instance. Configuring a VLAN in more than one ERP instance causes
undefined behavior.
Example
This example configures a closed ring node for interface Te1/0/1 and Te1/0/2
using data VLANs 101-103. It assumes that VLANs 100-103 are already
created. A single instance is created and associated with ERP profile1. The
profile sets the hold-off timer to 500 milliseconds. Interface Te1/0/2 is
configured in the Owner role. Interface Te1/0/2 connects to an adjacent
switch port Te1/0/1. Traffic is blocked on these two ports under normal
conditions. VLANs 101-103 are protected. VLAN 100 is used as the
Automatic Protection Switching (APS) VLAN.
console (config)# ethernet ring g8032 ring1
console (config-erp-ring1)#timer hold-off 500
console (config-erp-ring1)#inclusion-list vlan-ids 101-103
console (config-erp-ring1)#port0 interface te1/0/1
console (config-erp-ring1)#port1 interface te1/0/2
console (config-erp-ring1)#instance 1
console (config-erp-inst-1)#rpl port1 owner
console (config-erp-inst-1)#aps-channel
console (config-erp-inst-1-aps)#level 7
console (config-erp-inst-1-aps)#raps-vlan 100
On the adjacent switch:
console (config)# ethernet ring g8032 ring1
console (config-erp-ring1)#timer hold-off 500
console (config-erp-ring1)#port0 interface te1/0/1
console (config-erp-ring1)#port1 interface te1/0/2
console (config-erp-ring1)#instance 1
console (config-erp-inst-1)#rpl port0 neighbor
console (config-erp-inst-1)#aps-channel
console (config-erp-inst-1-aps)#level 7
console (config-erp-inst-1-aps)#raps-vlan 100
Command History
Command introduced in firmware release 6.6.1.