27
[DeviceD] interface ten-gigabitethernet 1/0/1
[DeviceD-Ten-GigabitEthernet1/0/1] cfd cc service-instance 2 mep 4001 enable
[DeviceD-Ten-GigabitEthernet1/0/1] quit
# Enable the sending of CCM frames for MEP 4002 in service instance 1 on
Ten-GigabitEthernet 1/0/3.
[DeviceD] interface ten-gigabitethernet 1/0/3
[DeviceD-Ten-GigabitEthernet1/0/3] cfd cc service-instance 1 mep 4002 enable
[DeviceD-Ten-GigabitEthernet1/0/3] quit
# On Device E, enable the sending of CCM frames for MEP 5001 in service instance 1 on
Ten-GigabitEthernet 1/0/4.
[DeviceE] interface ten-gigabitethernet 1/0/4
[DeviceE-Ten-GigabitEthernet1/0/4] cfd cc service-instance 1 mep 5001 enable
[DeviceE-Ten-GigabitEthernet1/0/4] quit
7. Configure AIS:
# Enable AIS on Device B. 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
8. Configure EAIS:
# Enable port status-AIS collaboration on Device B.
[DeviceB] cfd ais-track link-status global
# On Ten-GigabitEthernet 1/0/3 of Device B, configure the EAIS frame transmission level as 5
and the EAIS frame transmission interval as 60 seconds. Specify the VLANs where the EAIS
frames can be transmitted as VLAN 100.
[DeviceB] interface ten-gigabitethernet 1/0/3
[DeviceB-Ten-GigabitEthernet1/0/3] cfd ais-track link-status level 5
[DeviceB-Ten-GigabitEthernet1/0/3] cfd ais-track link-status period 60
[DeviceB-Ten-GigabitEthernet1/0/3] cfd ais-track link-status vlan 100
[DeviceB-Ten-GigabitEthernet1/0/3] quit
Verifying the configuration
1. Verify the LB function when the CC function detects a link 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-fc05-6515 with the sequence number start from 1001-43404:
Reply from 0010-fc05-6515: sequence number=1001-43404 time=5ms
Reply from 0010-fc05-6515: sequence number=1001-43405 time=5ms
Reply from 0010-fc05-6515: sequence number=1001-43406 time=5ms
Reply from 0010-fc05-6515: sequence number=1001-43407 time=5ms
Reply from 0010-fc05-6515: sequence number=1001-43408 time=5ms
Sent: 5 Received: 5 Lost: 0
2. Verify the LT function after the CC function obtains the status information for the entire network:
# 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-fc05-6515 63 0010-fc02-6512 Hit