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 srv6

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
routing-options {
source-packet-routing {
srv6 {
+ oam {
+ traceoptions {
file;
flag {
all;
configuration;
database;
network;
pipe;
rpc-packet-details;
traceroute;
)
}
}
}
}
}

 

Description

An SRv6 segment is a 128-bit value Segment Identifier (SID) often used as a shorter reference for SRv6 Segment. Traceroute to a SID is used for hop-by-hop fault localization and to trace path to a SID.

Options

logical-system

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

retries retries-number

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

  • Range: 1 through 9

  • Default: 3

routing-instance routing-instance-name

(Optional) Specify the name of the routing instance for the traceroute attempt.

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 125

  • Default: 64

wait seconds

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

  • Range: 5 through 15

  • Default: 10

Required Privilege Level

network

Output Fields

traceroute srv6 describes the output fields for the traceroute srv6 isis command and the traceroute srv6 spring-te commands. Output fields are listed in the approximate order in which they appear.

Table 1: Output Fields for traceroute srv6 isis

Field Name

Field Description

host

IPv6 loopback address or SRv6 SID of remote host.

logical-system

Name of logical system.

probe-icmp

Use the ICMP echo request for probes.

retries

Number of times to resend the probe.

routing-instance

Name of routing instance for traceroute attempt.

source

Source address used when you send probes.

tos

Value for IPv6 type-of-service.

ttl

Time to live value of the labeled packet.

wait

Number of seconds to wait before resending probe.

Table 2: Output Fields for traceroute srv6 te sids-stack

Field Name

Field Description

logical-system

Name of logical system.

nexthop-address

Nexthop IP address for the traceroute packet.

nexthop-interface

Outgoing interface for the traceroute packet.

no-resolve

Do not attempt to print the addresses symbolically.

probe-icmp

Use the ICMP echo request for probes.

retries

Number of times to resend the probe.

routing-instance

Name of routing instance for traceroute attempt.

sids

SRv6 SIDs in srv6-stack.

source

Source address used when you send probes.

tos

Value for IPv6 type-of-service.

ttl

Time to live value of the labeled packet.

wait

Number of seconds to wait before resending probe.

Sample Output

Output for ISIS SRv6

content_copy zoom_out_map
user@router> traceroute srv6 isis 3000::1 
traceroute: to destination 3000::1, 64 hops max, retries 3 
  1   ::21.0.1.2   7.153 ms   4.191 ms   2.652 ms 
 	  2   ::21.1.2.2   2.652 ms   7.153 ms   4.191 ms 
  3   ::21.2.3.2   7.323 ms   2.652 ms   7.153 ms 
    
  
 

Output for IPv6/SRv6

content_copy zoom_out_map
user@router> traceroute srv6 spring-te sids-stack sids [ 5000::1 3000::1 ] nexthop-interface ge-0/0/0.0 nexthop-address ::21.0.1.2 

    traceroute: to destination 5000::1, 64 hops max, retries 3 
 1   ::21.0.1.2   3.532 ms   4.191 ms   2.652 ms 
     DA: 3000::1 
     SRH:( 5000::1, 3000::1; SL=1) 
2   ::21.1.2.2   9.573 ms    3.532 ms   4.191 ms 
     DA: 3000::1 
     SRH:( 5000::1, 3000::1; SL=1) 
3   3333::3   5.253 ms   3.532 ms   4.191 ms 
     DA: 3000::1 
     SRH:( 5000::1, 3000::1; SL=1) 
4   ::21.3.5.2   6.800 ms   4.191 ms   2.652 ms 
     DA: 5000::1

Release Information

Command introduced in Junos OS Release 22.3R1.

footer-navigation