Juniper Networks J-Series manual Pinging RSVP-Signaled LSPs and LDP-Signaled LSPs

Models: J-Series

1 332
Download 332 pages 610 b
Page 255
Image 255

Chapter 12: Using Services Router Diagnostic Tools

The ping mpls commands diagnose the connectivity of MPLS and VPN networks in the following ways:

Pinging RSVP-Signaled LSPs and LDP-Signaled LSPs on page 233

Pinging Layer 3 VPNs on page 234

Pinging Layer 2 VPNs on page 235

Pinging Layer 2 Circuits on page 236

Pinging RSVP-Signaled LSPs and LDP-Signaled LSPs

Enter the ping mpls command with the following syntax. Table 117 on page 233 describes the ping mpls command options.

user@host> ping mpls (ldp fec lsp-end-point prefix-namersvp lsp-name)

<exp forwarding-class> <count number> <source source-address> <detail>

To quit the ping mpls command, press Ctrl-C.

Alternatively, you can use the J-Web interface. (See “Checking MPLS Connections from the J-Web Interface” on page 219.)

Table 117: CLI ping mpls ldp and ping mpls lsp-end-point Command Options

Option

Description

ldp fec

Pings an LDP-signaled LSP identified by the forwarding equivalence class (FEC) prefix and length.

lsp-end-point prefix-name

Pings an LSP endpoint using either an LDP FEC or a RSVP LSP endpoint address.

rsvp lsp-name

Pings an RSVP-signaled LSP identified by the specified LSP name.

exp forwarding-class

(Optional) Specifies the value of the forwarding class to be used in the MPLS ping packets.

countnumber

(Optional) Limits the number of ping requests to send. Specify a count from 0 through 1,000,000.

 

The default value is 5. If you do not specify a count, ping requests are continuously sent until

 

you press Ctrl-C.

source source-address

(Optional) Uses the source address that you specify, in the ping request packet.

detail

(Optional) Displays detailed output about the echo requests sent and received. Detailed output

 

includes the MPLS labels used for each request and the return codes for each request.

Following is sample output from a ping mpls command:

user@host> ping mpls rsvp count 5 !!xxx

--- lsping statistics ---

5 packets transmitted, 2 packets received, 60% packet loss

3 packets received with error status, not counted as received.

Using CLI Diagnostic Commands 233

Page 255
Image 255
Juniper Networks J-Series manual Pinging RSVP-Signaled LSPs and LDP-Signaled LSPs