Specifications

Table Of Contents
ping mpls
MP-389
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
Note The “Destination end address” and “Destination address increment” prompts display only if you enter
an address at the “Destination address or destination start address” prompt. Also, the “Sweep min size,
“Sweep max size,” and “Sweep interval” prompts display only if you enter “yes” at the “Sweep range of
sizes? [no]” prompt.
The following example shows how to determine the destination address of an AToM VC:
Router# show mpls l2transport vc
Local intf Local circuit Dest address VC ID Status
------------- ----------------------- --------------- ---------- ----------
Et2/0 Ethernet 10.131.191.252 333
UP
Router# show mp
ls l2transport vc detail
Local interface: Et2/0 up, line protocol up, Ethernet up
Destination address: 10.131.191.252, VC ID: 333, VC status: up
Preferred path: not configured
Default path: active
Tunnel label: imp-null, next hop 10.131.159.246
Output interface: Et1/0, imposed label stack {16}
Create time: 06:46:08, last status change time: 06:45:51
Signaling protocol: LDP, peer 10.131.191.252:0 up
MPLS VC labels: local 16, remote 16
Group ID: local 0, remote 0
MTU: local 1500, remote 1500
Remote interface description:
Sequencing: receive disabled, send disabled
VC statistics:
packet totals: receive 0, send 0
byte totals: receive 0, send 0
packet drops: receive 0, send 0
This ping mpls command used with the pseudowire keyword can be used to test the connectivity of the
AToM VC 333 discovered in the preceding show command:
Router# ping mpls pseudowire 10.131.191.252 333 repeat 200 size 1400
Sending 1, 100-byte MPLS Echos to 10.131.191.252, timeout is 2 seconds:
Codes:
'!' - success, 'Q' - request not sent, '.' - timeout,
'L' - labeled output interface, 'B' - unlabeled output interface,
'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,
'M' - malformed request, 'm' - unsupported tlvs, 'N' - no rx label,
'P' - no rx intf label prot, 'p' - premature termination of LSP,
'R' - transit router, 'X' - unknown return code, 'x' - return code 0
Type escape sequence to abort.
!
Success rate is 100 percent (1/1), round-trip min/avg/max = 92/92/92 ms
This ping is particularly useful because the VC might be up and the LDP session between the PE and its
downstream neighbor might also be up, but LDP might be configured somewhere in between. In such
cases, you can use an LSP ping to verify that the LSP is actually up.
A related point concerns the situation when a pseudowire has been configured to use a specific TE
t
unnel. For example:
Router# show running-config interface ethernet 2/0