# Verifying and Troubleshooting MPLS Connectivity

In IP networks, you can use the ping and traceroute commands to verify network connectivity and find broken links or loops . In an MPLS-enabled network, you can use the mpls ping and trace mpls commands to detect plane failures in different types of MPLS applications and network topologies.

Tasks to verify and troubleshoot connectivity in IP and MPLS-enabled networks are:

- Sending an MPLS Echo Request Packet to an IP or IPv6 Address
- Tracing the Path of an MPLS Echo Request Packet to an IP or IPv6 Address
- Sending an MPLS Echo Request Packet to a Martini Circuit
- Tracing the Path of an MPLS Echo Request Packet to a Martini Circuit
- Sending an MPLS Echo Request Packet to an L3VPN IP or IPv6 Prefix
- Tracing the Path of an MPLS Echo Request Packet to an L3VPN IP or IPv6 Prefix
- Sending an MPLS Echo Request Packet to an RSVP-TE Tunnel
- Tracing the Path of an MPLS Echo Request Packet to an RSVP-TE Tunnel
- Sending an MPLS Echo Request Packet to a VPLS Instance
- Tracing the Path of an MPLS Echo Request Packet to a VPLS Instance

## Sending an MPLS Echo Request Packet to an IP or IPv6 Address

To send an MPLS echo request packet to the specified IP or IPv6 address:

- Issue the ping mpls command.
  host1:pe1#ping mpls ip 10.2.2.2/32

## Tracing the Path of an MPLS Echo Request Packet to an IP or IPv6 Address

To send MPLS echo request packets to discover and examine the path MPLS packets follow to the specified IP or IPv6 address:

- Issue the trace mpls ip command.
  host1:pe1#trace mpls ip 192.168.25.1/32

## Sending an MPLS Echo Request Packet to a Martini Circuit

To send an MPLS echo request packet to the specified layer 2 cross-connect virtual (Martini) circuit:

- Issue the ping mpls l2transport command.
  host1:pe1#ping mpls l2transport FastEthernet1/0.1 detail

## Tracing the Path of an MPLS Echo Request Packet to a Martini Circuit

To send MPLS echo request packets to discover and examine the path MPLS packets follow to the specified layer 2 cross-connect virtual (Martini pseudowire) circuit:

- Issue the trace mpls l2transport command.
  host1:pe1#trace mpls l2transport FastEthernet1/0.1 detail

## Sending an MPLS Echo Request Packet to an L3VPN IP or IPv6 Prefix

To send an MPLS echo request packet to the specified L3VPN IP or IPv6 prefix:

- Issue the ping mpls l3vpn command.:
  host1:pe1#ping mpls l3vpn vrf pe11 10.32.45.21/32

## Tracing the Path of an MPLS Echo Request Packet to an L3VPN IP or IPv6 Prefix

To send MPLS echo request packets to discover and examine the path MPLS packets follow to the L3VPN IP or IPv6 prefix:

- Issue the trace mpls l3vpn command.
  host1:pe1#trace mpls l3vpn vrf pe11 10.2.3.21/32

## Sending an MPLS Echo Request Packet to an RSVP-TE Tunnel

To send an MPLS echo request packet to the specified RSVP-TE tunnel:

- Issue the ping mpls rsvp command.
  host1:pe1#ping mpls rsvp tunnel west1

## Tracing the Path of an MPLS Echo Request Packet to an RSVP-TE Tunnel

To send MPLS echo request packets to discover and examine the path MPLS packets follow to the specified RSVP-TE tunnel:

- Issue the trace mpls rsvp tunnel command.
  host1:pe1:pe11#trace mpls rsvp tunnel west1 detail

## Sending an MPLS Echo Request Packet to a VPLS Instance

To send an MPLS echo request packet to the specified VPLS instance:

- Issue the ping mpls vpls command.
  host1:pe1#ping mpls vpls vrf pe11 vplsA remote-site-id 2

## Tracing the Path of an MPLS Echo Request Packet to a VPLS Instance

To send MPLS echo request packets to discover and examine the path MPLS packets follow to the specified VPLS instance:

- Issue the trace mpls vpls command.
  host1:pe1#trace mpls vpls vrf pe11 vplsA remote-site-id 2 detail