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

# trace mpls l3vpn

#### Syntax

trace mpls l3vpn [ vrf vrfName ]
{ targetAddress targetMask | targetIpv6Prefix }
[ destination startIpAddress endIpAddress increment ]
[ source address sourceAddr ]
[ ttl ttlValue ] [ timeout timeOutVal ]
[ reply mode { ipv4-udp | ipv4-udp-with-router-alert } ]
[ reply pad-tlv ] [ reply dscp trafficClass ]
[ exp-bits bitValue ] [ bottom-label-ttl bottomLabelTtl ] [ detail ]

#### Release Information

Command introduced in JUNOSe Release 8.0.0.

#### Description

Sends MPLS echo request packets with successively higher TTL values to the specified L3VPN IP or IPv6 prefix. Discovers the path MPLS packets follow to the destination. There is no no version.

The echo request packet generated by this command contains either the VPN IPv4 sub-TLV or VPN IPv6 sub-TLV described in RFC 4379—Detecting Multi-Protocol Label Switched (MPLS) Data Plane Failures (February 2006). Which sub-TLV is included depends on whether the trace is intended for an IPv4 prefix or an IPv6 prefix.

You can use this command to send a request to a VPNv4 prefix in the specified VRF. If you do not specify a VRF, then you must issue the command from the VRF context. In either case, the trace originates from the parent router.

#### Options

- vrfName—Name of the VRF context
- targetAddress—IP address of the target VPN network
- targetMask—Netmask for the target address
- targetIpv6Prefix—IPv6 prefix for the target VPN network
- startIpAddress—First IP address within the 127.0.0.0/8 destination range
- endIpAddress—Last IP address within the 127.0.0.0/8 destination range
- increment—Number in the range 0–255 that specifies the increment between addresses in the destination address range
- sourceAddr—IP address used as the packet source address
- ttlValue—Hop count specified by setting the time-to-live field in the header, in the range 1–255; default value is 32
- timeOutVal—Number of seconds in the range 1–32 to wait for an MPLS echo reply packet before the connection attempt times out
- reply mode—Specifies the reply mode for the echo request packet
  - ipv4-udp—Specifies that the echo request packet is an IPv4 UDP packet
  - ipv4-udp-with-router-alert—Specifies that the echo request packet is an IPv4 UDP packet with the router alert bit set in the header so all routers examine this packet more closely to determine whether further processing is necessary
- reply pad-tlv—Requests sender of an echo reply to send a pad TLV
- trafficClass—Number in the range 0–255 that represents the value of the traffic class that the sender of an echo reply is requested to set
- bitValue—Value of the EXP bits in the range 0–7 included in the MPLS echo request packet
- bottomLabelTtl—Time-to-live value of the bottom label in the stack
- detail—Displays detailed information about MPLS echo request sent and echo replies received

#### Mode

Privileged Exec, User Exec

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