33
# On Device A, enable the sending of CCM frames for MEP 1001 in service instance 1 on
GigabitEthernet 1/0/1.
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] cfd cc service-instance 1 mep 1001 enable
[DeviceA-GigabitEthernet1/0/1] quit
# On Device B, enable the sending of CCM frames for MEP 2001 in service instance 2 on
GigabitEthernet 1/0/3.
[DeviceB] interface gigabitethernet 1/0/3
[DeviceB-GigabitEthernet1/0/3] cfd cc service-instance 2 mep 2001 enable
[DeviceB-GigabitEthernet1/0/3] quit
# On Device D, enable the sending of CCM frames for MEP 4001 in service instance 2 on
GigabitEthernet 1/0/1, and enable the sending of CCM frames for MEP 4002 in service instance 1 on
GigabitEthernet 1/0/3.
[DeviceD] interface gigabitethernet 1/0/1
[DeviceD-GigabitEthernet1/0/1] cfd cc service-instance 2 mep 4001 enable
[DeviceD-GigabitEthernet1/0/1] quit
[DeviceD] interface gigabitethernet 1/0/3
[DeviceD-GigabitEthernet1/0/3] cfd cc service-instance 1 mep 4002 enable
[DeviceD-GigabitEthernet1/0/3] quit
# On Device E, enable the sending of CCM frames for MEP 5001 in service instance 1 on
GigabitEthernet 1/0/4.
[DeviceE] interface gigabitethernet 1/0/4
[DeviceE-GigabitEthernet1/0/4] cfd cc service-instance 1 mep 5001 enable
[DeviceE-GigabitEthernet1/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
Verify the configurations
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.