[Contents] [Prev] [Next] [Index] [Report an Error]

ping mpls l3vpn

Syntax

ping mpls l3vpn prefix prefix-name
<l3vpn-name>
<bottom-label-ttl>
<count count>
<destination address>
<detail>
<exp forwarding-class>
<source source-address>

Release Information

Command introduced before JUNOS Release 7.4.

Description

Check the operability of a Multiprotocol Label Switching (MPLS) Layer 3 virtual private network (VPN) connection. Type Ctrl+c to interrupt a ping mpls l3vpn command.

Options

prefix prefix-namePing to test whether a prefix is present in a provider edge (PE) router's VPN routing and forwarding (VRF) table, by means of a Layer 3 VPN destination prefix. This option does not test the connection between a PE router and a customer edge (CE) router.

l3vpn-name(Optional) Layer 3 VPN name.

bottom-label-ttl — (Optional) Display the time-to-live value for the bottom label in the label stack.

count count(Optional) Number of ping requests to send. If count is not specified, five ping requests are sent. The range of values is 1 through 1,000,000. The default value is 5.

destination address(Optional) Specify an address other than the default (127.0.0.1/32) for the ping echo requests. The address can be anything within the 127/8 subnet.

detail — (Optional) Display detailed information about the echo requests sent and received.

exp forwarding class(Optional) Value of the forwarding class for the MPLS ping packets.

source source-address(Optional) IP address of the outgoing interface. This address is sent in the IP source address field of the ping request. If this option is not specified, the default address is usually the loopback interface.

Additional Information

You must configure MPLS at the [edit protocols mpls] hierarchy level on the egress PE router (the router receiving the MPLS echo packets) to ping a Layer 2 circuit.

Required Privilege Level

network

List of Sample Output

ping mpls l3vpn
ping mpls l3vpn detail

Output Fields

When you enter this command, you are provided feedback on the status of your request. An exclamation point (!) indicates that an echo reply was received. A period (.) indicates that an echo reply was not received within the timeout period. An x indicates that an echo reply was received with an error code these packets are not counted in the received packets count. They are accounted for separately.

Sample Output

ping mpls l3vpn

user@host> ping mpls l3vpn vpn1 prefix 10.255.245.122/32
!!!!!
--- lsping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss

ping mpls l3vpn detail

user@host> ping mpls l3vpn vpn1 prefix 10.255.245.122/32 detail
Request for seq 1, to interface 68, labels <100128, 100112> 
Reply for seq 1, return code: Egress-ok 
Request for seq 2, to interface 68, labels <100128, 100112> 
Reply for seq 2, return code: Egress-ok 
Request for seq 3, to interface 68, labels <100128, 100112> 
Reply for seq 3, return code: Egress-ok 
Request for seq 4, to interface 68, labels <100128, 100112> 
Reply for seq 4, return code: Egress-ok 
Request for seq 5, to interface 68, labels <100128, 100112> 
Reply for seq 5, return code: Egress-ok
--- lsping statistics --- 
5 packets transmitted, 5 packets received, 0% packet loss

[Contents] [Prev] [Next] [Index] [Report an Error]