H3C Technologies H3C S3100 Series Switches User Manual

Page 1052

Advertising
background image

1-14

# On Device B, enable the sending of CCMs for MEP 2001 in service instance 2 on Ethernet 1/0/3.

[DeviceB] interface ethernet 1/0/3

[DeviceB-Ethernet1/0/3] cfd cc service-instance 2 mep 2001 enable

[DeviceB-Ethernet1/0/3] quit

# On Device D, enable the sending of CCMs for MEP 4001 in service instance 2 on Ethernet 1/0/1, and

enable the sending of CCMs for MEP 4002 in service instance 1 on Ethernet 1/0/3.

[DeviceD] interface ethernet 1/0/1

[DeviceD-Ethernet1/0/1] cfd cc service-instance 2 mep 4001 enable

[DeviceD-Ethernet1/0/1] quit

[DeviceD] interface ethernet 1/0/3

[DeviceD-Ethernet1/0/3] cfd cc service-instance 1 mep 4002 enable

[DeviceD-Ethernet1/0/3] quit

# On Device E, enable the sending of CCMs for MEP 5001 in service instance 1 on Ethernet 1/0/4.

[DeviceE] interface ethernet 1/0/4

[DeviceE-Ethernet1/0/4] cfd cc service-instance 1 mep 5001 enable

[DeviceE-Ethernet1/0/4] quit

7) Verify the configurations

When the CC function detects a link fault, you can use the LB function to locate the fault. For example:

# Enable LB on Device A to check the status of the link between MEP 1001 and MEP 5001 in service

instance 1.

[DeviceA] cfd loopback service-instance 1 mep 1001 target-mep 5001

Loopback to 0010-FC00-6512 with the sequence number start from 1001-43404:

Reply from 0010-FC00-6512: sequence number=1001-43404

Reply from 0010-FC00-6512: sequence number=1001-43405

Reply from 0010-FC00-6512: sequence number=1001-43406

Reply from 0010-FC00-6512: sequence number=1001-43407

Reply from 0010-FC00-6512: sequence number=1001-43408

Send:5 Received:5 Lost:0

After the whole network status is obtained with the CC function, you can use the LT function to identify

the paths between source and destination MEPs or locate faults. For example:

# Identify the path between MEP 1001 and MEP 5001 in service instance 1 on Device A.

[DeviceA] cfd linktrace service-instance 1 mep 1001 target-mep 5001

Linktrace to MEP 5001 with the sequence number 1001-43462

MAC Address TTL Last MAC Relay Action

0010-FC00-6512 63 0010-FC00-6511 Hit

0010-FC00-6511 62 0010-FC00-6510 FDB

Advertising