20
• Only the outward-facing MEP on a physical port supports hardware CC. The hardware CC
function does not take effect on the physical port in either of the following cases:
{ The physical port is added to an aggregation group.
{ The MEP on the physical port is an inward-facing MEP.
• For the outward-facing MEP on the card that supports hardware CC to receive CCMs, enable
hardware CC on the port where the outward-facing MEP resides.
To configure CC on a MEP:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. (Optional.) Set the CCM
interval field.
cfd cc interval
interval-value
service-instance
instance-id
By default, the interval field value
is 4.
3. Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view.
interface
interface-type
interface-number
N/A
4. Enable CCM sending on a
MEP.
cfd cc service-instance
instance-id
mep
mep-id
enable
By default, CCM sending is
disabled on a MEP.
Configuring LB
The LB function can verify the link state between the local MEP and the remote MEP or MIP.
To configure LB on a MEP:
Task Command Remarks
Enable LB.
cfd loopback service-instance
instance-id
mep
mep-id
{
target-mac
mac-address |
target-mep
target-mep-id
}
[
number
number ]
Available in any view.
Configuring LT
LT can trace the path between source and target MEPs, and can locate link faults by automatically
sending LT messages. The two functions are implemented in the following way:
• Tracing path—The source MEP first sends LTM messages to the target MEP. Based on the
LTR messages in response to the LTM messages, the path between the two MEPs is identified.
• LT messages automatic sending—If the source MEP fails to receive the CCM frames from
the target MEP within 3.5 times the transmission interval, the link between the two is considered
faulty. LTM frames (with the target MEP as the destination and the TTL field in the LTM frames
set to the maximum value 255) will be sent out. Based on the LTRs that the MIPs return, the
fault source is located.
IMPORTANT:
Before you configure LT on a MEP in an MA carrying VLAN attribute, create the VLAN to which the
MA belongs.
To configure LT on MEPs: