Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

traceroute mpls rsvp

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
traceroute mpls <rsvp> lsp-name
<detail>
<egress>
<exp>
<logical-system>
<multipoint>
<no-resolve>
<retries>
<source source-address>
<ttl>

Description

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.)

Options

lsp-name

Specify the name of the LSP to be traced.

detail

(Optional) Display detailed output.

egress

(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.

exp

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

logical-system

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

multipoint

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

no-resolve

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

retries

(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.

ttl

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

Required Privilege Level

network

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

ttl

Time-to-live value of the labeled packet.

none specified

Label

MPLS label used to forward the packets along the LSP.

none specified

Protocol

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

none specified

Address

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

Hop

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

detail

Parent

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

detail

Return Code

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

detail

Sender timestamp

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

detail

Receiver timestamp

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

detail

Response time

Time for the echo request to reach the receiver.

detail

MTU

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

detail

Multipath type

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

detail

Label stack

Label stack used to forward the packet.

detail

Path

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

all levels

Sample Output

traceroute mpls rsvp

content_copy zoom_out_map
user@host> traceroute mpls rsvp lsp-chicago-atlanta

     Probe options: retries 3, exp 7

     ttl    Label  Protocol    Address          Previous Hop     Probe Status
       1   299792  RSVP—TE        192.168.1.2      (null)           Success
       2   299803  RSVP—TE        192.168.2.3      192.168.1.2      Success
       3        3  RSVP—TE        192.168.3.4      192.168.2.3      Egress

     Path 1 via ge-0/0/0.1 destination 127.0.0.64

traceroute mpls rsvp detail

content_copy zoom_out_map
user@host> traceroute mpls rsvp lsp-chicago-atlanta detail
Probe options: retries 3, exp 7

   Hop 192.168.1.2 Depth 1
     Probe status: Success
     Parent: (null)
     Return code: Label-switched at stack-depth 1
     Sender timestamp: 2008-04-17 09:35:27 EDT 400.88 msec
     Receiver timestamp: 2008-04-17 09:35:27 EDT 427.87 msec
     Response time: 26.99 msec
     MTU: Unknown
     Multipath type: IP bitmask
       Address Range 1: 127.0.0.64 ~ 127.0.0.127
     Label Stack:
       Label 1 Value 299792 Protocol RSVP-TE

Hop 192.168.2.3 Depth 2
     Probe status: Success
     Parent: 192.168.1.2
     Return code: Upstream interface index unknown label-switched at stack-depth 1
     Sender timestamp: 2008-04-17 09:35:27 EDT 522.13 msec
     Receiver timestamp: 2008-04-17 09:35:27 EDT 548.69 msec
     Response time: 26.55 msec
     MTU: 1518
     Multipath type: IP bitmask
       Address Range 1: 127.0.0.64 ~ 127.0.0.127
     Label Stack:
       Label 1 Value 299803 Protocol RSVP-TE

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.

content_copy zoom_out_map
user@host> traceroute mpls rsvp multipoint p2mplsp
  Probe options: retries 3, exp 7
       
  ttl    Label  Protocol    Address          Previous Hop     Probe Status
    1   300000  RSVP-TE     81.1.2.2         (null)           Success
    2   299968  RSVP-TE     81.2.3.3         81.1.2.2         Success
    3   299952  RSVP-TE     81.3.4.4         81.2.3.3         Success
    4   299920  RSVP-TE     81.4.6.6         81.3.4.4         Egress
      
  Path 1 via lt-1/2/0.102 destination 127.0.0.64
      
  ttl    Label  Protocol    Address          Previous Hop     Probe Status
    4   299920  RSVP-TE     81.4.5.5         81.3.4.4         Egress
      
  Path 2 via lt-1/2/0.102 destination 127.0.0.64

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.

content_copy zoom_out_map
user@host> traceroute mpls rsvp multipoint p2mplsp
  Probe options: retries 3, exp 7
            
   ttl    Label  Protocol    Address          Previous Hop     Probe Status
     1        0  RSVP-TE     81.1.2.2         (null)           Egress
            
   Path 1 via lt-1/2/0.102 destination 127.0.0.64
            
   ttl    Label  Protocol    Address          Previous Hop     Probe Status
     1        0  RSVP-TE     81.1.8.8         (null)           Egress
            
   Path 2 via lt-1/2/0.108 destination 127.0.0.64
            
   ttl    Label  Protocol    Address          Previous Hop     Probe Status
     1        0  RSVP-TE     81.1.9.9         (null)           Egress
            
   Path 3 via lt-1/2/0.109 destination 127.0.0.64

Release Information

Command introduced in Junos OS Release 9.2.

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

footer-navigation