Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

traceroute ethernet

Syntax

traceroute ethernet (mac-address | mep-id)maintenance-association ma-namemaintenance-domain md-namettl value<wait seconds>

Release Information

Command introduced in Junos OS Release 9.0.

mep-id option introduced in Junos OS Release 9.1.

Description

Triggers the linktrace protocol to trace the route between two maintenance points. The result of the traceroute protocol is stored in the path database. To display the path database, use the show oam ethernet connectivity-fault-management path-database command.

Before using the traceroute command, you can verify the remote MEP’s MAC address using the show oam ethernet connectivity-fault-management path-database command.

Options

mac-address

Destination unicast MAC address of the remote maintenance point.

mep-id

MEP identifier of the remote maintenance point. The range of values is 1 through 8191.

maintenance-association ma-name

Specifies an existing maintenance association from the set of configured maintenance associations.

maintenance-domain md-name

Specifies an existing maintenance domain from the set of configured maintenance domains.

ttl value

Number of hops to use in the linktrace request. The range is 1 to 255 hops. The default is 4.

wait seconds

(Optional) Maximum time to wait for a response to the traceroute request. The range is 1 to 255 seconds. The default is 5.

Required Privilege Level

network

List of Sample Output

traceroute ethernet

Output Fields

Table 1 lists the output fields for the traceroute ethernet command. Output fields are listed in the approximate order in which they appear.

Table 1: traceroute ethernet Output Fields

Field Name

Field Description

Linktrace to

MAC address of the destination maintenance point.

Interface

Local interface used to send the linktrace message (LTM).

Maintenance Domain

Maintenance domain specified in the traceroute command.

Level

Maintenance domain level configured.

Maintenance Association

Maintenance association specified in the traceroute command.

Local Mep

The local maintenance end point identifier.

Transaction Identifier

4-byte identifier maintained by the MEP. Each LTM uses a transaction identifier. The transaction identifier is maintained globally across all Maintenance Domains. Use the transaction identifier to match an incoming linktrace response (LTR), with a previously sent LTM.

Hop

Sequential hop count of the linktrace path.

TTL

Number of hops remaining in the linktrace message. The time to live (TTL) is decremented at each hop.

Source MAC address

MAC address of the 802.1ag maintenance point that is sending the linktrace message.

Next-hop MAC address

MAC address of the 802.1ag node that is the next hop in the LTM path.

Sample Output

traceroute ethernet

user@host> traceroute ethernet maintenance-domain md1 maintenance-association ma1 00:90:69:7e:01:ff
Linktrace to 00:01:02:03:04:05, Interface : ge-5/0/0.0
       Maintenance Domain: MD1, Level: 7
       Maintenance Association: MA1, Local Mep: 1

       Hop     TTL      Source MAC address        Next hop MAC address     
       Transaction Identifier:100001
       1       63       00:00:aa:aa:aa:aa         00:00:bb:bb:bb:bb
       2       62       00:00:bb:bb:bb:bb         00:00:cc:cc:cc:cc
       3       61       00:00:cc:cc:cc:cc         00:01:02:03:04:05
       4       60       00:01:02:03:04:05         00:00:00:00:00:00

Published: 2013-08-29

Published: 2013-08-29