Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


traceroute mpls rsvp



Trace route to a remote host for an MPLS LSP signaled by RSVP. Use traceroute mpls rsvp as a debugging tool to locate MPLS label-switched path (LSP) forwarding issues in a network. (Currently supported for IPv4 packets only.)



Specify the name of the LSP to be traced.


(Optional) Display detailed output.


(Optional) Request that a specific point-to-multipoint egress node reply to the trace route. The trace route would follow the associated sub-LSP to the egress node.


(Optional) Specify the class of service to use when sending probes. The range of values is 0 through 7. The default value is 7.


(Optional) Specify the name of the logical system for the traceroute attempt.


(Optional) Perform a trace route on a point-to-multipoint LSP.


(Optional) Specify not to resolve the hostname that corresponds to the IP address.


(Optional) Specify the number of times to resend probe. The range of values is 1 through 9. The default value is 3.

source source-address

(Optional) Specify the source address of the outgoing traceroute packets.


(Optional) Specify the number of hops to follow before forcing the trace route to quit.

Required Privilege Level


Output Fields

Table 1 describes the output fields for the traceroute mpls rsvp lsp-name and traceroute mpls rsvp lsp-name detail commands. Output fields are listed in the approximate order in which they appear.

Table 1: traceroute mpls rsvp Output Fields

Field Name

Field Description

Level of Output

Probe options

Probe options specified in the traceroute mpls rsvp lsp-name command.

all levels


Time-to-live value of the labeled packet.

none specified


MPLS label used to forward the packets along the LSP.

none specified


Signaling protocol used. For this command, it is RSVP-TE.

none specified


Address of the next hop.

none specified

Previous Hop

Address of the previous hop. Previous hop address of the first hop is null.

none specified

Probe status

Forwarding status from the first hop to the last-hop label-switching router (egress point in the label-switched paths). Displays Success if the trace to a hop is successful or Egress if the trace has reached the last router on the path.

none specified


Address of the hops in the label-switched path from the first hop to the last hop. Depth indicates the level of the hop.



Address of the previous hop. Parent value for the first hop is null.


Return Code

Return code for reporting the result of processing the echo request by the receiver.


Sender timestamp

Displays the timestamp when the MPLS echo request is sent to the next hop.


Receiver timestamp

Timestamp when the echo request from the previous hop is received and acknowledged with an echo response by the next hop.


Response time

Time for the echo request to reach the receiver.



Size of the largest packet that includes the label stack forwarded to the next hop.


Multipath type

Labels or addresses used by the specified multipath type. If multipaths are not used, the value is none.


Label stack

Label stack used to forward the packet.



Displays the sub-lsp path number for this traceroute, the interface used, and the destination address.

all levels

Sample Output

traceroute mpls rsvp

traceroute mpls rsvp detail

traceroute mpls rsvp multipoint (branch node for sub-LSPs)

The following traceroute output is for a point-to-multipoint LSP where the penultimate node is a branch node for the sub-LSPs.

traceroute mpls rsvp multipoint (single-hop sub-LSPs)

The following traceroute output is for a point-to-multipoint LSP with multiple single-hop sub-LSPs.

Release Information

Command introduced in Junos OS Release 9.2.

egress, multipoint, and ttl options added in Junos OS Release 11.2.