20 
•  The port is configured as a MIP or an inward-facing MEP that can still receive and send CFD 
messages except CCM messages.  
For more information about the spanning tree feature, see Layer 2—LAN Switching Configuration Guide. 
Configuring basic CFD settings 
This section provides procedures for configuring basic CFD settings. 
Enabling CFD 
Enable CFD before you perform other configuration tasks.  
To enable CFD on a device: 
 
Ste
 Command
Remarks 
1.  Enter system view. 
system-view  N/A 
2.  Enable CFD. 
cfd enable  By default, CFD is disabled.  
 
Configuring the CFD protocol version 
Three CFD protocol versions are available: IEEE 802.1ag draft5.2 version, IEEE 802.1ag draft5.2 interim 
version, and IEEE 802.1ag standard version.  
Devices in the same MD must use the same CFD protocol version. Otherwise, they cannot exchange CFD 
protocol packets. 
If an MD is created by using the cfd md command or automatically generated by using the cfd 
service-instance maid format command on a device, you cannot switch between the standard version 
and draft5.2 version (or draft5.2 interim version). However, you can switch between the draft5.2 version 
and draft5.2 interim version. This restriction does not apply to the device without an MD configured. 
To configure the CFD protocol version: 
 
Ste
 Command
Remarks 
1.  Enter system view. 
system-view  N/A 
2.  Configure the CFD protocol 
version. 
cfd version { draft5 | draft5-plus | 
standard } 
Optional. 
By default, CFD uses the standard 
version of IEEE 802.1ag. 
 
Configuring service instances 
Before configuring the MEPs and MIPs, first configure service instances. A service instance is a set of 
service access points (SAPs), and belongs to an MA in an MD.  
A service instance is indicated by an integer to represent an MA in an MD. The MD and MA define the 
level and VLAN attribute of the messages handled by the MPs in a service instance. 
Service instances fall into two types: 
•  Service instance with the MD name, which takes effect in any version of CFD.