Ping MPLS LDP Tunnel

The ping mpls ldp command can execute the following.
  1. Initiate a ping request at the ingress router of an LDP tunnel.
  2. Handle an incoming ping request at a transit node of an LDP tunnel (router-alert).
  3. Handle an incoming ping request at the egress node of an LDP tunnel.
  4. Handle a ping reply at the ingress router of an LDP tunnel.

The following example displays the output of the command with LDP IP address 130.130.130.1/32.

device# ping mpls ldp 130.130.130.1

Send 5 84-byte MPLS Echo Requests for LDP FEC 130.130.130.1/32, timeout 5000 msec

Type Control-c to abort
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max=0/1/2 ms.
device# ping mpls ldp 130.130.130.1/32

Send 5 84-byte MPLS Echo Requests for LDP FEC 130.130.130.1/32, timeout 5000 msec

Type Control-c to abort
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max=0/0/1 ms.

The following example is the corresponding output of the show mpls ldp tunnel command.

device# show mpls ldp tunnel
 Total number of LDP Tunnels:2
                    Oper      Tunnel     Outbound  
To                  State     Intf       Intf      
130.130.130.1/32    UP        tnl1       Eth 1/5
120.120.120.1/32    UP        tnl0       Eth 1/5