- ping mpls ldp fec
- <count count>
- <destination address>
- <detail>
- <exp forwarding-class>
- <source source-address>
Command introduced before JUNOS Release 7.4.
Check the operability of Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP)-signaled label-switched path (LSP) connections. Type Ctrl+c to interrupt a ping mpls command.
fec — (Optional) Ping an LDP-signaled LSP using the forwarding equivalence class (FEC) prefix and length.
count count — (Optional) Number of ping requests to send. If count is not specified, five ping requests are sent. The range of values is 1 through 1,000,000. The default value is 5.
destination address — (Optional) Specify an address other than the default (127.0.0.1/32) for the ping echo requests. The address can be anything within the 127/8 subnet.
detail — (Optional) Display detailed information about the echo requests sent and received.
exp forwarding class — (Optional) Value of the forwarding class for the MPLS ping packets.
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.
If the LSP changes, the label and interface information displayed when the ping command was issued continues to be used. You must configure MPLS at the [edit protocols mpls] hierarchy level on the remote router to ping an LSP terminating there. You must configure MPLS even if you intend to ping only LDP forwarding equivalence classes (FECs).
network
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 these packets are not counted in the received packets count. They are accounted for separately.
user@host> ping mpls ldp 10.255.245.222 count
10
!!!xxx...x--- lsping statistics ---10 packets transmitted, 3 packets received, 70% packet loss4 packets received with error status, not counted as received.