CFD configuration example
Network requirements
As shown in
•
The network comprises five devices and is divided into two MDs: MD_A (level 5) and MD_B
(level 3). All ports belong to VLAN 100, and the MAs in the two MDs all serve VLAN 100.
Assume that the MAC addresses of Router A through Router E are 0010-FC00-6511,
0010-FC00-6512, 0010-FC00-6513, 0010-FC00-6514, and 0010-FC00-6515, respectively.
•
MD_A has three edge ports: GigabitEthernet 3/0/1 on Router A, GigabitEthernet 3/0/3 on
Router D, and GigabitEthernet 3/0/4 on Router E. They are all inward-facing MEPs. MD_B has
two edge ports: GigabitEthernet 3/0/3 on Router B and GigabitEthernet 3/0/1 on Router D. They
are both outward-facing MEPs.
•
In MD_A, Router B is designed to have MIPs when its port is configured with low level MEPs.
Port GigabitEthernet 3/0/3 is configured with MEPs of MD_B, and the MIPs of MD_A can be
configured on this port. Configure the MIP generation rule of MD_A as explicit.
•
The MIPs of MD_B are designed on Router C, and are configured on all ports. You should
configure the MIP generation rule as default.
•
Configure CC to monitor the connectivity among all the MEPs in MD_A and MD_B. Configure
LB to locate link faults.
•
After the status information of the entire network is obtained, use LT to detect link faults.
Figure 6 Network diagram
Configuration procedure
1.
Configure a VLAN and assign ports to it:
On each device shown in
2.
Enable CFD:
# Enable CFD on Router A.
<RouterA> system-view
[RouterA] cfd enable
Enable CFD on Router B through Router E using the same method.
3.
Configure service instances:
Figure
6:
Figure
6, create VLAN 100 and assign all ports to VLAN 100.
27