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: ]

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:

  • Yes means that the device has forwarded the LTMs.

  • No means that the device did not forward the 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:

  • Hit—Indicates that the current device is the destination device.

  • FDB—Indicates that the forwarding device found the destination MAC address.

  • MPDB—Indicates that the destination MAC address is not found, or that the destination MAC address is found in the MEP or MIP database.

When the IEEE 802.1ag draft5.2 version or the IEEE 802.1ag draft5.2 interim version of CFD is used:

  • Found—Indicates that the forwarding device found the destination MAC address.

  • Unknown—Indicates that the forwarding device failed to find the destination MAC address.

  • None—Indicates that it is a MEP that responded to the LTM message. A MEP does not need to find the destination MAC address.