Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

ping mpls segment routing static egress-ip

Syntax

Description

Use ping mpls segment-routing static to check the MPLS segment routing label-switched path (LSP) connections on the prpd programmed static routes. Type Ctrl+c to interrupt a ping mpls segment-routing static command.

Options

egress-ip

Specify to ping PRPD-programmed labelled switched paths (LSP).

<fec>

Specify to use the IP prefix/length of forwarding equivalence class.

count count

(Optional) Specify number of ping requests to send. If count is not specified, five ping requests are sent.

  • Range: 1 through 1000000

  • Default: 5

destinationdestination

(Optional) Specify IP address of destination for echo request.

detail

(Optional) Display detailed output.

exp exp

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

  • Range: 0 through 7

instance routing-instance-name

(Optional) Allows you to ping a combination of the routing instance and forwarding equivalence class (FEC) associated with an LSP.

logical-system logical-system-name

(Optional) Specify the name of the logical system.

size bytes

(Optional) Size of the LSP ping request packet (88 through 65468 bytes). Packets are 4-byte aligned. For example, If you enter a size of 89, 90, 91, or 92, the router or switch uses a size value of 92 bytes. If you enter a packet size that is smaller than the minimum size, an error message displays reminding you of the 88-byte minimum.

source source-address

(Optional) IP address of the echo request (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 (lo.0).

sweep

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

label-stack

Specify label stack for ping packets.

count count

(Optional) Specify number of ping requests to send. If count is not specified, five ping requests are sent.

  • Range: 1 through 1000000

  • Default: 5

destinationdestination

(Optional) Specify IP address of destination for echo request.

detail

(Optional) Display detailed output.

egress

(Optional) Specify the egress IP address.

exp

(Optional) Specify the forwarding class entry.

  • Range:0 through 7

labels

Specify the labels in label stack.

  • Range: 16 through 1048575

logical-system logical-system-name

(Optional) Specify the name of the logical system.

nexthop-address address

Specify the nexthop IP address for the ping packet.

nexthop-interface interface

Specify the outgoing interface for the ping packet.

size bytes

(Optional) Size of the LSP ping request packet (88 through 65468 bytes). Packets are 4-byte aligned. For example, If you enter a size of 89, 90, 91, or 92, the router or switch uses a size value of 92 bytes. If you enter a packet size that is smaller than the minimum size, an error message is displayed reminding you of the 88-byte minimum.

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 (lo.0).

sweep

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

Additional Information

Note:

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

Note:

SWAN ping command takes label-stack, nexthop-address, and nexthop-interface as input will work only if all the three inputs are given by user in the label-stack command.

Note:

ping mpls segment-routing spring-te command with label-stack, nexthop-address and nexthop-interface as input will have vendor private tlv in mpls echo request only if egress-ip is provided by user.

Required Privilege Level

Network

Output Fields

When you enter ping mpls segment-routing static command, you can see the feedback on the status of your request. An exclamation point (!) indicates that an echo reply. A period (.) indicates that an echo reply is not received within the timeout period. An x indicates that an echo reply with an error code. Packets with error codes are not counted in the received packets count. They are accounted separately.

Sample Output

ping mpls segment-routing static ?

ping mpls segment-routing static egress-ip

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

Release Information

Command introduced in Junos OS Release 22.4R1.