[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Pinging Layer 2 Circuits

Enter the ping mpls l2circuit command with the following syntax. Table 205 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.)

Table 205: CLI ping mpls l2circuit Command Options

Option

Description

l2circuit interface interface-name

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

l2circuit virtual-circuit neighbor prefix-name virtual-circuit-id

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.

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.


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]