ES3528MV2 Supports CFM - How to use IEEE 802.1ag Connectivity Fault Management and ITU-T Y.1731 ?

Steven_zhangCreated at:Dec 11, 2019 10:49:44Updated at:Dec 11, 2019 10:49:51

To use CFM, please follow the steps below:

mceclip0.png

 

Step1. On Switch 3, create CFM maintenance Domain (MD). The index is 2, name is character string "Provider", and the MD level 5.

SW_3-0#config
SW_3-0(config)#ethernet cfm domain index 2 name Provider level 5

 

Step2. Create Maintenance Association (MA) service in MD "Provider". The MD ID is 2, name is "Provider_MA", and service VLAN identifier is "1".

SW_3-0(config-ether-cfm)#ma index 2 name Provider_MA vlan 1

 

Step3. Configure MEP crosscheck with mpid 41 on SW4 ma "Provider_MA". The Cross Check List for a MD contains a list of MEPID (Maintenance End Point Identifier) which are configured in a MA.

SW_3-0(config-ether-cfm)#mep crosscheck mpid 41 ma Provider_MA
SW_3-0(config-ether-cfm)#exit

 

Step4. Create mep mpid 32 on port 28 of SW3.

Maintenance End Point (MEP) generates and responds to CFM PDUs. A MEP can be uniquely identified by Maintenance Level, VLAN ID and Direction. Direction is of two types, UP and Down, and denotes the direction in which the MEP faces on the Bridge port. The default direction is Down.

 

When MEP (Maintenance End Point) is configured in a Switch, it is called Local MEP. The other MEP ID which is present in the cross-check list becomes Remote MEP for this Local MEP.

SW_3-0(config)#int e 1/28
SW_3-0(config-if)#ethernet cfm mep mpid 32 md Provider ma Provider_MA

 

mceclip1.png

Figure 2

 

Step5. On Switch 2, create the same CFM domain ID 2 name "Provider" level 5 in level 5 in SW4 as SW3.

SW_4-0#config
SW_4-0(config)#ethernet cfm domain index 2 name Provider level 5

 

Step6. Create MA id 2 name "Provider_MA" on vlan 1.

SW_4-0(config-ether-cfm)#ma index 2 name Provider_MA vlan 1

 

Step7. Configure MEP crosscheck with mpid 32 on SW3 ma Provider_MA.

SW_4-0(config-ether-cfm)#mep crosscheck mpid 32 ma Provider_MA

 

Step8. Create mep mpid 41 on port 26 of SW4.

SW_4-0(config)#interface e 1/26
SW_4-0(config-if)#ethernet cfm mep mpid 41 md Provider ma Provider_MA

 

Step9. Show local MEP on SW4.

SW_4-0#sh ethernet cfm maintenance-points local detail mep
MEP Settings:
-------------
MPID               : 41
MD Name            : Provider
MA Name            : Provider_MA
MA Name Format     : Character String
Level              : 5
Direction          : Down
Interface          : Eth 1/26
CC Status          : Enabled
MAC Address        : 70-72-CF-58-F9-25
Defect Condition   : No Defect
Received RDI       : False
AIS Status         : Enabled
AIS Period         : 1 seconds
AIS Transmit Level : Default (0)
Suppress Alarm     : Disabled
Suppressing Alarms : Disabled

 

Step10. Show remote crosscheck list.

SW_4-0#sh ethernet cfm maintenance-points remote crosscheck
MPID  MA Name                  Level  VLAN  MEP Up  Remote MAC
----  -----------------------  -----  ----  ------  -----------------
  32  Provider_MA                  5     1     Yes  70-72-CF-58-F9-0A

 

mceclip2.png

Figure 3

 

Step11. Initiate CFM loopback to MEP 32 of SW3.

Loopback is used for connection verification between two Maintenance End Points. Loopback can be identified by specifying the destination MEP MAC address or MEP ID. 

SW_4-0#ethernet cfm loopback dest-mep 32 md Provider ma Provider_MA
Type ESC to abort.
Sending 5 Ethernet CFM loopback message, timeout is 5 sec.
Received 5 Ethernet CFM loopback message in 1 sec.
Received 5 Ethernet CFM loopback message in 5 secs.
Success rate is 100% (5/5).

 

mceclip3.png

Figure 4

 

Step12. Initiate CFM Linktrace to SW3 MEP 32.

Linktrace is used by a maintenance entity to perform path discovery and fault isolation.

SW_4-0#ethernet cfm linktrace dest-mep 32 md Provider ma Provider_MA
SW_4-0#sh ethernet cfm linktrace-cache
Hops MA             IP / Alias              Ingress MAC       Ing. Action Relay
                    Forwarded               Egress MAC        Egr. Action
---- -------------- ----------------------- ----------------- ----------- -----
   1 Provider_MA    192.168.1.3             70-72-CF-58-F9-0A ingOk       Hit
                    Not Forwarded

 

Step13. Show local MEP on SW3.

SW_3-0#sh ethernet cfm maintenance-points local detail mep
MEP Settings:
-------------
MPID               : 32
MD Name            : Provider
MA Name            : Provider_MA
MA Name Format     : Character String
Level              : 5
Direction          : Down
Interface          : Eth 1/28
CC Status          : Enabled
MAC Address        : 70-72-CF-58-F9-0A
Defect Condition   : No Defect
Received RDI       : False
AIS Status         : Enabled
AIS Period         : 1 seconds
AIS Transmit Level : Default (0)
Suppress Alarm     : Disabled
Suppressing Alarms : Disabled

 

 

Step14. Show remote crosscheck on SW3.

SW_3-0#sh ethernet cfm maintenance-points remote crosscheck
MPID  MA Name                  Level  VLAN  MEP Up  Remote MAC
----  -----------------------  -----  ----  ------  -----------------
  41  Provider_MA                  5     1     Yes  70-72-CF-58-F9-25

 

Step15. Initiate CFM loopback to SW4 MEP 41.

SW_3-0#ethernet cfm loopback dest-mep 41 md Provider ma Provider_MA
Type ESC to abort.
Sending 5 Ethernet CFM loopback message, timeout is 5 sec.
Received 5 Ethernet CFM loopback message in 1 sec.
Received 5 Ethernet CFM loopback message in 5 secs.
Success rate is 100% (5/5).

 

Step16. Initiate CFM Linktrace to SW3 MEP 32.

SW_3-0#ethernet cfm linktrace dest-mep 41 md Provider ma Provider_MA
SW_3-0#sh ethernet cfm linktrace-cache
Hops MA             IP / Alias              Ingress MAC       Ing. Action Relay
                    Forwarded               Egress MAC        Egr. Action
---- -------------- ----------------------- ----------------- ----------- -----
   1 Provider_MA    192.168.1.4             70-72-CF-58-F9-25 ingOk       Hit
                    Not Forwarded

 

mceclip4.png

Figure 5

 

Step17. On Switch 1, create CFM domain ID 2 name Provider level 5.

SW_1#config
SW_1(config)#ethernet cfm domain index 2 name Provider level 5

 

Step18. Create MA id 2 name Provider_MA on vlan 1.

SW_1(config-ether-cfm)#ma index 2 name Provider_MA vlan 1

 

Step19. MIP will be generated by default.

Maintenance Intermediate Points (MIP) are intermediate maintenance points which forward CFM PDUs. MIPs are implicitly created.

SW_1#sh ethernet cfm maintenance-points local mip
MD Name                 Level MA Name                 VLAN Interface
----------------------- ----- ----------------------- ---- ---------
Provider                    5 Provider_MA                1 Eth 1/ 1
Provider                    5 Provider_MA                1 Eth 1/ 2
Provider                    5 Provider_MA                1 Eth 1/ 3
Provider                    5 Provider_MA                1 Eth 1/ 4
Provider                    5 Provider_MA                1 Eth 1/ 5
Provider                    5 Provider_MA                1 Eth 1/ 6
Provider                    5 Provider_MA                1 Eth 1/ 7
Provider                    5 Provider_MA                1 Eth 1/ 8
Provider                    5 Provider_MA                1 Eth 1/ 9
Provider                    5 Provider_MA                1 Eth 1/10
Provider                    5 Provider_MA                1 Eth 1/11
Provider                    5 Provider_MA                1 Eth 1/12
Provider                    5 Provider_MA                1 Eth 1/13
Provider                    5 Provider_MA                1 Eth 1/14
Provider                    5 Provider_MA                1 Eth 1/15
Provider                    5 Provider_MA                1 Eth 1/16
Provider                    5 Provider_MA                1 Eth 1/17
Provider                    5 Provider_MA                1 Eth 1/18
Provider                    5 Provider_MA                1 Eth 1/19
Provider                    5 Provider_MA                1 Eth 1/20
Provider                    5 Provider_MA                1 Eth 1/21
Provider                    5 Provider_MA                1 Eth 1/22
Provider                    5 Provider_MA                1 Eth 1/23
Provider                    5 Provider_MA                1 Eth 1/24
Provider                    5 Provider_MA                1 Eth 1/25
Provider                    5 Provider_MA                1 Eth 1/26
Provider                    5 Provider_MA                1 Eth 1/27
Provider                    5 Provider_MA                1 Eth 1/28

 

mceclip5.png

Figure 6

 

Step20. On Switch 2, create CFM domain ID 2 name Provider level 5.

SW_2-0#config
SW_2-0(config)#ethernet cfm domain index 2 name Provider level 5

Step21. Create MA id 2 name "Provider_MA" on vlan 1.

SW_2-0(config-ether-cfm)#ma index 2 name Provider_MA vlan 1

 

Step22. MIP will be generated by default.

SW_2-0#sh ethernet cfm maintenance-points local mip
MD Name                 Level MA Name                 VLAN Interface
----------------------- ----- ----------------------- ---- ---------
Provider                    5 Provider_MA                1 Eth 1/ 1
Provider                    5 Provider_MA                1 Eth 1/ 2
Provider                    5 Provider_MA                1 Eth 1/ 3
Provider                    5 Provider_MA                1 Eth 1/ 4
Provider                    5 Provider_MA                1 Eth 1/ 5
Provider                    5 Provider_MA                1 Eth 1/ 6
Provider                    5 Provider_MA                1 Eth 1/ 7
Provider                    5 Provider_MA                1 Eth 1/ 8
Provider                    5 Provider_MA                1 Eth 1/ 9
Provider                    5 Provider_MA                1 Eth 1/10
Provider                    5 Provider_MA                1 Eth 1/11
Provider                    5 Provider_MA                1 Eth 1/12
Provider                    5 Provider_MA                1 Eth 1/13
Provider                    5 Provider_MA                1 Eth 1/14
Provider                    5 Provider_MA                1 Eth 1/15
Provider                    5 Provider_MA                1 Eth 1/16
Provider                    5 Provider_MA                1 Eth 1/17
Provider                    5 Provider_MA                1 Eth 1/18
Provider                    5 Provider_MA                1 Eth 1/19
Provider                    5 Provider_MA                1 Eth 1/20
Provider                    5 Provider_MA                1 Eth 1/21
Provider                    5 Provider_MA                1 Eth 1/22
Provider                    5 Provider_MA                1 Eth 1/23
Provider                    5 Provider_MA                1 Eth 1/24
Provider                    5 Provider_MA                1 Eth 1/25
Provider                    5 Provider_MA                1 Eth 1/26
Provider                    5 Provider_MA                1 Eth 1/27
Provider                    5 Provider_MA                1 Eth 1/28

 

mceclip6.png

Figure 7

 

Step23. Initiate CFM Linktrace to SW4 MEP 41, because of the MIPs, we can new the detail path from SW3 to SW4 is via SW 2 and 1.

SW_3-0#EThernet cfm linktrace dest-mep 41 md Provider ma Provider_MA
SW_3-0#sh ethernet cfm linktrace-cache
Hops MA             IP / Alias              Ingress MAC       Ing. Action Relay
                    Forwarded               Egress MAC        Egr. Action
---- -------------- ----------------------- ----------------- ----------- -----
   1 Provider_MA    192.168.1.4             70-72-CF-58-F9-25 ingOk       Hit
                    Not Forwarded
   1 Provider_MA    192.168.1.2             70-72-CF-58-F8-94 ingOk       FDB
                    Forwarded               70-72-CF-58-F8-96 egrOk
   2 Provider_MA    192.168.1.1             70-72-CF-58-F8-3D ingOk       FDB
                    Forwarded               70-72-CF-58-F8-3F egrOk
   3 Provider_MA    192.168.1.4             70-72-CF-58-F9-25 ingOk       Hit
                    Not Forwarded

 

mceclip7.png

Step24. Initiate CFM Linktrace from SW4 to SW3 remote MEP 32, because of the MIPs, we can new the detail path from SW4 to SW3 is via SW 1 and 2.

SW_4-0#EThernet Cfm linktrace dest-mep 32 md Provider ma Provider_MA
SW_4-0#sh ethernet cfm linktrace-cache
Hops MA             IP / Alias              Ingress MAC       Ing. Action Relay
                    Forwarded               Egress MAC        Egr. Action
---- -------------- ----------------------- ----------------- ----------- -----
   1 Provider_MA    192.168.1.3             70-72-CF-58-F9-0A ingOk       Hit
                    Not Forwarded
   1 Provider_MA    192.168.1.3             70-72-CF-58-F9-0A ingOk       Hit
                    Not Forwarded
   1 Provider_MA    192.168.1.1             70-72-CF-58-F8-3F ingOk       FDB
                    Forwarded               70-72-CF-58-F8-3D egrOk
   2 Provider_MA    192.168.1.2             70-72-CF-58-F8-96 ingOk       FDB
                    Forwarded               70-72-CF-58-F8-94 egrOk
   3 Provider_MA    192.168.1.3             70-72-CF-58-F9-0A ingOk       Hit
                    Not Forwarded