OcNOS-SP : Key Features : Improved Network Resilience : ERPS with CFM Down-MEP over Bridge-Domain
ERPS with CFM Down-MEP over Bridge-Domain
Overview
Ethernet Ring Protection Switching (ERPS) over a bridge domain is a network feature that allows the implementation of ring protection in Ethernet networks using bridge domains. ERPS, a protocol specified by ITU-T G.8032, is designed to provide fast and seamless protection switching in ring topologies to ensure network availability. Previously, all ERPS instances were mapped to a single bridge domain. It is now possible to map different flooding domains with ERPS instances.
Feature Characteristics
1. ERPS Configuration over L2 Sub-Interface: OcNOS allows the configuration of ERPS over Layer 2 sub-interfaces mapped under Bridge-Domains, enabling efficient utilization of network resources.
2. L2 Sub-Interface Configuration as Ring Ports: Layer 2 sub-interfaces can be easily configured as east and west ring ports of an ERPS ring, providing a flexible and intuitive setup.
3. Support for Multiple ERPS Instances: The software supports the creation of multiple ERPS instances, facilitating the deployment of different logical ERPS rings across various Bridge-Domains.
4. Shared ERPS Instances for Logical Rings: Optionally, multiple ERPS logical rings can utilize a single ERPS instance if the ring ports share the same parent interface, streamlining the configuration process.
5. Single Bridge-Domain per ERPS Instance: A single ERPS instance can only have ring ports from a single Bridge-Domain, ensuring consistent and efficient ring management.
6. CFM Triggering for ERPS Instances: Configuration of Continuity Fault Management (CFM) over L2-sub-interfaces will trigger signal fail events for ERPS instances created over the same L2-sub-interface upon link fault detection.
7. Single ERPS Instance Monitoring Multiple ERPS Rings: The software allows a single ERPS instance to monitor multiple ERPS rings, offering centralized management and improved network oversight.
Note: When a single instance is utilized to monitor multiple ERPS rings, only a fault detected by the primary ring will trigger a switchover (ERPS) in associate rings. Individual sub-interface (subifp) link shutdowns of associate ring member interfaces will not initiate a switchover in that instance.
Benefits
Network Resilience: ERPS enhances network resiliency by creating a ring topology, where traffic can be rerouted in case of a link or node failure, ensuring uninterrupted connectivity.
Faster Traffic Switchover: In case of a link or node failure within the ring, ERPS ensures rapid traffic switchover to the backup path, minimizing service disruptions.
Prerequisites
Before configuring ERPS over bridge-domains, ensure the following prerequisites are met:
Properly configure the bridge-domains and L2 sub-interfaces. For more details, refer Bridging Support Over Layer2 Sub Interface and Layer 2 Subinterface Configuration chapters in the Layer 2 Guide, Release 6.4.1.
Understand the network topology and ERPS requirements. For more details, refer G.8032 ERPS Version 2 chapter in the Carrier Ethernet Configuration Guide, Release 6.4.1.
Knowledge of CFM configuration if integrating CFM with ERPS. For more details, refer Carrier Ethernet Guide, Release 6.4.1.
Major Ring Configuration
The major ring is the primary ring in an ERPS configuration. It carries the traffic under normal operating conditions. When no failure occurs, traffic flows through the major ring.
Topology
Figure 1 illustrates a sample Ring Protection topology in which protection switching is configured using four bridges. The Ring Protection Link (RPL) owner is the link between Bridge 3 and Bridge 4 (xe16), with Bridge 4 explicitly defined as the RPL owner and Bridge 3 as the RPL neighbor on one side of the link. The other bridges are explicitly configured as RPL non-owners to enable Ethernet Ring Protection Switching (ERPS) within the ring.
 
 
Major Ring Topology
Prerequisite
In configuration mode, enable the following hardware-profile commands related to CFM and then reboot the nodes:
hardware-profile filter cfm-domain-name-str enable
hardware-profile statistics cfm-ccm enable
The following steps provide a detailed configuration of commands for setting up ERPS and CFM on Bridge1, Bridge2, Bridge3, and Bridge4 nodes. These commands enable the creation of rings, maintenance associations, Maintenance End Points (MEPs), and various parameters to ensure network reliability and protection against faults.
Bridge1
 
Bridge1#configure terminal
Enter configure mode.
Bridge1(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string.
Bridge1(config)#interface xe6
Enter interface mode xe6.
Bridge1(config-if)#dot1ad ethertype 0x88a8
Configure xe6 as a Layer 2 port with an Ethernet Type of 0x88a8.
Bridge1(config-if)#interface xe6.1 switchport
Create a Layer 2 sub-interface xe6.1 within the physical interface xe6.
Bridge1(config-if)encapsulation dot1ad 200
Encapsulate the sub-interface with APS-channel VLAN ID 200.
Bridge1(config-if)encapsulation dot1ad 700
Encapsulate the sub-interface with data VLAN ID 700.
Bridge1(config-if)#exit
Exit interface mode xe6.
Bridge1(config)#interface xe8
Enter interface mode xe8.
Bridge1(config-if)#dot1ad ethertype 0x88a8
Configure xe8 as a Layer 2 port with an Ethernet Type of 0x88a8.
Bridge1(config)#interface xe8.1 switchport
Create a Layer 2 sub-interface xe8.1 within the physical interface xe8.
Bridge1(config-if)encapsulation dot1ad 200
Encapsulate the sub-interface with APS-channel VLAN ID 200.
Bridge1(config-if)encapsulation dot1ad 700
Encapsulate the sub-interface with data VLAN ID 700.
Bridge1(config-if)#exit
Exit interface mode xe8.
Bridge1(config)#bridge-domain 1
Enter bridge domain configure mode and configure bridge domain instance 1.
Bridge1(config-bridge-domain)#interface xe6.1
Attach the sub-interface xe6.1 to the bridge domain instance.
Bridge1(config-bridge-domain)#interface xe8.1
Attach the sub-interface xe8.1 to the bridge domain instance.
Bridge1(config-bridge-domain)#exit
Exit bridge domain mode.
Bridge1(config)#ethernet cfm domain-type character-string domain-name P542 level 5
Create a CFM domain with character string type, name P542, and level 5.
Bridge1(config-ether-cfm)#service ma-type string ma-name ma542
Create a CFM Maintenance Association (MA) type as a string with the name ma542.
Bridge1(config-ether-cfm-ma)#vlan 200
Add VLAN 200 to the CFM MA.
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 542 active true xe8.1
Create a down MEP 542 for xe8.1 interface and activate it.
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable Continuity Check (CC) multicast for the MEP.
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge1(config-ether-cfm-ma)#mep crosscheck mpid 452
Configure crosscheck for the remote MEP with value 452.
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge1(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge1(config)#ethernet cfm domain-type character-string domain-name P522 level 5
Create a CFM domain with character string type, name P522, and level 5.
Bridge1(config-ether-cfm)#service ma-type string ma-name ma522
Create a CFM MA type as a string with the name ma522.
Bridge1(config-ether-cfm-ma)#vlan 200
Add VLAN 200 to the CFM MA.
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 522 active true xe6.1
Create a down MEP 522 for xe6.1 interface and activate it.
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enables CC multicast for the MEP.
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge1(config-ether-cfm-ma)#mep crosscheck mpid 252
Configure crosscheck for the remote MEP with value 252.
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge1(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge1(config)#g8032 ring RING1
Create a G.8032 ring named RING1.
Bridge1(g8032-ring-config)#east-interface xe8.1
Associate xe8.1 interface as the east interface in RING1.
Bridge1(g8032-ring-config)#west-interface xe6.1
Associate xe6.1 interface as the west interface in RING1.
Bridge1(g8032-ring-config)#g8032 profile profile1
Create a G.8032 profile named profile1.
Bridge1(g8032-profile-config)#timer wait-to-restore 1
Configure the wait-to-restore timer for 1 minute.
Bridge1(g8032-profile-config)#timer hold-off 0
Configure the hold-off timer with a value of 0.
Bridge1(g8032-profile-config)#timer guard-timer 10
Configure the guard timer with a value of 10 milliseconds.
Bridge1(g8032-profile-config)#switching mode revertive
Configure the switching mode as revertive.
Bridge1(g8032-profile-config)#exit
Exit profile configure mode and return to the ring configure mode.
Bridge1(g8032-ring-config)#exit
Exit ring configure mode and return to the configure mode.
Bridge1(config)#g8032 erp-instance erp1
Create a G.8032 Ethernet Ring Protection (ERP) instance named erp1.
Bridge1(g8032-config-switch)#ring-type major-ring
Configure the ring type as a major ring.
Bridge1(g8032-config-switch)#ring RING1
Associate RING1 with the ERP instance erp1.
Bridge1(g8032-config-switch)#rpl role non-owner
Configure the node as a non-owner node in the ring.
Bridge1(g8032-config-switch)#g8032-profile profile1
Associate profile1 with erp1 instance.
Bridge1(g8032-config-switch)#aps-channel level 7
Configure the R-APS channel level as 7.
Bridge1(g8032-config-switch)#aps-channel vlan 200
Configure the APS channel VLAN as 200.
Bridge1(g8032-config-switch)#ring-id 1
Configure the ring ID as 1.
Bridge1(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge1(g8032-config-switch)#end
Exit G.8032 configure mode.
Bridge2
 
Bridge2#configure terminal
Enter configure mode.
Bridge2(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string.
Bridge2(config)#interface xe3
Enter interface mode xe3.
Bridge2(config-if)#dot1ad ethertype 0x88a8
Configure xe6 as a Layer 2 port with an Ethernet Type of 0x88a8.
Bridge2(config-if)#interface xe3.1 switchport
Create a Layer 2 sub-interface xe3.1 within the physical interface xe3.
Bridge2(config-if)encapsulation dot1ad 200
Encapsulate the sub-interface with APS-channel VLAN ID 200.
Bridge2(config-if)encapsulation dot1ad 700
Encapsulate the sub-interface with data VLAN ID 700.
Bridge2(config-if)#exit
Exit interface mode xe6.
Bridge2(config)#interface xe8
Enter interface mode xe8.
Bridge2(config-if)#dot1ad ethertype 0x88a8
Configure xe8 as a Layer 2 port with an Ethernet Type of 0x88a8.
Bridge2(config)#interface xe8.1 switchport
Create a Layer 2 sub-interface xe8.1 within the physical interface xe8.
Bridge2(config-if)encapsulation dot1ad 200
Encapsulate the sub-interface with APS-channel VLAN ID 200.
Bridge2(config-if)encapsulation dot1ad 700
Encapsulate the sub-interface with data VLAN ID 700.
Bridge2(config-if)#exit
Exit interface mode xe8.
Bridge2(config)#bridge-domain 1
Enter bridge domain configure mode and configure bridge domain instance 1.
Bridge2(config-bridge-domain)#interface xe3.1
Attach the sub-interface xe3.1 to the bridge domain instance.
Bridge2(config-bridge-domain)#interface xe8.1
Attach the sub-interface xe8.1 to the bridge domain instance.
Bridge2(config-bridge-domain)#exit
Exit bridge domain mode.
Bridge2(config)#ethernet cfm domain-type character-string domain-name P542 level 5
Create a CFM domain with character string type, name P542, and level 5.
Bridge2(config-ether-cfm)#service ma-type string ma-name ma542
Create a CFM Maintenance Association (MA) type as a string with the name ma542.
Bridge2(config-ether-cfm-ma)#vlan 200
Add VLAN 200 to the CFM MA.
Bridge2(config-ether-cfm-ma)#ethernet cfm mep down mpid 452 active true xe8.1
Create a down MEP 452 for xe8.1 interface and activate it.
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enable Continuity Check (CC) multicast for the MEP.
Bridge2(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge2(config-ether-cfm-ma)#mep crosscheck mpid 542
Configure crosscheck for the remote MEP with value 542.
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge2(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge2(config)#ethernet cfm domain-type character-string domain-name P432 level 5
Create a CFM domain with character string type, name P432, and level 5.
Bridge2(config-ether-cfm)#service ma-type string ma-name ma432
Create a CFM MA type as a string with the name ma432.
Bridge2(config-ether-cfm-ma)#vlan 200
Add VLAN 200 to the CFM MA.
Bridge2(config-ether-cfm-ma)#ethernet cfm mep down mpid 432 active true xe3.1
Create a down MEP 432 for xe3.1 interface and activate it.
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enables CC multicast for the MEP.
Bridge2(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge2(config-ether-cfm-ma)#mep crosscheck mpid 532
Configure crosscheck for the remote MEP with value 532.
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge2(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge2(config)#g8032 ring RING1
Create a G.8032 ring named RING1.
Bridge2(g8032-ring-config)#east-interface xe3.1
Associate xe3.1 interface as the east interface in RING1.
Bridge2(g8032-ring-config)#west-interface xe8.1
Associate xe8.1 interface as the west interface in RING1.
Bridge2(g8032-ring-config)#g8032 profile profile1
Create a G.8032 profile named profile1.
Bridge2(g8032-profile-config)#timer wait-to-restore 1
Configure the wait-to-restore timer for 1 minute.
Bridge2(g8032-profile-config)#timer hold-off 0
Configure the hold-off timer with a value of 0.
Bridge2(g8032-profile-config)#timer guard-timer 10
Configure the guard timer with a value of 10 milliseconds.
Bridge2(g8032-profile-config)#switching mode revertive
Configure the switching mode as revertive.
Bridge2(g8032-profile-config)#exit
Exit profile configure mode and return to the ring configure mode.
Bridge2(g8032-ring-config)#exit
Exit ring configure mode and return to the configure mode.
Bridge2(config)#g8032 erp-instance erp1
Create a G.8032 Ethernet Ring Protection (ERP) instance named erp1.
Bridge2(g8032-config-switch)#ring-type major-ring
Configure the ring type as a major ring.
Bridge2(g8032-config-switch)#ring RING1
Associate RING1 with the ERP instance erp1.
Bridge2(g8032-config-switch)#rpl role non-owner
Configure the node as a non-owner node in the ring.
Bridge2(g8032-config-switch)#g8032-profile profile1
Associate profile1 with erp1 instance.
Bridge2(g8032-config-switch)#aps-channel level 7
Configure the R-APS channel level as 7.
Bridge2(g8032-config-switch)#aps-channel vlan 200
Configure the APS channel VLAN as 200.
Bridge2(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge2(g8032-config-switch)#end
Exit G.8032 configure mode.
Bridge3
 
Bridge3#configure terminal
Enter configure mode.
Bridge3(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string.
Bridge3(config)#interface xe3
Enter interface mode xe3.
Bridge3(config-if)#dot1ad ethertype 0x88a8
Configure xe6 as a Layer 2 port with an Ethernet Type of 0x88a8.
Bridge3(config-if)#interface xe3.1 switchport
Create a Layer 2 sub-interface xe3.1 within the physical interface xe3.
Bridge3(config-if)encapsulation dot1ad 200
Encapsulate the sub-interface with APS-channel VLAN ID 200.
Bridge3(config-if)encapsulation dot1ad 700
Encapsulate the sub-interface with data VLAN ID 700.
Bridge3(config-if)#exit
Exit interface mode xe3.
Bridge3(config)#interface xe16
Enter interface mode xe8.
Bridge3(config-if)#dot1ad ethertype 0x88a8
Configure xe16 as a Layer 2 port with an Ethernet Type of 0x88a8.
Bridge3(config)#interface xe16.1 switchport
Create a Layer 2 sub-interface xe16.1 within the physical interface xe16.
Bridge3(config-if)encapsulation dot1ad 200
Encapsulate the sub-interface with APS-channel VLAN ID 200.
Bridge3(config-if)encapsulation dot1ad 700
Encapsulate the sub-interface with data VLAN ID 700.
Bridge3(config-if)#exit
Exit interface mode xe16.
Bridge3(config)#bridge-domain 1
Enter bridge domain configure mode and configure bridge domain instance 1.
Bridge3(config-bridge-domain)#interface xe3.1
Attach the sub-interface xe3.1 to the bridge domain instance.
Bridge3(config-bridge-domain)#interface xe16.1
Attach the sub-interface xe16.1 to the bridge domain instance.
Bridge3(config-bridge-domain)#exit
Exit bridge domain mode.
Bridge3(config)#ethernet cfm domain-type character-string domain-name P542 level 5
Create a CFM domain with character string type, name P542, and level 5.
Bridge3(config-ether-cfm)#service ma-type string ma-name ma542
Create a CFM Maintenance Association (MA) type as a string with the name ma542.
Bridge3(config-ether-cfm-ma)#vlan 200
Add VLAN 200 to the CFM MA.
Bridge3(config-ether-cfm-ma)#ethernet cfm mep down mpid 452 active true xe16.1
Create a down MEP 452 for xe16.1 interface and activate it.
Bridge3(config-ether-cfm-ma-mep)#cc multicast state enable
Enable Continuity Check (CC) multicast for the MEP.
Bridge3(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge3(config-ether-cfm-ma)#mep crosscheck mpid 542
Configure crosscheck for the remote MEP with value 542.
Bridge3(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge3(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge3(config)#ethernet cfm domain-type character-string domain-name P432 level 5
Create a CFM domain with character string type, name P432, and level 5.
Bridge3(config-ether-cfm)#service ma-type string ma-name ma432
Create a CFM MA type as a string with the name ma432.
Bridge3(config-ether-cfm-ma)#vlan 200
Add VLAN 200 to the CFM MA.
Bridge3(config-ether-cfm-ma)#ethernet cfm mep down mpid 342 active true xe3.1
Create a down MEP 342 for xe3.1 interface and activate it.
Bridge3(config-ether-cfm-ma-mep)#cc multicast state enable
Enables CC multicast for the MEP.
Bridge3(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge3(config-ether-cfm-ma)#mep crosscheck mpid 432
Configure crosscheck for the remote MEP with value 432.
Bridge3(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge3(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge3(config)#g8032 ring RING1
Create a G.8032 ring named RING1.
Bridge3(g8032-ring-config)#east-interface xe16.1
Associate xe16.1 interface as the east interface in RING1.
Bridge3(g8032-ring-config)#west-interface xe3.1
Associate xe3.1 interface as the west interface in RING1.
Bridge3(g8032-ring-config)#g8032 profile profile1
Create a G.8032 profile named profile1.
Bridge3(g8032-profile-config)#timer wait-to-restore 1
Configure the wait-to-restore timer for 1 minute.
Bridge3(g8032-profile-config)#timer hold-off 0
Configure the hold-off timer with a value of 0.
Bridge3(g8032-profile-config)#timer guard-timer 10
Configure the guard timer with a value of 10 milliseconds.
Bridge3(g8032-profile-config)#switching mode revertive
Configure the switching mode as revertive.
Bridge3(g8032-profile-config)#exit
Exit profile configure mode and return to the ring configure mode.
Bridge3(g8032-ring-config)#exit
Exit ring configure mode and return to the configure mode.
Bridge3(config)#g8032 erp-instance erp1
Create a G.8032 Ethernet Ring Protection (ERP) instance named erp1.
Bridge3(g8032-config-switch)#ring-type major-ring
Configure the ring type as a major ring.
Bridge3(g8032-config-switch)#ring RING1
Associate RING1 with the ERP instance erp1.
Bridge3(g8032-config-switch)#rpl role neighbor east-interface
Configure the node as the neighbor node for the ERPS ring and designate the east interface as the owner node in the ring.
Bridge3(g8032-config-switch)#g8032-profile profile1
Associate profile1 with erp1 instance.
Bridge3(g8032-config-switch)#aps-channel level 7
Configure the R-APS channel level as 7.
Bridge3(g8032-config-switch)#aps-channel vlan 200
Configure the APS channel VLAN as 200.
Bridge3(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge3(g8032-config-switch)#end
Exit G.8032 configure mode.
Bridge4
 
Bridge4#configure terminal
Enter configure mode.
Bridge4(config)#hardware-profile filter cfm-domain-name-str enable
Enable CFM domain name as string.
Bridge4(config)#interface xe6
Enter interface mode xe6.
Bridge4(config-if)#dot1ad ethertype 0x88a8
Configure xe6 as a Layer 2 port with an Ethernet Type of 0x88a8.
Bridge4(config-if)#interface xe6.1 switchport
Create a Layer 2 sub-interface xe6.1 within the physical interface xe6.
Bridge4(config-if)encapsulation dot1ad 200
Encapsulate the sub-interface with APS-channel VLAN ID 200.
Bridge4(config-if)encapsulation dot1ad 700
Encapsulate the sub-interface with data VLAN ID 700.
Bridge4(config-if)#exit
Exit interface mode xe6.
Bridge4(config)#interface xe16
Enter interface mode xe8.
Bridge4(config-if)#dot1ad ethertype 0x88a8
Configure xe16 as a Layer 2 port with an Ethernet Type of 0x88a8.
Bridge4(config)#interface xe16.1 switchport
Create a Layer 2 sub-interface xe16.1 within the physical interface xe16.
Bridge4(config-if)encapsulation dot1ad 200
Encapsulate the sub-interface with APS-channel VLAN ID 200.
Bridge4(config-if)encapsulation dot1ad 700
Encapsulate the sub-interface with data VLAN ID 700.
Bridge4(config-if)#exit
Exit interface mode xe16.
Bridge4(config)#bridge-domain 1
Enter bridge domain configure mode and configure bridge domain instance 1.
Bridge4(config-bridge-domain)#interface xe6.1
Attach the sub-interface xe6.1 to the bridge domain instance.
Bridge4(config-bridge-domain)#interface xe16.1
Attach the sub-interface xe16.1 to the bridge domain instance.
Bridge4(config-bridge-domain)#exit
Exit bridge domain mode.
Bridge4(config)#ethernet cfm domain-type character-string domain-name P522 level 5
Create a CFM domain with character string type, name P522, and level 5.
Bridge4(config-ether-cfm)#service ma-type string ma-name ma522
Create a CFM Maintenance Association (MA) type as a string with the name ma522.
Bridge4(config-ether-cfm-ma)#vlan 200
Add VLAN 200 to the CFM MA.
Bridge4(config-ether-cfm-ma)#ethernet cfm mep down mpid 452 active true xe16.1
Create a down MEP 452 for xe16.1 interface and activate it.
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enable Continuity Check (CC) multicast for the MEP.
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 542
Configure crosscheck for the remote MEP with value 542.
Bridge4(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge4(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge4(config)#ethernet cfm domain-type character-string domain-name P522 level 5
Create a CFM domain with character string type, name P522, and level 5.
Bridge4(config-ether-cfm)#service ma-type string ma-name ma522
Create a CFM MA type as a string with the name ma522.
Bridge4(config-ether-cfm-ma)#vlan 200
Add VLAN 200 to the CFM MA.
Bridge4(config-ether-cfm-ma)#ethernet cfm mep down mpid 252 active true xe6.1
Create a down MEP 252 for xe6.1 interface and activate it.
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enables CC multicast for the MEP.
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 522
Configure crosscheck for the remote MEP with value 522.
Bridge4(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge4(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge4(config)#g8032 ring RING1
Create a G.8032 ring named RING1.
Bridge4(g8032-ring-config)#east-interface xe6.1
Associate xe6.1 interface as the east interface in RING1.
Bridge4(g8032-ring-config)#west-interface xe16.1
Associate xe16.1 interface as the west interface in RING1.
Bridge4(g8032-ring-config)#g8032 profile profile1
Create a G.8032 profile named profile1.
Bridge4(g8032-profile-config)#timer wait-to-restore 1
Configure the wait-to-restore timer for 1 minute.
Bridge4(g8032-profile-config)#timer hold-off 0
Configure the hold-off timer with a value of 0.
Bridge4(g8032-profile-config)#timer guard-timer 10
Configure the guard timer with a value of 10 milliseconds.
Bridge4(g8032-profile-config)#switching mode revertive
Configure the switching mode as revertive.
Bridge4(g8032-profile-config)#exit
Exit profile configure mode and return to the ring configure mode.
Bridge4(g8032-ring-config)#exit
Exit ring configure mode and return to the configure mode.
Bridge4(config)#g8032 erp-instance erp1
Create a G.8032 Ethernet Ring Protection (ERP) instance named erp1.
Bridge4(g8032-config-switch)#ring-type major-ring
Configure the ring type as a major ring.
Bridge4(g8032-config-switch)#ring RING1
Associate RING1 with the ERP instance erp1.
Bridge4(g8032-config-switch)#rpl role owner west-interface
Configure the node as the owner node for the ERPS ring and designate the west interface as the neighbor node in the ring.
Bridge4(g8032-config-switch)#g8032-profile profile1
Associate profile1 with erp1 instance.
Bridge4(g8032-config-switch)#aps-channel level 7
Configure the R-APS channel level as 7.
Bridge4(g8032-config-switch)#aps-channel vlan 200
Configure the APS channel VLAN as 200.
Bridge4(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge4(g8032-config-switch)#end
Exit G.8032 configure mode.
Validation
The following details provide validation for the G.8032 ERPS configuration on Bridge1, Bridge2, Bridge3, and Bridge4.
Bridge1
Bridge1#show g8032 erp-instance
Instance ID State East state West state Ring
---------------------------------------------------------------------------------------------
erp1 1 IDLE xe8.1 Unblocked xe6.1 Unblocked ring1
 
Bridge1#show g8032 erp-instance data-traffic
Instance ID Data-vlan East West Ring
------------------------------------------------------------------------------------------
erp1 1 bridge_domain 1 xe8.100 (F) xe6.1 (F) ring1
 
Bridge1#show g8032 erp-instance erp1
Inst Name : erp1 (1), node-id e8:c5:7a:a8:7c:b6, Profile (1)
Description :
Ring : MAJOR-RING (ring1), NON-OWNER,
Attached (erp3,),tcn_propagation (0)
 
State : G8032_ST_IDLE
 
East : xe8.1, Unblocked, UP , BPR (-), remote (-)
West : xe6.1, Unblocked, UP , BPR (0), remote (b8:6a:97:25:a7:d4)
 
East (cfm) : mep_id (542), cc-interval (1s), Domain (P5P42), MA (ma542)
West (cfm) : mep_id (522), cc-interval (1s), Domain (P5P22), MA (ma522)
 
Channel : Level (5), vlan (200), RING_ID (1)
Bridge2
Bridge2#show g8032 erp-instance
Instance ID State East state West state Ring
---------------------------------------------------------------------------------------------
erp1 1 IDLE xe3.1 Unblocked xe8.1 Unblocked ring1
 
Bridge2#show g8032 erp-instance erp1
Inst Name : erp1 (1), node-id e4:9d:73:b1:c3:05, Profile (1)
Description :
Ring : MAJOR-RING (ring1), NON-OWNER,
 
State : G8032_ST_IDLE
 
East : xe3.1, Unblocked, UP , BPR (-), remote (-)
West : xe8.1, Unblocked, UP , BPR (0), remote (b8:6a:97:25:a7:d4)
 
East (cfm) : mep_id (432), cc-interval (1s), Domain (P4P32), MA (ma432)
West (cfm) : mep_id (452), cc-interval (1s), Domain (P5P42), MA (ma542)
 
Channel : Level (5), vlan (200), RING_ID (1)
 
Bridge2#show g8032 erp-instance data-traffic
Instance ID Data-vlan East West Ring
------------------------------------------------------------------------------------------
erp1 1 bridge_domain 1 xe3.1 (F) xe8.1 (F) ring1
 
Bridge3
Bridge3#show g8032 erp-instance erp1
Inst Name : erp1 (1), node-id 00:e0:4b:71:f1:26, Profile (1)
Description :
Ring : MAJOR-RING (ring1), NEIGHBOR (EAST),
 
State : G8032_ST_IDLE
 
East : xe16.1, Blocked , UP , BPR (0), remote (b8:6a:97:25:a7:d4)
West : xe3.1, Unblocked, UP , BPR (0), remote (b8:6a:97:25:a7:d4)
 
East (cfm) : mep_id (322), cc-interval (1s), Domain (P3P22), MA (ma322)
West (cfm) : mep_id (342), cc-interval (1s), Domain (P4P32), MA (ma432)
 
Channel : Level (5), vlan (200), RING_ID (1)
 
Bridge3#show g8032 erp-instance
Instance ID State East state West state Ring
---------------------------------------------------------------------------------------------
erp1 1 IDLE xe16.1 (N) Blocked xe3.1 Unblocked ring1
 
Bridge3#show g8032 erp-instance data-traffic
Instance ID Data-vlan East West Ring
------------------------------------------------------------------------------------------
erp1 1 bridge_domain 1 xe16.1 (B) xe3.1 (F) ring1
Bridge4
Bridge4#show g8032 erp-instance
Instance ID State East state West state Ring
---------------------------------------------------------------------------------------------
erp1 1 IDLE xe6.1 Unblocked xe16.1 (O) Blocked ring1
 
Bridge4#show g8032 erp-instance erp1
Inst Name : erp1 (1), node-id b8:6a:97:25:a7:d4, Profile (1)
Description :
Ring : MAJOR-RING (ring1), OWNER (WEST),
Attached (erp3,),tcn_propagation (0)
 
State : G8032_ST_IDLE
 
East : xe6.1, Unblocked, UP , BPR (-), remote (-)
West : xe16.1, Blocked , UP , BPR (-), remote (-)
 
East (cfm) : mep_id (252), cc-interval (1s), Domain (P5P22), MA (ma522)
West (cfm) : mep_id (223), cc-interval (1s), Domain (P3P22), MA (ma322)
 
Channel : Level (5), vlan (200), RING_ID (1)
 
Bridge4#show g8032 erp-instance data-traffic
Instance ID Data-vlan East West Ring
------------------------------------------------------------------------------------------
erp1 1 bridge_domain 1 xe6.1 (F) xe16.1 (B) ring1
Associate Ring Configuration
The associate-ring is a newly introduced command for supporting ERPS within a bridge-domain. This command is used when there is a need to establish a single ERPS instance that can manage multiple rings. It is essential that all rings associated with the associate-ring share the same parent interface as the primary ring linked to the ERPS instance. For more details, refer to the associate-ring command section.
Prerequisite
Before using the associate-ring command, it is necessary to configure the major ring for Bridge1, Bridge2, Bridge3, and Bridge4 as described in the Major Ring Configuration section.
Bridge1
 
Bridge1#configure terminal
Enter configure mode.
Bridge1(config)#interface xe6.2 switchport
Create a Layer 2 sub-interface xe6.2 for the physical interface xe6.
Bridge1(config-if)encapsulation dot1ad 2003
Encapsulate the sub-interface with APS-channel VLAN ID 2003.
Bridge1(config-if)encapsulation dot1ad 800
Encapsulate the sub-interface with data VLAN ID 800.
Bridge1(config-if)#exit
Exit interface mode xe6.2.
Bridge1(config)#interface xe8.2 switchport
Create a Layer 2 sub-interface xe8.2 for the physical interface xe8.
Bridge1(config-if)encapsulation dot1ad 2003
Encapsulate the sub-interface with APS-channel VLAN ID 2003.
Bridge1(config-if)encapsulation dot1ad 800
Encapsulate the sub-interface with data VLAN ID 800.
Bridge1(config-if)#exit
Exit interface mode xe8.2.
Bridge1(config)#bridge-domain 2
Enter bridge domain configure mode and configure bridge domain instance 2.
Bridge1(config-bridge-domain)#interface xe6.2
Attach the sub-interface xe6.2 to the bridge domain instance.
Bridge1(config-bridge-domain)#interface xe8.2
Attach the sub-interface xe8.2 to the bridge domain instance.
Bridge1(config-bridge-domain)#exit
Exit bridge domain mode.
Bridge1(config)#ethernet cfm domain-type character-string domain-name P543 level 5
Create a CFM domain with character string type, name P543, and level 5.
Bridge1(config-ether-cfm)#service ma-type string ma-name ma543
Create a CFM Maintenance Association (MA) type as a string with the name ma543.
Bridge1(config-ether-cfm-ma)#vlan 2003
Add VLAN 2003 to the CFM MA.
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 543 active true xe8.2
Create a down MEP 543 for xe8.2 interface and activate it.
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable Continuity Check (CC) multicast for the MEP.
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge1(config-ether-cfm-ma)#mep crosscheck mpid 453
Configure crosscheck for the remote MEP with value 453.
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge1(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge1(config)#ethernet cfm domain-type character-string domain-name P523 level 5
Create a CFM domain with character string type, name P523, and level 5.
Bridge1(config-ether-cfm)#service ma-type string ma-name ma523
Create a CFM MA type as a string with the name ma523.
Bridge1(config-ether-cfm-ma)#vlan 2003
Add VLAN 2003 to the CFM MA.
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 523 active true xe6.2
Create a down MEP 523 for xe6.2 interface and activate it.
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enables CC multicast for the MEP.
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge1(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge1(config)#g8032 ring RING2
Create a G.8032 ring named RING2.
Bridge1(g8032-ring-config)#east-interface xe8.2
Associate xe8.2 interface as the east interface in RING2.
Bridge1(g8032-ring-config)#west-interface xe6.2
Associate xe6.2 interface as the west interface in RING2.
Bridge1(g8032-ring-config)#exit
Exit ring configure mode and return to the configure mode.
Bridge1(config)#g8032 erp-instance erp1
Create a G.8032 Ethernet Ring Protection (ERP) instance named erp1.
Bridge1(g8032-config-switch)#associate-ring RING2
Map the associate ring named RING2 to the ERPS instance erp1.
Bridge1(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge1(g8032-config-switch)#end
Exit G.8032 configure mode.
Bridge2
 
Bridge2#configure terminal
Enter configure mode.
Bridge2(config)#interface xe3.2 switchport
Create a Layer 2 sub-interface xe3.2 for the physical interface xe3.
Bridge2(config-if)encapsulation dot1ad 2003
Encapsulate the sub-interface with APS-channel VLAN ID 2003.
Bridge2(config-if)encapsulation dot1ad 800
Encapsulate the sub-interface with data VLAN ID 800.
Bridge2(config-if)#exit
Exit interface mode xe3.2.
Bridge2(config)#interface xe8.2 switchport
Create a Layer 2 sub-interface xe8.2 for the physical interface xe8.
Bridge2(config-if)encapsulation dot1ad 2003
Encapsulate the sub-interface with APS-channel VLAN ID 2003.
Bridge2(config-if)encapsulation dot1ad 800
Encapsulate the sub-interface with data VLAN ID 800.
Bridge2(config-if)#exit
Exit interface mode xe8.2.
Bridge2(config)#bridge-domain 2
Enter bridge domain configure mode and configure bridge domain instance 2.
Bridge2(config-bridge-domain)#interface xe3.2
Attach the sub-interface xe3.2 to the bridge domain instance.
Bridge2(config-bridge-domain)#interface xe8.2
Attach the sub-interface xe8.2 to the bridge domain instance.
Bridge2(config-bridge-domain)#exit
Exit bridge domain mode.
Bridge2(config)#ethernet cfm domain-type character-string domain-name P543 level 5
Create a CFM domain with character string type, name P543, and level 5.
Bridge2(config-ether-cfm)#service ma-type string ma-name ma543
Create a CFM Maintenance Association (MA) type as a string with the name ma543.
Bridge2(config-ether-cfm-ma)#vlan 2003
Add VLAN 2003 to the CFM MA.
Bridge2(config-ether-cfm-ma)#ethernet cfm mep down mpid 453 active true xe8.2
Create a down MEP 453 for xe8.2 interface and activate it.
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enable Continuity Check (CC) multicast for the MEP.
Bridge2(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge2(config-ether-cfm-ma)#mep crosscheck mpid 543
Configure crosscheck for the remote MEP with value 543.
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge2(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge2(config)#ethernet cfm domain-type character-string domain-name P433 level 5
Create a CFM domain with character string type, name P433, and level 5.
Bridge2(config-ether-cfm)#service ma-type string ma-name ma433
Create a CFM MA type as a string with the name ma433.
Bridge2(config-ether-cfm-ma)#vlan 2003
Add VLAN 2003 to the CFM MA.
Bridge2(config-ether-cfm-ma)#ethernet cfm mep down mpid 433 active true xe3.2
Create a down MEP 433 for xe3.2 interface and activate it.
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enables CC multicast for the MEP.
Bridge2(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge2(config-ether-cfm-ma)#mep crosscheck mpid 533
Configure crosscheck for the remote MEP with value 533.
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge2(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge2(config)#g8032 ring RING2
Create a G.8032 ring named RING2.
Bridge2(g8032-ring-config)#east-interface xe3.2
Associate xe3.2 interface as the east interface in RING2.
Bridge2(g8032-ring-config)#west-interface xe8.2
Associate xe8.2 interface as the west interface in RING2.
Bridge2(g8032-ring-config)#exit
Exit ring configure mode and return to the configure mode.
Bridge2(config)#g8032 erp-instance erp1
Create a G.8032 Ethernet Ring Protection (ERP) instance named erp1.
Bridge2(g8032-config-switch)#associate-ring RING2
Map the associate ring named RING2 to the ERPS instance erp1.
Bridge2(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge2(g8032-config-switch)#end
Exit G.8032 configure mode.
Bridge3
 
Bridge3#configure terminal
Enter configure mode.
Bridge3(config)#interface xe3.2 switchport
Create a Layer 2 sub-interface xe3.2 for the physical interface xe3.
Bridge3(config-if)encapsulation dot1ad 2003
Encapsulate the sub-interface with APS-channel VLAN ID 2003.
Bridge3(config-if)encapsulation dot1ad 800
Encapsulate the sub-interface with data VLAN ID 800.
Bridge3(config-if)#exit
Exit interface mode xe3.2.
Bridge3(config)#interface xe16.2 switchport
Create a Layer 2 sub-interface xe16.2 for the physical interface xe16.
Bridge3(config-if)encapsulation dot1ad 2003
Encapsulate the sub-interface with APS-channel VLAN ID 2003.
Bridge3(config-if)encapsulation dot1ad 800
Encapsulate the sub-interface with data VLAN ID 800.
Bridge3(config-if)#exit
Exit interface mode xe16.2.
Bridge3(config)#bridge-domain 2
Enter bridge domain configure mode and configure bridge domain instance 2.
Bridge3(config-bridge-domain)#interface xe3.2
Attach the sub-interface xe3.2 to the bridge domain instance.
Bridge3(config-bridge-domain)#interface xe16.2
Attach the sub-interface xe16.2 to the bridge domain instance.
Bridge3(config-bridge-domain)#exit
Exit bridge domain mode.
Bridge3(config)#ethernet cfm domain-type character-string domain-name P433 level 5
Create a CFM domain with character string type, name P433, and level 5.
Bridge3(config-ether-cfm)#service ma-type string ma-name ma433
Create a CFM Maintenance Association (MA) type as a string with the name ma433.
Bridge3(config-ether-cfm-ma)#vlan 2003
Add VLAN 2003 to the CFM MA.
Bridge3(config-ether-cfm-ma)#ethernet cfm mep down mpid 343 active true xe16.2
Create a down MEP 343 for xe16.2 interface and activate it.
Bridge3(config-ether-cfm-ma-mep)#cc multicast state enable
Enable Continuity Check (CC) multicast for the MEP.
Bridge3(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge3(config-ether-cfm-ma)#mep crosscheck mpid 433
Configure crosscheck for the remote MEP with value 433.
Bridge3(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge3(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge3(config)#ethernet cfm domain-type character-string domain-name P323 level 5
Create a CFM domain with character string type, name P323, and level 5.
Bridge3(config-ether-cfm)#service ma-type string ma-name ma323
Create a CFM MA type as a string with the name ma323.
Bridge3(config-ether-cfm-ma)#vlan 2003
Add VLAN 2003 to the CFM MA.
Bridge3(config-ether-cfm-ma)#ethernet cfm mep down mpid 323 active true xe3.2
Create a down MEP 323 for xe3.2 interface and activate it.
Bridge3(config-ether-cfm-ma-mep)#cc multicast state enable
Enables CC multicast for the MEP.
Bridge3(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge3(config-ether-cfm-ma)#mep crosscheck mpid 233
Configure crosscheck for the remote MEP with value 233.
Bridge3(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge3(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge3(config)#g8032 ring RING2
Create a G.8032 ring named RING2.
Bridge3(g8032-ring-config)#east-interface xe16.2
Associate xe16.2 interface as the east interface in RING2.
Bridge3(g8032-ring-config)#west-interface xe3.2
Associate xe3.2 interface as the west interface in RING2.
Bridge3(g8032-ring-config)#exit
Exit ring configure mode and return to the configure mode.
Bridge3(config)#g8032 erp-instance erp1
Create a G.8032 Ethernet Ring Protection (ERP) instance named erp1.
Bridge3(g8032-config-switch)#associate-ring RING2
Map the associate ring named RING2 to the ERPS instance erp1.
Bridge3(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge3(g8032-config-switch)#end
Exit G.8032 configure mode.
Bridge4
 
Bridge4#configure terminal
Enter configure mode.
Bridge4(config)#interface xe6.2 switchport
Create a Layer 2 sub-interface xe6.2 for the physical interface xe6.
Bridge4(config-if)encapsulation dot1ad 2003
Encapsulate the sub-interface with APS-channel VLAN ID 2003.
Bridge4(config-if)encapsulation dot1ad 800
Encapsulate the sub-interface with data VLAN ID 800.
Bridge4(config-if)#exit
Exit interface mode xe6.2.
Bridge4(config)#interface xe16.2 switchport
Create a Layer 2 sub-interface xe16.2 for the physical interface xe16.
Bridge4(config-if)encapsulation dot1ad 2003
Encapsulate the sub-interface with APS-channel VLAN ID 2003.
Bridge4(config-if)encapsulation dot1ad 800
Encapsulate the sub-interface with data VLAN ID 800.
Bridge4(config-if)#exit
Exit interface mode xe16.2.
Bridge4(config)#bridge-domain 2
Enter bridge domain configure mode and configure bridge domain instance 2.
Bridge4(config-bridge-domain)#interface xe6.2
Attach the sub-interface xe6.2 to the bridge domain instance.
Bridge4(config-bridge-domain)#interface xe16.2
Attach the sub-interface xe16.2 to the bridge domain instance.
Bridge4(config-bridge-domain)#exit
Exit bridge domain mode.
Bridge4(config)#ethernet cfm domain-type character-string domain-name P523 level 5
Create a CFM domain with character string type, name P523, and level 5.
Bridge4(config-ether-cfm)#service ma-type string ma-name ma523
Create a CFM Maintenance Association (MA) type as a string with the name ma523.
Bridge4(config-ether-cfm-ma)#vlan 2003
Add VLAN 2003 to the CFM MA.
Bridge4(config-ether-cfm-ma)#ethernet cfm mep down mpid 253 active true xe6.2
Create a down MEP 253 for xe6.2 interface and activate it.
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enable Continuity Check (CC) multicast for the MEP.
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 523
Configure crosscheck for the remote MEP with value 523.
Bridge4(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge4(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge4(config)#ethernet cfm domain-type character-string domain-name P323 level 5
Create a CFM domain with character string type, name P323, and level 5.
Bridge4(config-ether-cfm)#service ma-type string ma-name ma323
Create a CFM MA type as a string with the name ma323.
Bridge4(config-ether-cfm-ma)#vlan 2003
Add VLAN 2003 to the CFM MA.
Bridge4(config-ether-cfm-ma)#ethernet cfm mep down mpid 233 active true xe16.2
Create a down MEP 233 for xe16.2 interface and activate it.
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enables CC multicast for the MEP.
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 323
Configure crosscheck for the remote MEP with value 323.
Bridge4(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge4(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge4(config)#g8032 ring RING2
Create a G.8032 ring named RING2.
Bridge4(g8032-ring-config)#east-interface xe6.2
Associate xe6.2 interface as the east interface in RING2.
Bridge4(g8032-ring-config)#west-interface xe16.2
Associate xe16.2 interface as the west interface in RING2.
Bridge4(g8032-ring-config)#exit
Exit ring configure mode and return to the configure mode.
Bridge4(config)#g8032 erp-instance erp1
Create a G.8032 Ethernet Ring Protection (ERP) instance named erp1.
Bridge4(g8032-config-switch)#associate-ring RING2
Map the associate ring named RING2 to the ERPS instance erp1.
Bridge4(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge4(g8032-config-switch)#end
Exit G.8032 configure mode.
Validation
The following validation output displays data traffic details for ERP instances and provides details for the specified ERP instance using the show g8032 erp-instance data-traffic command on Bridge1, Bridge2, Bridge3, and Bridge4.
Bridge1#show g8032 erp-instance data-traffic
Instance ID Data-vlan East West Ring
---------------------------------------------------------------------------------------
erp1 1 bridge_domain 1 xe8.1 (F) xe25.1 (F) ring1
bridge_domain 2 xe8.2 xe25.2 ring2
Bridge2#show g8032 erp-instance data-traffic
Instance ID Data-vlan East West Ring
---------------------------------------------------------------------------------------
erp1 1 bridge_domain 1 xe3.1 (F) xe82.1 (F) ring1
bridge_domain 2 xe3.2 xe8.2 ring2
 
Bridge3#show g8032 erp-instance data-traffic
Instance ID Data-vlan East West Ring
---------------------------------------------------------------------------------------
erp1 1 bridge_domain 1 xe16.1 (B) xe3.1 (F) ring1
bridge_domain 2 xe16.2 xe3.2 ring2
 
Bridge4#show g8032 erp-instance data-traffic
Instance ID Data-vlan East West Ring
---------------------------------------------------------------------------------------
erp1 1 bridge_domain 1 xe16.1 (F) xe16.1 (B) ring1
bridge_domain 2 xe16.2 xe6.2 ring2
Sub-ring with Virtual Channel Configuration
An Ethernet ring connects to a Major Ring at the interconnection nodes. The Sub-Ring, by itself, does not constitute a closed ring. It connects to the interconnection nodes on only one port, which is configured as the east-interface.
Topology
Figure 2 displays a sample Ring Protection topology with five bridges, consisting of one major ring (Bridge1, Bridge2, Bridge3, and Bridge4) and one sub-ring (Bridge5, Bridge1, and Bridge2). In the major ring, the RPL is enabled between Bridge 3 (owner node) and Bridge 4 (neighbor node) on the xe16 interface, while other devices are non-owner nodes for that ring. In the sub-ring, the RPL is enabled between Bridge 5 (neighbor node) and Bridge 4 (owner node) on link xe7, with other devices as non-owner nodes. A virtual channel is enabled for this Sub-Ring on interconnected nodes on VLAN 100, and TCN propagation is also enabled.
 
Sub-ring with Virtual Channel
Prerequisite
Before configuring the sub-ring with virtual channel, it is necessary to configure the major ring for Bridge1, Bridge2, Bridge3, and Bridge4 as described in the Major Ring Configuration section.
Bridge5
 
Bridge5#configure terminal
Enter configure mode.
Bridge5(config)#interface xe2
Enter interface mode xe2.
Bridge5(config-if)#dot1ad ethertype 0x88a8
Configure xe2 as a Layer 2 port with an Ethernet Type of 0x88a8.
Bridge5(config-if)#interface xe2.1 switchport
Create a Layer 2 sub-interface xe2.1 within the physical interface xe2.
Bridge5(config-if)encapsulation dot1ad 200
Encapsulate the sub-interface with APS-channel VLAN ID 200.
Bridge5(config-if)encapsulation dot1ad 600
Encapsulate the sub-interface with data VLAN ID 600.
Bridge5(config-if)#exit
Exit interface mode xe2.
Bridge5(config)#interface xe20
Enter interface mode xe20.
Bridge5(config-if)#dot1ad ethertype 0x88a8
Configure xe20 as a Layer 2 port with an Ethernet Type of 0x88a8.
Bridge5(config)#interface xe20.1 switchport
Create a Layer 2 sub-interface xe20.1 within the physical interface xe20.
Bridge5(config-if)encapsulation dot1ad 200
Encapsulate the sub-interface with APS-channel VLAN ID 200.
Bridge5(config-if)encapsulation dot1ad 600
Encapsulate the sub-interface with data VLAN ID 600.
Bridge5(config-if)#exit
Exit interface mode xe20.
Bridge5(config)#bridge-domain 1
Enter bridge domain configure mode and configure bridge domain instance 1.
Bridge5(config-bridge-domain)#interface xe2.1
Attach the sub-interface xe2.1 to the bridge domain instance.
Bridge5(config-bridge-domain)#interface xe20.1
Attach the sub-interface xe20.1 to the bridge domain instance.
Bridge5(config-bridge-domain)#exit
Exit bridge domain mode.
Bridge5(config)#ethernet cfm domain-type character-string domain-name P271 level 5
Create a CFM domain with character string type, name P271, and level 5.
Bridge5(config-ether-cfm)#service ma-type string ma-name ma8
Create a CFM Maintenance Association (MA) type as a string with the name ma8.
Bridge5(config-ether-cfm-ma)#vlan 200
Add VLAN 200 to the CFM MA.
Bridge5(config-ether-cfm-ma)#ethernet cfm mep down mpid 801 active true xe2.1
Create a down MEP 801 for xe2.1 interface and activate it.
Bridge5(config-ether-cfm-ma-mep)#cc multicast state enable
Enable Continuity Check (CC) multicast for the MEP.
Bridge5(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge5(config-ether-cfm-ma)#mep crosscheck mpid 800
Configure crosscheck for the remote MEP with value 800.
Bridge5(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge5(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge5(config)#ethernet cfm domain-type character-string domain-name P571 level 5
Create a CFM domain with character string type, name P571, and level 5.
Bridge5(config-ether-cfm)#service ma-type string ma-name ma7
Create a CFM MA type as a string with the name ma7.
Bridge5(config-ether-cfm-ma)#vlan 200
Add VLAN 200 to the CFM MA.
Bridge5(config-ether-cfm-ma)#ethernet cfm mep down mpid 905 active true xe20.1
Create a down MEP 905 for xe20.1 interface and activate it.
Bridge5(config-ether-cfm-ma-mep)#cc multicast state enable
Enables CC multicast for the MEP.
Bridge5(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge5(config-ether-cfm-ma)#mep crosscheck mpid 906
Configure crosscheck for the remote MEP with value 906.
Bridge5(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge5(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge5(config)#g8032 ring subring2
Create a G.8032 ring named subring2.
Bridge5(g8032-ring-config)#east-interface xe2.1
Associate xe2.1 interface as the east interface in subring2.
Bridge5(g8032-ring-config)#west-interface xe20.1
Associate xe20.1 interface as the west interface in subring2.
Bridge5(g8032-ring-config)#g8032 profile profile1
Create a G.8032 profile named profile1.
Bridge5(g8032-profile-config)#timer wait-to-restore 2
Configure the wait-to-restore timer for 2 minute.
Bridge5(g8032-profile-config)#timer hold-off 200
Configure the hold-off timer with a value of 200.
Bridge5(g8032-profile-config)#timer guard-timer 20
Configure the guard timer with a value of 20 milliseconds.
Bridge5(g8032-profile-config)#switching mode revertive
Configure the switching mode as revertive.
Bridge5(g8032-profile-config)#exit
Exit profile configure mode and return to the ring configure mode.
Bridge5(g8032-ring-config)#exit
Exit ring configure mode and return to the configure mode.
Bridge5(config)#g8032 erp-instance erp2
Create a G.8032 Ethernet Ring Protection (ERP) instance named erp2.
Bridge5(g8032-config-switch)#ring-type sub-ring-vc
Configure the ring type as a sub-ring-vc.
Bridge5(g8032-config-switch)#ring subring2
Associate subring2 with the ERP instance erp2.
Bridge5(g8032-config-switch)#rpl role neighbor east-interface
Configure the node as the neighbor node for the specified ERPS ring and designate the east interface as the owner node in the ring.
Bridge5(g8032-config-switch)#g8032-profile profile1
Associate profile1 with erp2 instance.
Bridge5(g8032-config-switch)#aps-channel level 5
Configure the R-APS channel level as 5.
Bridge5(g8032-config-switch)#aps-channel vlan 200
Configure the APS channel VLAN as 200.
Bridge5(g8032-config-switch)#ring-id 3
Configure the ring ID as 3.
Bridge5(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge5(g8032-config-switch)#end
Exit G.8032 configure mode.
Bridge1
 
Bridge1#configure terminal
Enter configure mode.
Bridge1(config)#interface xe20
Enter interface mode xe20.
Bridge1(config-if)#dot1ad ethertype 0x88a8
Configure xe20 as a Layer 2 port with an Ethernet Type of 0x88a8.
Bridge1(config-if)#interface xe20.1 switchport
Create a Layer 2 sub-interface xe20.1 within the physical interface xe20.
Bridge1(config-if)encapsulation dot1ad 200
Encapsulate the sub-interface with APS-channel VLAN ID 200.
Bridge1(config-if)encapsulation dot1ad 600
Encapsulate the sub-interface with data VLAN ID 600.
Bridge1(config-if)#exit
Exit interface mode xe20.
Bridge1(config)#bridge-domain 1
Enter bridge domain configure mode and configure bridge domain instance 1.
Bridge1(config-bridge-domain)#interface xe20.1
Attach the sub-interface xe20.1 to the bridge domain instance.
Bridge1(config-bridge-domain)#exit
Exit bridge domain mode.
Bridge1(config)#ethernet cfm domain-type character-string domain-name P571 level 5
Create a CFM domain with character string type, name P571, and level 5.
Bridge1(config-ether-cfm)#service ma-type string ma-name ma7
Create a CFM Maintenance Association (MA) type as a string with the name ma7.
Bridge1(config-ether-cfm-ma)#vlan 200
Add VLAN 200 to the CFM MA.
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 906 active true xe20.1
Create a down MEP 906 for xe20.1 interface and activate it.
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable Continuity Check (CC) multicast for the MEP.
Bridge1(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge1(config-ether-cfm-ma)#mep crosscheck mpid 905
Configure crosscheck for the remote MEP with value 905.
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge1(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge1(config)#g8032 ring subring2
Create a G.8032 ring named subring2.
Bridge1(g8032-ring-config)#east-interface xe20.1
Associate xe20.1 interface as the east interface in subring2.
Bridge1(g8032-ring-config)#exit
Exit ring configure mode and return to the configure mode.
Bridge1(config)#g8032 erp-instance erp3
Create a G.8032 Ethernet Ring Protection (ERP) instance named erp3.
Bridge1(g8032-config-switch)#ring-type sub-ring-vc
Configure the ring type as a sub-ring-vc.
Bridge1(g8032-config-switch)#ring subring2
Associate subring2 with the ERP instance erp3.
Bridge1(g8032-config-switch)#rpl role non-owner
Configure the node as a non-owner node in the ring.
Bridge1(g8032-config-switch)#g8032-profile profile1
Associate profile1 with erp3 instance.
Bridge1(g8032-config-switch)#aps-channel level 5
Configure the R-APS channel level as 5.
Bridge1(g8032-config-switch)#aps-channel vlan 200
Configure the APS channel VLAN as 200.
Bridge1(g8032-config-switch)#ring-id 3
Configure the ring ID as 3.
Bridge1(g8032-config-switch)#virtual-channel 100 attached-to-instance erp1
Configure the virtual channel with VLAN 100 and attache it to ERP instance erp1.
Bridge1(g8032-config-switch)#enable-tcn-propagation
Enable Topology Change Notification (TCN) propagation.
Bridge1(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge1(g8032-config-switch)#end
Exit G.8032 configure mode.
Bridge4
 
Bridge4#configure terminal
Enter configure mode.
Bridge4(config)#interface xe2
Enter interface mode xe2.
Bridge4(config-if)#dot1ad ethertype 0x88a8
Configure xe2 as a Layer 2 port with an Ethernet Type of 0x88a8.
Bridge4(config-if)#interface xe2.1 switchport
Create a Layer 2 sub-interface xe2.1 within the physical interface xe2.
Bridge4(config-if)encapsulation dot1ad 200
Encapsulate the sub-interface with APS-channel VLAN ID 200.
Bridge4(config-if)encapsulation dot1ad 600
Encapsulate the sub-interface with data VLAN ID 600.
Bridge4(config-if)#exit
Exit interface mode xe2.
Bridge4(config)#bridge-domain 1
Enter bridge domain configure mode and configure bridge domain instance 1.
Bridge4(config-bridge-domain)#interface xe2.1
Attach the sub-interface xe2.1 to the bridge domain instance.
Bridge4(config-bridge-domain)#exit
Exit bridge domain mode.
Bridge4(config)#ethernet cfm domain-type character-string domain-name P271 level 5
Create a CFM domain with character string type, name P271, and level 5.
Bridge4(config-ether-cfm)#service ma-type string ma-name ma8
Create a CFM Maintenance Association (MA) type as a string with the name ma8.
Bridge4(config-ether-cfm-ma)#vlan 200
Add VLAN 200 to the CFM MA.
Bridge4(config-ether-cfm-ma)#ethernet cfm mep down mpid 800 active true xe2.1
Create a down MEP 800 for xe2.1 interface and activate it.
Bridge4(config-ether-cfm-ma-mep)#cc multicast state enable
Enable Continuity Check (CC) multicast for the MEP.
Bridge4(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit Ethernet CFM MA-MEP mode.
Bridge4(config-ether-cfm-ma)#mep crosscheck mpid 801
Configure crosscheck for the remote MEP with value 801.
Bridge4(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet CFM MA mode.
Bridge4(config-ether-cfm)#exit
Exit Ethernet CFM mode and return to the configure mode.
Bridge4(config)#g8032 ring subring2
Create a G.8032 ring named subring2.
Bridge4(g8032-ring-config)#east-interface xe2.1
Associate xe2.1 interface as the east interface in subring2.
Bridge4(g8032-ring-config)#exit
Exit ring configure mode and return to the configure mode.
Bridge4(config)#g8032 erp-instance erp3
Create a G.8032 Ethernet Ring Protection (ERP) instance named erp3.
Bridge4(g8032-config-switch)#ring-type sub-ring-vc
Configure the ring type as a sub-ring-vc.
Bridge4(g8032-config-switch)#ring subring2
Associate subring2 with the ERP instance erp3.
Bridge4(g8032-config-switch)#rpl role owner east-interface
Configure the node as the owner node for the specified ERPS ring and designate the east interface as the neighbor node in the ring.
Bridge4(g8032-config-switch)#g8032-profile profile1
Associate profile1 with erp3 instance.
Bridge4(g8032-config-switch)#aps-channel level 5
Configure the R-APS channel level as 5.
Bridge4(g8032-config-switch)#aps-channel vlan 200
Configure the APS channel VLAN as 200.
Bridge4(g8032-config-switch)#ring-id 3
Configure the ring ID as 3.
Bridge4(g8032-config-switch)#virtual-channel 100 attached-to-instance erp1
Configure the virtual channel with VLAN 100 and attache it to ERP instance erp1.
Bridge4(g8032-config-switch)#enable-tcn-propagation
Enable Topology Change Notification (TCN) propagation.
Bridge4(g8032-config-switch)#commit
Commit the candidate configuration to the running configuration
Bridge4(g8032-config-switch)#end
Exit G.8032 configure mode.
Validation
The following validation output displays details for the specified ERP instance using the show g8032 erp-instance command on Bridge5, Bridge1, and Bridge4. It describes the sub-ring type for Bridge1 and Bridge4 as virtual. Additionally, it specifies that Bridge1 is a non-owner node, while Bridge4 is the owner node for the specified ERPS ring, designating the east interface as the neighbor node in the ring.
Bridge5#show g8032 erp-instance
Instance ID State East state West state Ring
---------------------------------------------------------------------------------
erps2 1 IDLE xe2.1 Blocked xe20.1 Unblocked subring2
 
Bridge1#show g8032 erp-instance
Instance ID State East state West state Ring
--------------------------------------------------------------------------------
erp1 1 IDLE xe8.1 Unblocked xe6.1 Unblocked 1
erp3 3 IDLE xe20.1 Unblocked - - subring2
 
Bridge4#show g8032 erp-instance
Instance ID State East state West state Ring
--------------------------------------------------------------------------------
erp1 1 IDLE xe6.1 Unblocked xe16.1 Blocked Ring1
erp3 3 IDLE xe2.1 Blocked - - subring2
 
Bridge1#show g8032 erp-instance erp3
Inst Name : erp3 (3), node-id e8:c5:7a:a8:7c:c8, Profile (1)
Description :
Ring : SUB-RING (VIRTUAL) (subring2), NON-OWNER, Virtual (vid 100 : r
ing_id 1)
Attached to (erp1),
tcn_propagation (1)
 
State : G8032_ST_IDLE
 
East : xe20.1, Unblocked, UP , BPR (-), remote (-)
 
East (cfm) : mep_id (906), cc-interval (1s), Domain (P5P71), MA (ma7)
 
Channel : Level (5), vlan (200), RING_ID (2)
 
Bridge4#show g8032 erp-instance erp3
Inst Name : erp3 (3), node-id b8:6a:97:25:a7:bd, Profile (1)
Description :
Ring : SUB-RING (VIRTUAL) (subring2), OWNER (EAST), Virtual (vid 100
: ring_id 1)
Attached to (erp1),
tcn_propagation (1)
 
State : G8032_ST_IDLE
 
East : xe2.1, Blocked , UP , BPR (-), remote (-)
 
East (cfm) : mep_id (800), cc-interval (1s), Domain (P2P71), MA (ma8)
 
Channel : Level (5), vlan (200), RING_ID (2)
Sub-ring without Virtual Channel Configuration
The following section presents a sample Ring Protection topology, demonstrating the configuration of protection switching with five bridges.
Topology
Figure 3 illustrates a sample Ethernet Ring Protection Switching topology. This scenario consists of one major ring, which includes Bridge1, Bridge2, Bridge3, and Bridge4, and one sub-ring involving Bridge5, Bridge1, and Bridge2.
In the major ring, RPL is enabled between Bridge 3 (the owner node) and Bridge 4 (the neighbor node) through interface xe16. The remaining devices within this major ring are non-owner nodes. For the sub-ring, RPL is enabled between Bridge 5 (the neighbor node) and Bridge 4 (the owner node) using link xe7, while the other devices in this sub-ring function as non-owner nodes.
 
Sub-ring without Virtual Channel
Prerequisite
1. Before configuring the non-virtual channel, ensure that the major ring is configured for Bridge1, Bridge2, Bridge3, and Bridge4 following the instructions provided in the Major Ring Configuration section.
2. Repeat the same configuration steps for Bridge5, Bridge1, and Bridge4 as outlined in the Sub-ring without Virtual Channel Configuration section. Instead of using the virtual-channel command, configure the non-virtual channel command for Bridge1 and Bridge4 as shown below:
 
Bridge4(g8032-config-switch)#non-virtual-channel
 
Configure the non-virtual channel and attach it to ERP instance.
Bridge4(g8032-config-switch)#enable-tcn-propagation
Enable Topology Change Notification (TCN) propagation.
Bridge4(g8032-config-switch)#tcn-to-instance erp1
Attach TCN propagation to ERPS instance.
Validation
The following validation output displays details for the specified ERP instance using the show g8032 erp-instance command on Bridge5, Bridge1, and Bridge4. It describes the sub-ring type for Bridge1 and Bridge4 as non-virtual. Additionally, it specifies that Bridge1 is a non-owner node, while Bridge4 is the owner node for the specified ERPS ring, designating the east interface as the neighbor node in the ring.
Bridge5#show g8032 erp-instance
Instance ID State East state West state Ring
---------------------------------------------------------------------------------
erps2 1 IDLE xe2.1 Blocked xe20.1 Unblocked subring2
 
Bridge1#show g8032 erp-instance
Instance ID State East state West state Ring
--------------------------------------------------------------------------------
erp1 1 IDLE xe8.1 Unblocked xe6.1 Unblocked 1
erp3 3 IDLE xe20.1 Unblocked - - subring2
 
Bridge4#show g8032 erp-instance
Instance ID State East state West state Ring
--------------------------------------------------------------------------------
-
erp1 1 IDLE xe6.1 Unblocked xe16.1 Blocked Ring1
erp3 3 IDLE xe2.1 Blocked - - subring2
 
Bridge1#show g8032 erp-instance erp3
Inst Name : erp3 (3), node-id e8:c5:7a:a8:7c:c8, Profile (1)
Description :
Ring : SUB-RING (NON VIRTUAL) (subring2), NON-OWNER, tcn_propagation (1)(erp1,)
 
State : G8032_ST_IDLE
 
East : xe20.1, Unblocked, UP , BPR (-), remote (-)
 
East (cfm) : mep_id (906), cc-interval (1s), Domain (P5P71), MA (ma7)
 
Channel : Level (5), vlan (200), RING_ID (2)
 
Bridge4#show g8032 erp-instance erp3
Inst Name : erp3 (3), node-id b8:6a:97:25:a7:bd, Profile (1)
Description :
Ring : SUB-RING (NON VIRTUAL) (subring2), OWNER (EAST),tcn_propagation (1)(erp1,)
 
State : G8032_ST_IDLE
 
East : xe2.1, Blocked , UP , BPR (-), remote (-)
 
East (cfm) : mep_id (800), cc-interval (1s), Domain (P2P71), MA (ma8)
 
Channel : Level (5), vlan (200), RING_ID (2)
Implementation Examples
We explore deploying Ethernet LAN (ELAN) services using a bridge domain and leveraging ERPS to enhance network resilience and accelerate traffic switchover.
ELAN services find common applications in data centers and enterprise networks, facilitating connectivity among multiple endpoints. A bridge domain serves as a logical segment where these services are extended and managed.
Ring Topology in Data Center Network Scenario
In a data center network, multiple access switches are connected to aggregation switches forming a ring topology using bridge domains. The data center operator wants to implement fast protection switching to ensure uninterrupted connectivity for critical services in case of link or node failures.
Use Case: The data center network can achieve network resiliency by configuring ERPS over the bridge domains. In the event of a link failure on one of the ring ports, ERPS will automatically redirect traffic through the backup path, maintaining service continuity and minimizing downtime.
Campus LAN with Redundant Links Scenario
A campus LAN network is designed with redundant links between distribution switches using bridge domains. The network administrators want to implement ring protection to ensure reliable communication between buildings and minimize service disruptions in case of link failures.
Use Case: The campus LAN network can achieve seamless switchover during link failures by deploying ERPS over the bridge domains connecting the distribution switches. ERPS will detect the failure and swiftly switch traffic to the backup link, ensuring continuous connectivity for users and devices.
Industrial Automation Network Scenario
An industrial automation network uses a redundant ring topology with bridge domains to connect various industrial devices and controllers. The network operator requires a solution to achieve rapid network recovery in case of link or node failures.
Use Case: The network operator can achieve seamless switchover during link or node failures by configuring ERPS over the bridge domains in the industrial automation network. ERPS will provide fast protection switching, reducing downtime and ensuring continuous operation of critical industrial processes.
New CLI Commands
The ERPS with CFM Down-MEP over Bridge-Domain introduces the following configuration commands.
associate-ring
Use this command to configure a single ERPS instance to monitor multiple rings. All the rings associated with the associate-ring command must share the same parent interface as the primary ring mapped to the ERPS instance.
Note: The primary ring or instance is responsible for monitoring and managing multiple associate rings. However, it's important to note that only failures detected by the primary instance will trigger a switchover in all associated rings. Individual failures, such as link shutdowns on ring ports of associate rings, will not independently trigger failover switches in the associate rings. Instead, the primary instance must detect the failure for it to propagate to the associated rings.
Command Syntax
associate-ring RINGNAME
Parameters
RINGNAME
Specifies the name of the ring to associate with the ERPS instance.
Default
None
Command Mode
G.8032 configure switch mode
Applicability
This command was introduced in OcNOS version 6.4.1.
Examples
Here is a sample example of configuring a G.8032 ERP instance and associate ring in OcNOS device.
OcNOS#configure terminal
OcNOS(config)#g8032 erp-instance instance1
OcNOS(g8032-config-switch)#associate-ring ring1
OcNOS(g8032-config-switch)#end
hardware-profile aclif failover
Use this command to enable failover for the logical interface (LIF) resources, optimizing ERPS hardware failover ID.
Use the no parameter of this command to disable failover for the LIF resources.
Note: Recommend using per-interface-based Access Control List (ACL) failover on ERPS ring ports instead of a global profile.
Command Syntax
hardware-profile aclif failover
hardware-profile aclif no-failover
Parameters
None
Default
None
Command Mode
Configure mode.
Applicability
This command was introduced in OcNOS version 6.4.1.
Examples
Below are examples of configuring hardware profiles for ACL interface (aclif) with and without failover in OcNOS device.
OcNOS#configure terminal
OcNOS(config)#hardware-profile aclif failover
 
OcNOS(config)#hardware-profile aclif no-failover
aclif failover
Use this command to enable failover for the logical interface (LIF) resources, enhancing the LIFs hardware profile for ERPS.
Use the no parameter of this command to disable failover for the LIF resources, providing control over individual LIFs.
Command Syntax
aclif failover
aclif no-failover
Parameters
None
Default
None
Command Mode
Interface mode.
Applicability
This command was introduced in OcNOS version 6.4.1.
Examples
Below are sample examples of configuring ACL interface (aclif) with and without failover on interface xe2 in OcNOS device.
OcNOS#configure terminal
OcNOS(config)#interface xe2
OcNOS(config)#aclif failover
 
OcNOS(config)#aclif no-failover
Revised CLI Commands
Below is the revised command for configuring ERPS with Bridge-Domain. For more details, refer G.8032 ERPS Version 2 Commands chapter in the Carrier Ethernet Guide, Release 6.4.1.
clear g8032 erp-instance
The command clear g8032 erp-instance is used to clear ERPS instance.
The existing syntax now includes the newly added parameter for clearing all ERPS instance, namely all.
erp-instance
The command erps-instance is used to set the ERPS-instance for the sub-interface.
The syntax has been revised to remove the none parameter.
g8032 erp-instance force-switch
The command g8032 erp-instance force-switch is used to configure administrative commands related to force switching within ERPS instances.
The existing syntax now includes the newly added parameter to apply the command to all ERPS instances configured on the device, namely all.
g8032 erp-instance manual-switch
The command g8032 erp-instance manual-switch is used to configure administrative commands related to force switching within ERPS instances.
The existing syntax now includes the newly added parameter to apply the command to all ERPS instances configured on the device, namely all.
show g8032 erp-instance
The command show g8032 erp-instance is used to display details about an ERP instance.
The existing syntax now includes the newly added parameters to display data traffic details for ERP instances and details for a specific ERP instance, namely data-traffic and summary.
Troubleshooting
ERPS Conflict with VXLAN
In some scenarios, ERPS may encounter conflicts with VXLAN configurations, leading to issues with traffic forwarding. These conflicts primarily arise due to resource conflicts in the hardware for wide LIF data. This section provides insights into identifying and resolving such conflicts.
Issue Description
When VXLAN is used in conjunction with ERPS, traffic forwarding for xConnects configured in specific scenarios, such as Qumran2 series platform, may fail.
Conflict Details
ERPS optimizations, particularly those related to hardware failover IDs (hw-failover-id), can conflict with VXLAN bridge configurations and VXLAN xConnects, causing VXLAN-related functionalities to stop working as expected. The conflict arises due to resource contention in the hardware, particularly when dealing with wide LIFs data.
Proposed Solution
To address these conflicts and provide granular control over resource usage, a new CLI commands hardware-profile aclif failover and aclif failover has been introduced. This command allows users to enable or disable the hardware-aclif-failover feature for failover on LIFs.
Impact on ERPS
For bridge and PB configurations, default aclif-failover features are available, and there is no impact on ERPS.
For bridge-domain configurations, conflicts may arise with VXLAN on sub-interface LIFs. To resolve this, the CLI commands hardware-profile aclif failover and aclif failover must be configured on ring ports. It's important to note that enabling or configuring aclif-failover on ring ports for bridge-domain configurations does not result in any functional changes compared to the previous CLI settings.
Abbreviations
The following are some key abbreviations and their meanings relevant to this document:
 
Acronym
Description
ERPS
Ethernet Ring Protection Switching
CFM
Continuity Fault Management
ELAN
Ethernet LAN
LIF
Logical Interface
ACLIF
Access Control List Interface
Glossary
The following provides definitions for key terms used throughout this document.
 
Bridge Domain
A logical network segment where bridging services are extended and managed. It defines a broadcast domain in Ethernet bridging.
Bridge Ports
Physical or virtual ports/interfaces that connect devices within a bridge domain.
Network Resilience
The ability of a network to maintain service availability and performance in the face of failures or abnormal conditions.
Redundant Links
Backup or alternative network connections designed to ensure network reliability.
Distribution Switches
Network switches that aggregate traffic from access switches and connect them to core switches or routers.
Ring Topology
A network topology in which each network device is connected to exactly two other devices, forming a circular path.
Failover
The process of automatically switching to a backup or redundant system or path in case of a failure.
Downtime
The period during which a system, network, or service is unavailable or not functioning correctly.
VLAN
Virtual Local Area Network, a logical segmentation of a network to isolate traffic and improve network efficiency.
Backup Path
An alternative network path that can be used to reroute traffic in case of a failure in the primary path.
Granular Control
Fine-tuned control over specific aspects or resources within a system or network.
Resource Contention
Competition or conflict for limited resources, such as hardware resources in a network device.
Sub-Interface
A logical interface created within a physical interface to allow multiple virtual interfaces with different configurations.
Logical Interface
A virtual or logical network interface on a device.