OcNOS-DC 6.4.2 : Layer 1 Guide : Layer 1 Configuration Guide : CFM over xConnect Configuration
CFM over xConnect Configuration
This chapter contains a complete example of CFM over xConnect configuration.
The main objective of this feature to achieve L2 resiliency using CFM over xConnect where the traffic is switched to the next available link within xConnect when CFM detects errors or link failure on the monitored link in DC platforms.
Topology
CFM over xConnect Topology
Configuration
Node-1
 
#configure terminal
Enter configure mode
(config)# hostname Node-1
Configure the hostname.
(config)#interface po100
Create port channel interface.
(config-if)#switchport
Configure switchport on LAG port
(config-if)#exit
Exit the interface level
(config)#interface ce29
Enter interface level
(config-if)#channel-group 100 mode active
Add member port to the port channel interface.
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level
(config)#interface ce30
Enter interface level
(config-if)#channel-group 100 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level
(config)#interface po300
Create port channel interface
(config-if)#switchport
Configure switchport on LAG interface
(config-if)#exit
Exit the interface level
(config)#interface ce6/1
Enter interface level
(config-if)#channel-group 300 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level
(config)#interface ce15/1
Enter interface level
(config-if)#channel-group 300 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level
(config)#interface ce2/1
Enter interface level
(config-if)#switchport
Configure switchport
(config)#interface ce4/1
Enter interface level
(config-if)#switchport
Configure switchport
(config-if)#exit
Exit the interface level
(config)#cross-connect xc1
Create cross-connect by providing the name
(config-XC)#ep1 po100 ep2 ce2/1
Add end-points end-point1 and end-point2
(config-XC)#backup ep1 po300
Add backup end-point1
(config-XC)#backup ep2 ce4/1
Add backup end-point2
(config-XC)#exit
Exit XC mode
(config)#ethernet cfm domain-type character-string domain-name mdnam1 level 0 mip-creation none
Create CFM domain with type as character string with level 0 and set MIP creation criteria to none.
(config-ether-cfm)#service ma-type string ma-name test1
Create ma type as string
(config-ether-cfm-ma)#link-level-ma
Configure link-level-ma
(config-ether-cfm-ma)#ethernet cfm mep down mpid 1 active true po100
Create down MEP for local-VID on po100
(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
(config-ether-cfm-ma)#mep crosscheck mpid 2
Configure crosscheck to remote MEP
(config-ether-cfm-ma)#cc interval 10ms
Enable cc interval for 10 millisecond
(config-ether-cfm-ma)#exit-ether-ma-mode
Exit ethernet ma mode
(config-ether-cfm)#exit
Exit ethernet CFM mode
(config)#ethernet cfm domain-type character-string domain-name mdnam2 level 0 mip-creation none
Create CFM domain with type as character string with level 0 and set MIP creation criteria to none.
(config-ether-cfm)#service ma-type string ma-name test2
Create MA type as string
(config-ether-cfm-ma)#link-level-ma
Configure link-level-ma
(config-ether-cfm-ma)#ethernet cfm mep down mpid 3 active true po300
Create down MEP for local-VID on po300
(config-ether-cfm-ma-mep)#cc multicast state enable
Enable CC multicast
(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet CFM MA-MEP mode
(config-ether-cfm-ma)#mep crosscheck mpid 4
Configure crosscheck to remote MEP
(config-ether-cfm-ma)#cc interval 10ms
Enable CC interval for 10 millisecond
(config-ether-cfm-ma)#exit-ether-ma-mode
Exit ethernet MA mode
(config-ether-cfm)#exit
Exit ethernet CFM mode
Node-2
 
#configure terminal
Enter configure mode
(config)#hostname Node-2
Configure the hostname
(config)#interface po100
Create port channel interface
(config-if)#switchport
Configure switchport on LAG port
(config-if)#exit
Exit the interface level
(config)#interface ce23
Enter interface level
(config-if)#channel-group 100 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level.
(config)#interface ce24
Enter interface level
(config-if)#channel-group 100 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level
(config)#interface po300
Create port channel interface
(config-if)#switchport
Configure switchport on LAG interface
(config-if)#exit
Exit the interface level
(config)#interface ce21
Enter interface level
(config-if)#channel-group 300 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level
(config)#interface ce22
Enter interface level
(config-if)#channel-group 300 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level
(config)#cross-connect xc1
Create cross-connect by providing the name
(config-XC)#ep1 po100 ep2 po300
Add end-points end-point1 and end-point2
Node-3
 
#configure terminal
Enter configure mode
(config)#hostname Node-3
Configure the hostname
(config)#interface po300
Create port channel interface
(config-if)#switchport
Configure switchport on LAG port
(config-if)#exit
Exit the interface level
(config)#interface ce13
Enter interface level
(config-if)#channel-group 300 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level.
(config)#interface ce14
Enter interface level
(config-if)#channel-group 300 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level
(config)#interface po100
Create port channel interface
(config-if)#switchport
Configure switchport on LAG interface
(config-if)#exit
Exit the interface level
(config)#interface ce1/1
Enter interface level
(config-if)#channel-group 300 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level
(config)#interface ce2/1
Enter interface level
(config-if)#channel-group 300 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level
(config)#interface ce4/1
Enter interface level
(config-if)#switchport
Configure switchport
(config)#interface ce5/1
Enter interface level
(config-if)#switchport
Configure switchport
(config-if)#exit
Exit the interface level
(config)#cross-connect xc1
Create cross-connect by providing the name
(config-XC)#ep1 po300 ep2 ce4/1
Add end-points end-point1 and end-point2
(config-XC)#backup ep1 po100
Add backup end-point1
(config-XC)#backup ep2 ce5/1
Add backup end-point2
(config-XC)#exit
Exit XC mode
(config)#ethernet cfm domain-type character-string domain-name mdnam1 level 0 mip-creation none
Create cfm domain with type as character string with level 0 and set mip creation criteria to none.
(config-ether-cfm)#service ma-type string ma-name test1
Create ma type as string
(config-ether-cfm-ma)#link-level-ma
Configure link-level-ma
(config-ether-cfm-ma)#ethernet cfm mep down mpid 2 active true po300
Create down mep for local-vid on po100
(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
(config-ether-cfm-ma)#mep crosscheck mpid 1
Configure crosscheck to remote MEP
(config-ether-cfm-ma)#cc interval 10ms
Enable cc interval for 10 millisecond
(config-ether-cfm-ma)#exit-ether-ma-mode
Exit ethernet ma mode
(config-ether-cfm)#exit
Exit ethernet CFM mode
(config)#ethernet cfm domain-type character-string domain-name mdnam2 level 0 mip-creation none
Create cfm domain with type as character string with level 0 and set mip creation criteria to none.
(config-ether-cfm)#service ma-type string ma-name test2
Create ma type as string
(config-ether-cfm-ma)#link-level-ma
Configure link-level-ma
(config-ether-cfm-ma)#ethernet cfm mep down mpid 4 active true po100
Create down mep for local-vid on po300
(config-ether-cfm-ma-mep)#cc multicast state enable
Enable cc multicast
(config-ether-cfm-ma-mep)#exit-ether-ma-mep-mode
Exit ethernet cfm ma-mep mode
(config-ether-cfm-ma)#mep crosscheck mpid 3
Configure crosscheck to remote MEP
(config-ether-cfm-ma)#cc interval 10ms
Enable cc interval for 10 millisecond
(config-ether-cfm-ma)#exit-ether-ma-mode
Exit ethernet ma mode
(config-ether-cfm)#exit
Exit ethernet CFM mode
Node-4
 
#configure terminal
Enter configure mode
(config)#hostname Node-4
Configure the hostname
(config)#interface po100
Create port channel interface
(config-if)#switchport
Configure switchport on LAG port
(config-if)#exit
Exit the interface level
(config)#interface ce1/1
Enter interface level
(config-if)#channel-group 100 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level.
(config)#interface ce2/1
Enter interface level
(config-if)#channel-group 100 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level
(config)#interface po300
Create port channel interface
(config-if)#switchport
Configure switchport on LAG interface
(config-if)#exit
Exit the interface level
(config)#interface ce8/1
Enter interface level
(config-if)#channel-group 300 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level
(config)#interface ce15/1
Enter interface level
(config-if)#channel-group 300 mode active
Add member port to the port channel interface
(config-if)#lacp timeout short
Configure LACP timeout as short
(config-if)#exit
Exit the interface level
(config)#cross-connect xc1
Create cross-connect by providing the name
(config-XC)#ep1 po300 ep2 po100
Add end-points end-point1 and end-point2
Validation
Node-1
#sh ethernet cfm maintenance-points local mep domain mdnam2 ma-name test2
MPID Dir Lvl VLAN CC-Stat CC-Intvl MAC-Address Def Port MD Name
--------------------------------------------------------------------------------
3 Dn 0 0 Enable 10 ms 34ef.b689.e05a T po300 mdnam2
 
#sh ethernet cfm maintenance-points local mep domain mdnam1 ma-name test1
MPID Dir Lvl VLAN CC-Stat CC-Intvl MAC-Address Def Port MD Name
--------------------------------------------------------------------------------
1 Dn 0 0 Enable 10 ms 34ef.b689.e020 F po100 mdnam1
 
#sh ethernet cfm maintenance-points remote mpid 3 domain mdnam2
MEPID RMEPID LEVEL VLAN Rx CCM RDI PEER-MAC TYPE
-------------------------------------------------------------------------------
3 4 0 0 Yes False 5cff.35b7.54b3 Configured
 
#sh ethernet cfm maintenance-points remote mpid 1 domain mdnam1
MEPID RMEPID LEVEL VLAN Rx CCM RDI PEER-MAC TYPE
-------------------------------------------------------------------------------
1 2 0 0 Yes False 5cff.35b7.54bb Configured
 
#sh ethernet cfm errors domain mdnam1
Domain Name Level Vlan MEPID Defects
--------------------------------------------------------
mdnam1 0 0 1 .....
 
1. defRDICCM 2. defMACstatus 3. defRemoteCCM
4. defErrorCCM 5. defXconCCM
 
#sh ethernet cfm errors domain mdnam2
Domain Name Level Vlan MEPID Defects
--------------------------------------------------------
mdnam2 0 0 3 .....
 
1. defRDICCM 2. defMACstatus 3. defRemoteCCM
4. defErrorCCM 5. defXconCCM
Node-3
#sh ethernet cfm maintenance-points local mep domain mdnam1 ma-name test1
MPID Dir Lvl VLAN CC-Stat CC-Intvl MAC-Address Def Port MD Name
--------------------------------------------------------------------------------
2 Dn 0 0 Enable 10 ms 5cff.35b7.54bb F po300 mdnam1
 
#sh ethernet cfm maintenance-points local mep domain mdnam2 ma-name test2
MPID Dir Lvl VLAN CC-Stat CC-Intvl MAC-Address Def Port MD Name
--------------------------------------------------------------------------------
4 Dn 0 0 Enable 10 ms 5cff.35b7.54b3 F po100 mdnam2
 
#sh ethernet cfm maintenance-points remote mpid 4 domain mdnam2
MEPID RMEPID LEVEL VLAN Rx CCM RDI PEER-MAC TYPE
-------------------------------------------------------------------------------
4 3 0 0 Yes False 34ef.b689.e05a Configured
 
#sh ethernet cfm maintenance-points remote mpid 2 domain mdnam1
MEPID RMEPID LEVEL VLAN Rx CCM RDI PEER-MAC TYPE
-------------------------------------------------------------------------------
2 1 0 0 Yes False 34ef.b689.e020 Configured
 
#sh ethernet cfm errors domain mdnam1
Domain Name Level Vlan MEPID Defects
--------------------------------------------------------
mdnam1 0 0 2 .....
 
1. defRDICCM 2. defMACstatus 3. defRemoteCCM
4. defErrorCCM 5. defXconCCM
 
#sh ethernet cfm errors domain mdnam2
Domain Name Level Vlan MEPID Defects
--------------------------------------------------------
mdnam2 0 0 4 .....
 
1. defRDICCM 2. defMACstatus 3. defRemoteCCM
4. defErrorCCM 5. defXconCCM