Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Verifying an MPLS Layer 2 VPN Configuration

    Purpose

    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.

    Action

    • To ping an interface configured for the Layer 2 VPN on the PE router, use the following command:
      ping mpls l2vpn interface interface-name
    • 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:

      ping mpls l2vpn instance l2vpn-instance-name local-site-id local-site-id-number remote-site-id remote-site-id-number

    Published: 2012-06-29