How to use Layer2 traceroute (a.k.a CFM linktrace) on Edgecore Switch ?

Steven_zhangCreated at:Dec 11, 2019 13:21:12Updated at:Dec 11, 2019 13:21:20

Support models:

ECS4620 series, Version: 1.2.2.34

ECS4510 series, Version: 1.5.2.34

ECS4120 series, Version: 1.0.2.33

ECS4100 series, Version: 1.2.4.173

ECS4110 series, Version: 1.2.3.12

ECS3500 series, Version: 1.5.2.8

 

Here's the sample: (use ECS4620-28F)

Topology:

mceclip0.png

Maintenance End Point (MEP): generates and responds to CFM PDUs

Maintenance Intermediate Points (MIP): Forwarding CFM PDUs as intermediate maintenance points

 

SW1 configuration:

SW1#con
SW1(config)#ethernet cfm domain index 1 name Test level 5

(create maintenance domain [MD], the index is 1, name is character string "Test", the MD level 5)

SW1(config-ether-cfm)#ma index 1 name Test_MA vlan 1

(create maintenance association [MA] service in MD, the index is 2, name is "Test_MA" and  service VLAN identifier is "1".)

SW1(config-ether-cfm)#mep crosscheck mpid 20 ma Test_MA

(Configure MEP crosscheck with mpid 20 on SW 3 ma "Test_MA". The Cross Check List for a MD contains a list of MEPID (Maintenance End Point Identifier) which are configured in a MA)

SW1(config-ether-cfm)#exit
SW1(config)#interface ethernet 1/1
SW1(config-if)#ethernet cfm mep mpid 10 md Test ma Test_MA

(Create mep mpid 10 on port 1)

 

SW2 configuration:

SW2#con
SW2(config)#ethernet cfm domain index 1 name Test level 5
SW2(config-ether-cfm)#ma index 1 name Test_MA vlan 1
SW2(config-ether-cfm)#end

 

SW3 configuration:

SW3#con
SW3(config)#ethernet cfm domain index 1 name Test level 5
SW3(config-ether-cfm)#ma index 1 name Test_MA vlan 1
SW3(config-ether-cfm)#mep crosscheck mpid 10 ma Test_MA
SW3(config-ether-cfm)#exit
SW3(config)#interface ethernet 1/1
SW3(config-if)#ethernet cfm mep mpid 20 md Test ma Test_MA

 

The Link trace SW1 port1 to SW3 port 1.

mceclip1.png

The MAC listed as below are the port MAC.

8C-EA-1B-57-9B-24 (SW2 port 1/1 MAC)

8C-EA-1b-57-9B-25 (SW2 port 1/2 MAC)

70-72-CF-FD-AE-DA (SW3 port 1/1 MAC)