Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

traceroute mpls segment-routing static egress-ip

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
traceroute mpls segment-routing static egress-ip
<egress-ip ( destination |  detail | exp | fanout | logical-system | no-resolve | retries |  routing-instance | source | ttl | wait) >
content_copy zoom_out_map
traceroute mpls segment-routing spring-te label-stack
<label-stack ( destination | detail | egress | exp | fanout | labels | logical-system | nexthop-address | nexthop-interface | no-resolve | paths | retries | source | ttl | wait) >

Description

Use traceroute mpls segment-routing static as a debugging tool to locate MPLS label-switched path forwarding issues for prpd programmed network.

Options

egress-ip

Specify to trace to or install IP address to use when sending probes.

destination

Specify the destination address to use when sending probes.

detail

(Optional) Display detailed output.

exp exp

(Optional) Specify the class of service to use when sending probes.

  • Range: 0 through 7

fanoutfanout

(Optional) Specify the maximum number of nexthops to search per node.

  • Range: 1 through 64

logical-system logical-system-name

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

no-resolve

(Optional) Specify not to attempt to print addresses symbolically.

paths paths

(Optional) Specify maximum number of paths to traverse.

  • Range: 1 through 255

retries retries-number

(Optional) Specify the number of times to resend probe values.

  • Range: 1 through 9

source source-address

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

ttl value

(Optional) Specify the maximum time-to-live value to include in the traceroute request, in seconds.

  • Range: 1 through 255

waitwait

(Optional) Specify the number of seconds to wait before resending the outgoing traceroute packets.

  • Range: 5 through 15

label-stack

Specify the label stack for traceroute packets.

detail

(Optional) Display detailed output.

egress

(Optional) Specify the egress IP address.

labels

(Optional) Specify the labels in label stack.

  • Range: 16 through 1048575

logical-system logical-system-name

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

nexthop-address address

(Optional) Specify the nexthop IP address for the traceroute packet.

nexthop-interface interface

(Optional) Specify the outgoing interface for the traceroute packet.

no-resolve

(Optional) Specify not to attempt to print addresses symbolically.

retries retries-number

(Optional) Specify the number of times to resend probe values.

  • Range: 1 through 9

source source-address

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

ttl value

(Optional) Specify the maximum time-to-live value to include in the traceroute request, in seconds.

  • Range: 1 through 255

waitvalue

(Optional) Specify the number of seconds to wait before resending probe.

  • Range: 5 through 15

Additional Information

Note:

NIL FEC validation is supported. The FEC validation for SWAN ping and traceroute command is not supported.

Note:

traceroute mpls segment-routing spring-te command with label-stack option is supported in operational mode only. It is not supported in configuration mode.

Note:

Traceroute with label-stack option can be executed only once at a time

Note:

In case of traceroute mpls segment-routing spring-te, the Packet Forwarding Engine supports only 16 ECMP paths. If there more than 16 ECMP paths to the LSP, you can perform traceroute to a maximum of 16 paths.

Note:

Traceroute with label-stack option displays FEC stack sent as SPRING-TE. SPRING-TE implicitly means NIL FEC.

Required Privilege Level

network

Output Fields

The following table describes the output fields for the traceroute mpls segment-routing static command. Output fields are listed in the approximate order in which they appear.

Table 1: traceroute mpls segment-routing static Output Fields

Field Name

Field Description

Level of Output

Probe options

Probe options specified in the traceroute mpls segment-routing static command.

all levels

ttl

Time to live value of the labeled packet.

none specified

Label

Outgoing label used for forwarding the packet along the label-switched paths.

none specified

Protocol

Signaling protocol used. For this command, it is static.

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

none specified

Previous Hop

Address of the previous hop in the label-switched path.

detail

FEC-Stack-Sent

FEC stack used to forward the packet.

detail

Sample Output

traceroute mpls segment-routing static ?

content_copy zoom_out_map
user@host> traceroute mpls segment-routing static ?
Possible completions:
     egress-ip                  To/Install IP address to use when sending probes
  

traceroute mpls segment-routing static (egress-ip)

content_copy zoom_out_map
user@host> traceroute mpls segment-routing static egress-ip ::100.100.100.4 
          Probe options: retries 3, exp 7
          
          ttl    Label      Protocol    Address          Previous Hop     Probe Status
          1   600040  Static         21.1.2::2          (null)                  Success           
          FEC-Stack-Sent: NIL 
          ttl    Label      Protocol    Address          Previous Hop     Probe Status
          2   600040   Static        21.2.6::2          21.1.2::2             Success           
          FEC-Stack-Sent: NIL 
          ttl    Label      Protocol    Address          Previous Hop     Probe Status
          3        3        Static     21.3.4.::2         21.2.3::2             Egress            
          FEC-Stack-Sent: NIL 
          
          Path 1 via ge-0/0/2.0 destination ::ffff:127.0.0.64
          
          ttl    Label     Protocol    Address          Previous Hop     Probe Status
          1   600040  Static        21.1.5::2          (null)                   Success           
          FEC-Stack-Sent: NIL 
          ttl    Label      Protocol    Address          Previous Hop     Probe Status
          2   600040   Static        21.3.5::1          21.1.5::2              Success           
          FEC-Stack-Sent: NIL 
          ttl    Label      Protocol    Address          Previous Hop     Probe Status
          3        3        Static     21.3.4::2          21.3.5::1              Egress            
          FEC-Stack-Sent: NIL 
          
          Path 2 via ge-0/0/7.0 destination ::ffff:127.0.1.64
          
        

traceroute mpls segment-routing spring-te with label-stack, nexthop-address, nexthop-interface as input

content_copy zoom_out_map
user@host>traceroute mpls segment-routing spring-te label-stack labels 600040 nexthop-address 21.1.2.2 nexthop-interface ge-0/0/2.0
      Warning: License key missing; requires 'sr' license
      
      Probe options: retries 3, exp 7
      
      ttl    Label     Protocol    Address          Previous Hop     Probe Status
      1     600040    Static      21.1.2:2          (null)               Success           
      FEC-Stack-Sent: SPRING-TE 
      ttl    Label     Protocol    Address          Previous Hop     Probe Status
      2     600040    Static      21.2.6:2          21.1.2:2              Success           
      FEC-Stack-Sent: SPRING-TE 
      ttl    Label     Protocol    Address          Previous Hop     Probe Status
      3        3      Static      21.4.6:1          21.2.6:2              Egress            
      FEC-Stack-Sent: SPRING-TE 
      
      Path 1 via ge-0/0/2.0 destination 127.0.0.64
      

traceroute mpls segment-routing spring-te (label-stack)

content_copy zoom_out_map
user@host> traceroute mpls segment-routing spring-te label-stack labels 900006 labels 900041 nexthop-address 12.1.1.2 nexthop-interface ge-0/0/0.0  
Probe options: retries 3, exp 7
  ttl    Label  Protocol    Address          Previous Hop     Probe Status
    1   900041  Static      12.1.1.2         (null)           Success           
  FEC-Stack-Sent: SPRING-TE 
  ttl    Label  Protocol    Address          Previous Hop     Probe Status
    2   900041  Static      23.1.1.2         12.1.1.2         Success           
  FEC-Stack-Sent: SPRING-TE 
  ttl    Label  Protocol    Address          Previous Hop     Probe Status
    1        3  Static      34.1.1.2         23.1.1.2         Success           
  FEC-Stack-Sent: SPRING-TE 
  ttl    Label  Protocol    Address          Previous Hop     Probe Status
    2   900006  Static      45.1.1.2         34.1.1.2         Success           
  FEC-Stack-Sent: SPRING-TE 
  ttl    Label  Protocol    Address          Previous Hop     Probe Status
    3        3  Static      56.1.1.2         45.1.1.2         Egress            
  FEC-Stack-Sent: SPRING-TE 

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

Release Information

Command introduced in Junos OS Release 22.4R1.

footer-navigation