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-nameTo 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
Related Topics
- Junos OS Feature Support Reference for SRX Series and J Series Devices
- MPLS Layer 2 VPN Configuration Overview
Hide Navigation Pane
Show Navigation Pane
Download
SHA1