Pinging layer 2 circuits – Juniper Networks J-Series User Manual

Page 258

Advertising
background image

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

Description

Option

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

l2circuit interface

interface-name

Pings on a combination of the IPv4 prefix and the virtual circuit identifier on the outbound PE
router, testing the integrity of the Layer 2 circuit between the inbound and outbound PE routers.

l2circuit virtual-circuit

neighbor prefix-name

virtual-circuit-id

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

236

Using CLI Diagnostic Commands

J-series™ Services Router Administration Guide

Advertising