Pinging Layer 2 Circuits
Enter the ping mpls l2circuit command with the following syntax:
Table 1 describes the ping mpls l2circuit command options.
Table 1: 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 device. |
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 device, testing the integrity of the Layer 2 circuit between the inbound and outbound PE devices. |
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. |
To quit the ping mpls l2circuit command, press Ctrl-C.
The following is sample output from a ping mpls l2circuit command:
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.