Verifying the configuration – H3C Technologies H3C S12500 Series Switches User Manual
Page 44
33
[DeviceA-GigabitEthernet3/0/1] cfd cc service-instance 1 mep 1001 enable
[DeviceA-GigabitEthernet3/0/1] quit
# On Device B, enable the sending of CCM frames for MEP 2001 in service instance 2 on
GigabitEthernet 3/0/3.
[DeviceB] interface GigabitEthernet3/0/3
[DeviceB-GigabitEthernet3/0/3] cfd cc service-instance 2 mep 2001 enable
[DeviceB-GigabitEthernet3/0/3] quit
# On Device D, enable the sending of CCM frames for MEP 4001 in service instance 2 on
GigabitEthernet 3/0/1, and enable the sending of CCM frames for MEP 4002 in service instance
1 on GigabitEthernet 3/0/3.
[DeviceD] interface GigabitEthernet3/0/1
[DeviceD-GigabitEthernet3/0/1] cfd cc service-instance 2 mep 4001 enable
[DeviceD-GigabitEthernet3/0/1] quit
[DeviceD] interface GigabitEthernet3/0/3
[DeviceD-GigabitEthernet3/0/3] cfd cc service-instance 1 mep 4002 enable
[DeviceD-GigabitEthernet3/0/3] quit
# On Device E, enable the sending of CCM frames for MEP 5001 in service instance 1 on
GigabitEthernet 3/0/4.
[DeviceE] interface GigabitEthernet3/0/4
[DeviceE-GigabitEthernet3/0/4] cfd cc service-instance 1 mep 5001 enable
[DeviceE-GigabitEthernet3/0/4] quit
7.
Configure AIS:
# Enable AIS on Device B, and configure the AIS frame transmission level as 2 and AIS frame
transmission interval as 1 second in service instance 2.
[DeviceB] cfd ais enable
[DeviceB] cfd ais level 5 service-instance 2
[DeviceB] cfd ais period 1 service-instance 2
Verifying the configuration
1.
Verify the LB function:
When the CC function detects a link fault, use the LB function to locate the fault.
# 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 time=5ms
Reply from 0010-FC00-6512: sequence number=1001-43405 time=5ms
Reply from 0010-FC00-6512: sequence number=1001-43406 time=5ms
Reply from 0010-FC00-6512: sequence number=1001-43407 time=5ms
Reply from 0010-FC00-6512: sequence number=1001-43408 time=5ms
Send:5 Received:5 Lost:0
After the whole network status is obtained with the CC function, use the LT function to identify the
paths between source and target MEPs or locate faults.
2.
Verify the LT function:
# 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