J-series™ Services Router Administration Guide

Reply for seq 5, return code: Egress-ok

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

Pinging Layer 2 Circuits

Enter the ping mpls l2circuit command with the following syntax. Table 120 on page 236 describes the ping mpls l2circuit command options.

user@host> ping mpls l2circuit (interface interface-namevirtual-circuit neighbor

prefix-name virtual-circuit-id) <exp forwarding-class> <count number> <source source-address> <detail>

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

Option

Description

l2circuit interface

Sends ping requests out the specified interface configured for the Layer 2 circuit on the outbound

interface-name

PE router.

l2circuit virtual-circuit

Pings on a combination of the IPv4 prefix and the virtual circuit identifier on the outbound PE

neighbor prefix-name

router, testing the integrity of the Layer 2 circuit between the inbound and outbound PE routers.

virtual-circuit-id

 

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

user@host> ping mpls l2circuit interface fe-1/0/0.0 Request for seq 1, to interface 69, labels <100000, 100208> Reply for seq 1, return code: Egress-ok, time: 0.439 ms

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.

236Using CLI Diagnostic Commands

Page 258
Image 258
Juniper Networks J-Series manual Pinging Layer 2 Circuits, CLI ping mpls l2circuit Command Options