Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

ping srv6

Syntax

Syntax

Description

Check the reachability of a Segment Routing with IPv6 data plane (SRv6) network.

Options

host

IPv6 loopback address or SRv6 Segment Identifier (SID) of the remote system to ping.

count requests

(Optional) Number of ping requests to send. The range of values is 1 through 1,000,000. The default value is 5.

detail

(Optional) Include in the output the interface on which the ping reply was received.

instance routing-instance-name

(Optional) Name of the routing instance for the ping attempt.

interval seconds

(Optional) How often to send ping requests. The range of values, in seconds, is 0 through 2,147,483,647.

logical-system logical-system-name

(Optional) Run the command from the specified logical system.

nexthop-address IPv6-address

Nexthop IPv6 address of the outgoing interface.

nexthop-interface interface-name

Interface name of the outgoing interface.

pattern hex-string

(Optional) Specify a hexadecimal fill pattern to include in the ping packet.

sids value

Specify the SRv6 SIDs in the SRv6 stack. Add a set of values.

size bytes

(Optional) Size of ping request packets. The range of values, in bytes, is 0 through 65,468.

source source-address

(Optional) IP address of the outgoing interface. This address is sent in the IP source address field of the ping request. If this option is not specified, the default address is usually the loopback interface.

sweep

(Optional) Automatically determine the size of the maximum transmission unit (MTU).

tos type-of-service

Type-of-Service (TOS) value to include in the ping request (IPv6). The range of values is 0 through 255.

ttl value

(Optional) Time-to-live (TTL) value to include in the ping request (IPv6). The range of values is 0 through 255.

Required Privilege Level

network

Output Fields

When you enter this command, you are provided feedback on the status of your request. An exclamation point (!) indicates that an echo reply was received. A period (.) indicates that an echo reply was not received within the timeout period. An x indicates that an echo reply was received with an error code. Packets with an error code are not counted in the received packets count. They are accounted for separately.

Sample Output

ping srv6 is-is

ping srv6 spring-te sids-stack

Ping failure outputs

Release Information

Command introduced in Junos OS Release 21.2.