display cfd linktrace-reply auto-detection
Syntax
display cfd linktrace-reply auto-detection [ size size-value ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
size size-value: Specifies the times of recent auto-detections, ranging from 1 to 100.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display cfd linktrace-reply auto-detection to display the content of the LTR messages received as responses to the automatically sent LTMs.
These LTR messages received as responses to automatically sent LTMs are stored in the buffer after you executed the cfd linktrace auto-detection command.
If no size is specified, this command displays information about all LTRs stored in the buffer.
Related commands: cfd linktrace auto-detection.
Examples
# Display the contents of the LTRs received as responses to the LTMs automatically sent when the standard version (IEEE 802.1ag) of CFD is used.
<Sysname> system-view [Sysname] cfd version standard [Sysname] display cfd linktrace-reply auto-detection Service instance: 1 MEP ID: 1003 Time: 2012/05/22 10:43:57 Target MEP ID: 2005 TTL: 64 MAC Address TTL Last MAC Relay Action 0000-FC00-6505 63 0000-FC00-6504 MPDB 000F-E269-A852 62 0000-FC00-6505 FDB 0000-FC00-6508 61 000F-E269-A852 Hit Service instance: 2 MEP ID: 1023 Time: 2012/05/22 10:44:06 Target MEP ID: 2025 TTL: 64 MAC Address TTL Last MAC Relay Action 0000-FC00-6508 61 000F-E269-A852 Hit
# Display the contents of the LTRs received as responses to the LTMs automatically sent when the IEEE 802.1ag draft5.2 version of CFD is used.
<Sysname> system-view [Sysname] cfd version draft5 [Sysname] display cfd linktrace-reply auto-detection Service instance: 1 MEP ID: 1003 Time: 2012/05/22 10:43:57 Target MEP ID: 2005 TTL: 64 MAC Address TTL Forwarded Relay Action 00E0-FC27-6502 63 Yes Found 00E0-FC00-6510 62 Yes Found 00E0-FC52-BAA0 61 No None Service instance: 2 MEP ID: 1023 Time: 2012/05/22 10:44:06 Target MEP ID: 2025 TTL: 64 MAC Address TTL Forwarded Relay Action 00E0-FC27-6502 63 No None
# Display the contents of the LTRs received as responses to the LTMs automatically sent when the IEEE 802.1ag draft5.2 interim version of CFD is used.
<Sysname> system-view [Sysname] cfd version draft5-plus [Sysname] display cfd linktrace-reply auto-detection Service instance: 1 MEP ID: 1003 Time: 2012/05/22 10:43:57 Target MEP ID: 2005 TTL: 64 MAC Address TTL Forwarded Relay Action 00E0-FC27-6502 63 Yes Found 00E0-FC00-6510 62 Yes Found 00E0-FC52-BAA0 61 No None Service instance: 2 MEP ID: 1023 Time: 2012/05/22 10:44:06 Target MEP ID: 2025 TTL: 64 MAC Address TTL Forwarded Relay Action 00E0-FC27-6502 63 No None
NOTE: The output varies by CFD protocol version. | ||
Table 11: Command output
Field | Description |
---|---|
Service instance | Service instance to which the MEPs that sent LTM messages belong. |
MEP ID | ID of the MEP that sends LTMs. |
Time | Time of the LTMs automatically sent. |
Target MEP ID | ID of the target MEP. |
TTL | Initial hop count of the automatically sent LTMs. |
MAC Address | Source MAC address in the LTR messages. |
TTL | Hop count when LTM passes the device. |
Last MAC | MAC address of the last-hop device the LTM passes. |
Forwarded | Indicates whether the device forwards LTMs:
|
Relay Action | Indicates whether the forwarding device found the destination MAC address in its MAC address table. When the standard version (IEEE 802.1ag) of CFD is used:
When the IEEE 802.1ag draft5.2 version or the IEEE 802.1ag draft5.2 interim version of CFD is used:
|