30
Views
System view
Predefined user roles
network-admin
mdc-admin
Examples
# Enable CFD.
<Sysname> system-view
[Sysname] cfd enable
cfd linktrace
Use
cfd linktrace
to find the path between the source MEP and target MP, which is achieved
through the transmission of LTMs between the two and detection of the responding LTRs.
Syntax
cfd linktrace
service-instance
instance-id
mep
mep-id
{
target-mac
mac-address
|
target-mep
target-mep-id
}
[
ttl
ttl-value
] [
hw-only
]
Views
Any view
Predefined user roles
network-admin
mdc-admin
Parameters
service-instance
instance-id
: Specifies the service instance ID in the range of 1 to 32767.
mep
mep-id
: Specifies the ID of the source MEP, in the range of 1 to 8191.
target-mac
mac-address
: Specifies the destination MAC address, in the format of H-H-H.
target-map
target-mep-id
: Specifies the ID of the destination MEP, in the range of 1 to 8191.
ttl
ttl-value
: Specifies the time to live value in the range of 1 to 255 and defaulting to 64.
hw-only
: Sets the hw-only bits of the LTMs sent. If this keyword is specified, the MIP does not flood
LTM messages that have an unknown destination MAC address.
Examples
# Identify the path between source MEP 1101 and target MEP 2001 in service instance 1.
[Sysname] cfd linktrace service-instance 1 mep 1101 target-mep 2001
Linktrace to MEP 2001 with the sequence number 1101-43361:
MAC Address TTL Last MAC Relay Action
0010-fc00-6512 63 0010-fc00-6500 Hit
Table 7 Command output
Field Description
Linktrace to MEP 2001 with the
sequence number 1101-43361
Linktrace to target MEP 2001
with the sequence number 1101-43361.
MAC Address
Source MAC address in the LTR messages.
TTL
Hop count when the LTM passes the device.