25
Figure 5 Network diagram
Configuration procedure
1. Configure a VLAN and assign ports to it:
On each device shown in Figure 5, cre
ate VLAN 100 and assign ports Ten-GigabitEthernet
1/0/1 through Ten-GigabitEthernet 1/0/4 to VLAN 100.
2. Enable CFD:
# Enable CFD on Device A.
<DeviceA> system-view
[DeviceA] cfd enable
# Configure Device B through Device E in the same way Device A is configured. (Details not
shown.)
3. Configure service instances:
# Create MD_A (level 5) on Device A, and create service instance 1 (in which the MA is
identified by a VLAN and serves VLAN 100).
[DeviceA] cfd md MD_A level 5
[DeviceA] cfd service-instance 1 ma-id vlan-based md MD_A vlan 100
# Configure Device E in the same way Device A is configured. (Details not shown.)
# Create MD_A (level 5) on Device B, and create service instance 1 (in which the MA is
identified by a VLAN and serves VLAN 100).
[DeviceB] cfd md MD_A level 5
[DeviceB] cfd service-instance 1 ma-id vlan-based md MD_A vlan 100
# Create MD_B (level 3), and create service instance 2 (in which the MA is identified by a VLAN
and serves VLAN 100)
[DeviceB] cfd md MD_B level 3
[DeviceB] cfd service-instance 2 ma-id vlan-based md MD_B vlan 100
# Configure Device D in the same way Device B is configured. (Details not shown.)
# Create MD_B (level 3) on Device C, and create service instance 2 (in which the MA is
identified by a VLAN and serves VLAN 100).
[DeviceC] cfd md MD_B level 3
[DeviceC] cfd service-instance 2 ma-id vlan-based md MD_B vlan 100
4. Configure MEPs: