beautypg.com

Pinging layer 3 vpns – Juniper Networks J-Series User Manual

Page 256

background image

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

Description

Option

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 prefix prefix-name

(Optional) Layer 3 VPN name.

l3vpn-name

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

bottom-label-ttl

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

exp forwarding-class

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

countnumber

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

source source-address

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

detail

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.

234

Using CLI Diagnostic Commands

J-series™ Services Router Administration Guide