OcNOS-SP : Carrier Ethernet Guide : Carrier Ethernet Configuration Guide : Ethernet Linear Protection Switching Configuration
Ethernet Linear Protection Switching Configuration
The feature Ethernet Linear Protection Switching (ELPS) adds a fast mechanism to switch from a failing Ethernet transport entity to a working Ethernet transport entity, thereby restoring node to node link up condition.
The objective of fast protection switching is achieved by integrating mature Ethernet operations, administration, and maintenance (OAM) functions and a simple automatic protection switching (APS) protocol for Ethernet linear networks. Since protection switching requires monitoring of both working and protection transport enti-ties, it is required that MEPs be activated for the purpose of monitoring the working and protection transport entities. Both transport entities are monitored individually by exchanging Continuity Check Messages (CCMs).
ELPS protocol is optimized to provide Protection Switching between two distinct endpoints on a point to point vlan-based Ethernet network. It can be used as an alternative to spanning tree protocol (STP) for fast transiting the port status without complex computation, provisioning overhead, and excessive information exchange, to thus achieve much faster (i.e., 50ms) protection switching. With ELPS, it is much convenient for network operator to grasp the status of network (eg. Active network topology) with protection switching than with other survivability mechanisms, such as STP.
Topology
ELPS Topology
Configuration
Prerequisite
Configure below hardware-profile commands related to CFM in configuration mode and reboot the nodes.
hardware-profile filter cfm-domain-name-str enable
hardware-profile statistics cfm-ccm enable
Bridge 1
 
Bridge1#configure terminal
Enter configure mode
Bridge1(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge
Bridge1(config)#vlan 10-100 bridge 1 state enable
Create VLAN 10-100 on bridge 1
Bridge1(config)#commit
Commit transaction
Bridge1(config)#interface xe1
Configure interface xe1
Bridge1(config-if)# switchport
Configure xe1 as a layer 2 port
Bridge1(config-if)# bridge-group 1
Configure interface in bridge group 1
Bridge1(config-if)# switchport mode trunk
Configure port as trunk port
Bridge1(config-if)# switchport trunk allowed vlan add 10-100
Allow vlan 10-100 on xe1 interface
Bridge1(config)#interface xe2
Configure interface xe2
Bridge1(config-if)# switchport
Configure xe2 as a layer 2 port
Bridge1(config-if)# bridge-group 1
Configure interface in bridge group 1
Bridge1(config-if)# switchport mode trunk
Configure port as trunk port
Bridge1(config-if)# switchport trunk allowed vlan add 10-100
Allow vlan 10-100 on xe1 interface
Bridge1(config-if)#exit
Exit interface mode
Bridge1(config)#commit
Commit transaction
Bridge1(config)#ethernet cfm domain-type character-string domain-name 12345 level 5 mip-creation none
Create cfm domain with type as character string with name 12345 and set mip creation criteria to default with level 5 on bridge 1
Bridge1(config-ether-cfm)#service ma-type string ma-name 54321
Create ma type as string with name 54321
Bridge1(config-ether-cfm-ma)# vlan 10 bridge 1
Add vlan 10
Bridge1(config-ether-cfm-ma)#mip-creation none
Set mip-creation creation criteria to none
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 111 active true xe1
Create down mep 111 for xe1 interface
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
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 222
Configure crosscheck to remote MEP with value 222
Bridge1(config-ether-cfm-ma)#cc interval 3ms
Enable cc interval with 3ms
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge1(config-ether-cfm)#exit
Exit Ethernet cfm mode
Bridge1(config)#ethernet cfm domain-type character-string domain-name 56789 level 5 mip-creation none
Create cfm domain with type as character string with name 56789 and set mip creation criteria to default with level 5 on bridge 1
Bridge1(config-ether-cfm)#service ma-type string ma-name 98765
Create ma type as string with name 98765.
Bridge1(config-ether-cfm-ma)# vlan 10 bridge 1
Add vlan 10
Bridge1(config-ether-cfm-ma)#mip-creation none
Set mip-creation creation criteria to none
Bridge1(config-ether-cfm-ma)#ethernet cfm mep down mpid 333 active true xe2
Create down mep 333 for xe2 interface
Bridge1(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
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 444
Configure crosscheck to remote MEP with value 444
Bridge1(config-ether-cfm-ma)#cc interval 3ms
Enable cc interval with 3ms
Bridge1(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge1(config-ether-cfm)#exit
Exit Ethernet cfm mode
Bridge1(config)#commit
Commit transaction
Bridge1(config)#g8031 eps-id 1 bridge 1
Create g8031 with eps-id 1 on bridge 1
Bridge1(g8031-config-switching)# working-port xe2
Associate xe2 interface as working port
Bridge1(g8031-config-switching)# protection-port xe1
Associate xe1 interface as protection port
Bridge1(g8031-config-switching)# instance 1
Create ELPS instance 1
Bridge1(g8031-config-switching)# vlan 20
Add data-vlan 20
Bridge1(g8031-config-switching)# vlan 30
Add data-vlan 30
Bridge1(g8031-config-switching)# primary-vlan 10
Associate management vlan 10
Bridge1(g8031-config-switching)# mode one-plus-one-bidirectional
Associate elps mode one-plus-one-bidirectional
Bridge1(g8031-config-switching)# revertive
Set switchover type revertive
Bridge1(g8031-config-switching)# level 5
Associate cfm to PG
Bridge1(g8031-config-switching)#exit
Exit g8031 config mode
Bridge1(config)#commit
Commit transaction
Bridge1(config)#end
Exit config terminal
Bridge 2
 
Bridge2#configure terminal
Enter configure mode
Bridge2(config)#bridge 1 protocol rstp vlan-bridge
Create bridge 1 as an RSTP VLAN-aware bridge
Bridge2(config)#vlan 10-100 bridge 1 state enable
Create VLAN 10-100 on bridge 1
Bridge2(config)#commit
Commit transaction
Bridge2(config)#interface xe1
Configure interface xe1
Bridge2(config-if)# switchport
Configure xe1 as a layer 2 port
Bridge2(config-if)# bridge-group 1
Configure interface in bridge group 1
Bridge2(config-if)# switchport mode trunk
Configure port as trunk port
Bridge2(config-if)# switchport trunk allowed vlan add 10-100
Allow vlan 10-100 on xe1 interface
Bridge2(config)#interface xe2
Configure interface xe2
Bridge2(config-if)# switchport
Configure xe2 as a layer 2 port
Bridge2(config-if)# bridge-group 1
Configure interface in bridge group 1
Bridge2(config-if)# switchport mode trunk
Configure port as trunk port
Bridge2(config-if)# switchport trunk allowed vlan add 10-100
Allow vlan 10-100 on xe1 interface
Bridge2(config-if)#exit
Exit interface mode
Bridge2(config)#commit
Commit transaction
Bridge2(config)#ethernet cfm domain-type character-string domain-name 12345 level 5 mip-creation none
Create cfm domain with type as character string with name 12345 and set mip creation criteria to default with level 5 on bridge 1
Bridge2(config-ether-cfm)#service ma-type string ma-name 54321
Create ma type as string with name 54321
Bridge2(config-ether-cfm-ma)# vlan 10 bridge 1
Add vlan 10
Bridge2(config-ether-cfm-ma)#mip-creation none
Set mip-creation creation criteria to none
Bridge2(config-ether-cfm-ma)#ethernet cfm mep down mpid 222 active true xe1
Create down mep 222 for xe1 interface
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
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 111
Configure crosscheck to remote MEP with value 111
Bridge2(config-ether-cfm-ma)#cc interval 3ms
Enable cc interval with 3ms
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge2(config-ether-cfm)#exit
Exit Ethernet cfm mode
Bridge2(config)#ethernet cfm domain-type character-string domain-name 56789 level 5 mip-creation none
Create cfm domain with type as character string with name 56789 and set mip creation criteria to default with level 5 on bridge 1
Bridge2(config-ether-cfm)#service ma-type string ma-name 98765
Create ma type as string with name 98765.
Bridge2(config-ether-cfm-ma)# vlan 10 bridge 1
Add vlan 10
Bridge2(config-ether-cfm-ma)#mip-creation none
Set mip-creation creation criteria to none
Bridge2(config-ether-cfm-ma)#ethernet cfm mep down mpid 444 active true xe2
Create down mep 444 for xe2 interface
Bridge2(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
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 333
Configure crosscheck to remote MEP with value 333
Bridge2(config-ether-cfm-ma)#cc interval 3ms
Enable cc interval with 3ms
Bridge2(config-ether-cfm-ma)#exit-ether-ma-mode
Exit Ethernet ma mode
Bridge2(config-ether-cfm)#exit
Exit Ethernet cfm mode
Bridge2(config)#commit
Commit transaction
Bridge2(config)g8031 eps-id 1 bridge 1
Create g8031 with eps-id 1 on bridge 1
Bridge2(g8031-config-switching)# working-port xe2
Associate xe2 interface as working port
Bridge2(g8031-config-switching)# protection-port xe1
Associate xe1 interface as protection port
Bridge2(g8031-config-switching)# instance 1
Create ELPS instance 1
Bridge2(g8031-config-switching)# vlan 20
Add data-vlan 20
Bridge2(g8031-config-switching)# vlan 30
Add data-vlan 30
Bridge2(g8031-config-switching)# primary-vlan 10
Associate management vlan 10
Bridge2(g8031-config-switching)# mode one-plus-one-bidirectional
Associate elps mode one-plus-one-bidirectional
Bridge2(g8031-config-switching)# revertive
Set switchover type revertive
Bridge2(g8031-config-switching)# level 5
Associate cfm to PG
Bridge2(g8031-config-switching)#exit
Exit g8031 config mode
Bridge2(config)#commit
Commit transaction
Bridge2(config)#end
Exit config terminal
Validation
1. Verify ELPS on Bridge1
Bridge1#show g8031 bridge 1
 
=================================== Bridge:1 Eps-id:1 ===================================
 
Bridge Direction Revertive PVID Total-Vlans Working-Path Protection-Path
----------------------------------------------------------------------------------
1+1 Bi Yes 10 3 xe2 xe1
 
Active-Path Local-Freeze Cfm-Attached Request-Signal Current-State
-----------------------------------------------------------------------------------------
Working No Yes Null No Request
 
dFOP State: Not in defect mode
 
L-APS Rx count: 30
 
L-APS Tx count: 33
 
Bridge1#
 
Bridge1#show g8031 eps-id 1 bridge 1
 
=================================== Bridge:1 Eps-id:1 ===================================
 
Bridge Direction Revertive PVID Total-Vlans Working-Path Protection-Path
----------------------------------------------------------------------------------
1+1 Bi Yes 10 3 xe2 xe1
 
Active-Path Local-Freeze Cfm-Attached Request-Signal Current-State
-----------------------------------------------------------------------------------------
Working No Yes Null No Request
 
dFOP State: Not in defect mode
 
APS Statistics
---------------
L-APS Rx count: 33
L-APS Tx count: 36
 
Bridge1#
 
2. Verify ELPS on Bridge2
 
Bridge2#show g8031 bridge 1
 
=================================== Bridge:1 Eps-id:1 ===================================
 
Bridge Direction Revertive PVID Total-Vlans Working-Path Protection-Path
----------------------------------------------------------------------------------
1+1 Bi Yes 10 3 xe2 xe1
 
Active-Path Local-Freeze Cfm-Attached Request-Signal Current-State
-----------------------------------------------------------------------------------------
Working No Yes Null No Request
 
dFOP State: Not in defect mode
 
L-APS Rx count: 39
 
L-APS Tx count: 43
 
Bridge2#show g8031 eps-id 1 bridge 1
 
=================================== Bridge:1 Eps-id:1 ===================================
 
Bridge Direction Revertive PVID Total-Vlans Working-Path Protection-Path
----------------------------------------------------------------------------------
1+1 Bi Yes 10 3 xe2 xe1
 
Active-Path Local-Freeze Cfm-Attached Request-Signal Current-State
-----------------------------------------------------------------------------------------
Working No Yes Null No Request
 
dFOP State: Not in defect mode
 
APS Statistics
---------------
L-APS Rx count: 40
L-APS Tx count: 44
 
Bridge2#