Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Verifying an MPLS Layer 2 VPN Configuration



Verify the connectivity of MPLS Layer 2 VPNs using the ping mpls command. This command helps to verify that a VPN has been enabled by testing the integrity of the VPN connection between the PE routers. It does not test the connection between a PE router and CE router.


  • To ping an interface configured for the Layer 2 VPN on the PE router, use the following command:

  • To ping a combination of the Layer 2 VPN routing instance name, the local site identifier, and the remote site identifier to test the integrity of the Layer 2 VPN connection (specified by identifiers) between the two PE routers, use the following command: