[Contents] [Prev] [Next] [Index] [Report an Error]

ping mpls rsvp

Syntax

ping mpls rsvp lsp-name
<count count>
<destination address>
<detail>
<egress egress-address>
<exp forwarding-class>
<multipoint>
<source source-address>
<standby standby-path-name>

Release Information

Command introduced before JUNOS Release 7.4. The egress and multipoint options were introduced in JUNOS Release 9.2.

Description

Check the operability of Multiprotocol Label Switching (MPLS) Resource Reservation Protocol (RSVP)-signaled label-switched path (LSP) connections. Type Ctrl+c to interrupt a ping mpls command.

Options

lsp-namePing an RSVP-signaled LSP using an LSP name.

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.

egress egress-address(Optional) Only the specified egress router responds to the ping request.

exp forwarding class(Optional) Value of the forwarding class for the MPLS ping packets.

multipoint — (Optional) For point-to-multipoint LSPs (P2MP LSPs), sends ping requests to each of the egress routers participating in a P2MP LSP. You can also include the egress option to ping a specific egress router participating in a P2MP LSP.

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.

standby standby-path-name(Optional) Name of the standby path.

Additional Information

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

Required Privilege Level

network

List of Sample Output

ping mpls rsvp (Echo Reply Received)
ping mpls rsvp (Echo Reply with Error Code)
ping mpls rsvp detail
ping mpls rsvp multipoint egress detail count
ping mpls rsvp multipoint detail count

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 these packets are not counted in the received packets count. They are accounted for separately.

ping mpls rsvp (Echo Reply Received)

user@host> ping mpls rsvp test1
!!!!!--- lsping statistics ---5 packets transmitted, 5 packets received, 0% packet loss

ping mpls rsvp (Echo Reply with Error Code)

user@host> ping mpls rsvp test2
!!xxx--- lsping statistics ---5 packets transmitted, 2 packets received, 60% packet loss3 packets received with error status, not counted as received.

ping mpls rsvp detail

user@host> ping mpls rsvp to-green detail
Request for seq 1, to interface 67, labels <100095, 0, 0>
Reply for seq 1, return code: Egress-ok
Request for seq 2, to interface 67, labels <100095, 0, 0>
Reply for seq 2, return code: Egress-ok

ping mpls rsvp multipoint egress detail count

user@host>ping mpls rsvp sample-lsp multipoint egress 192.168.1.3 detail count 1
Request for seq 1, to interface 70, label 299952
Request for seq 1, to interface 70, no label stack.
Request for seq 1, to interface 67, no label stack.

Reply for seq 1, egress 192.168.1.3, return code: Egress-ok, time: 0.242 ms
	Local transmit time: 1205310695s 215737us
	Remote receive time: 1205310695s 215979us

--- lsping, egress 192.168.1.3 statistics ---
1 packets transmitted, 1 packets received, 0% packet loss

ping mpls rsvp multipoint detail count

user@host>ping mpls rsvp sample-lsp multipoint detail count 1
Request for seq 1, to interface 70, label 299952
Request for seq 1, to interface 70, no label stack.
Request for seq 1, to interface 67, no label stack.

Reply for seq 1, return code: Unknown TLV, time: 9.877 ms
 Local transmit time: 1205310615s 347317us
 Remote receive time: 1205310615s 357194us
Reply for seq 1, egress 192.168.1.3, return code: Egress-ok, time: 0.351 ms
 Local transmit time: 1205310615s 347262us
 Remote receive time: 1205310615s 347613us
Reply for seq 1, egress 192.168.1.13, return code: Egress-ok, time: 0.301 ms
 Local transmit time: 1205310615s 347167us
 Remote receive time: 1205310615s 347468us
Timeout for seq 1, egress 192.168.1.1
Timeout for seq 1, egress 192.168.1.4
Timeout for seq 1, egress 192.168.1.14

--- lsping, egress 192.168.1.1 statistics ---
1 packets transmitted, 0 packets received, 100% packet loss

--- lsping, egress 192.168.1.3 statistics ---
1 packets transmitted, 1 packets received, 0% packet loss

--- lsping, egress 192.168.1.4 statistics ---
1 packets transmitted, 0 packets received, 100% packet loss

--- lsping, egress 192.168.1.13 statistics ---
1 packets transmitted, 1 packets received, 0% packet loss

--- lsping, egress 192.168.1.14 statistics ---
1 packets transmitted, 0 packets received, 100% packet loss

[Contents] [Prev] [Next] [Index] [Report an Error]