Juniper Networks J-Series manual Pinging Layer 3 VPNs, CLI ping mpls l3vpn Command Options

Models: J-Series

1 332
Download 332 pages 610 b
Page 256
Image 256

J-series™ Services Router Administration Guide

The fields in the display are the same as those displayed by the J-Web ping MPLS diagnostic tool. For information, see “Ping MPLS Results and Output” on page 222.

Pinging Layer 3 VPNs

Enter the ping mpls l3vpn command with the following syntax. Table 118 on page 234 describes the ping mpls l3vpn command options.

user@host> ping mpls l3vpn prefix prefix-name<l3vpn-name><bottom-label-ttl>

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

To quit the ping mpls l3vpn 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 118: CLI ping mpls l3vpn Command Options

Option

Description

l3vpn prefix prefix-name

Pings the remote host specified by the prefix to verify that the prefix is present in the PE router's

 

VPN routing and forwarding (VRF) table. This option does not test the connectivity between a

 

PE router and a CE router.

l3vpn-name

(Optional) Layer 3 VPN name.

bottom-label-ttl

(Optional) Displays the time-to-live (TTL) value for the bottom label in the MPLS label stack.

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 l3vpn command:

user@host> ping mpls l3vpn vpn1 prefix 10.255.245.122/32

!!!!!

--- lsping statistics ---

5 packets transmitted, 5 packets received, 0% packet loss

The fields in the display are the same as those displayed by the J-Web ping MPLS diagnostic tool. For information, see “Ping MPLS Results and Output” on page 222.

234Using CLI Diagnostic Commands

Page 256
Image 256
Juniper Networks J-Series manual Pinging Layer 3 VPNs, Following is sample output from a ping mpls l3vpn command