R0106-HP MSR Router Series MPLS Command Reference(V7)

308
If both BFD and periodic MPLS traceroute are configured for an LSP and the periodic traceroute function
detects a data plane and control plane inconsistency, the device deletes the BFD session for the LSP and
reestablishes the BFD session based on the control plane.
Examples
# Enable periodic traceroute for LSPs to destination 11.11.1.1 / 3 2.
<Sysname> system-view
[Sysname] mpls periodic-tracert 11.11.1.1 32
Related commands
mpls bfd (for LSP)
ping mpls ipv4
Use ping mpls ipv4 to verify MPLS LSP connectivity for an IPv4 prefix.
Syntax
ping mpls [ -a source-ip | -c count | -exp exp-value | -h ttl-value | -m wait-time | -r reply-mode | -rtos
tos-value | -s packet-size | -t time-out | -v ] * ipv4 dest-addr mask-length [ destination start-address
[ end-address [ address-increment ] ] ]
Views
Any view
Predefined user roles
network-admin
Parameters
-a source-ip: Specifies the source address for MPLS echo request packets. If you do not specify this option,
the device uses the primary IP address of the outgoing interface as the source address for MPLS echo
requests.
-c count: Specifies the number of MPLS echo request packets to be sent with the same destination address
in the IP header. The value range is 1 to 4294967295. The default is 5.
-exp exp-value: Specifies the EXP value for MPLS echo request packets, in the range of 0 to 7. The default
is 0.
-h ttl-value: Specifies the TTL value for MPLS echo request packets, in the range of 1 to 255. The default
is 255.
-m wait-time: Specifies the interval for sending MPLS echo request packets, in the range of 1 to 10000
milliseconds. The default is 200 milliseconds.
-r reply-mode: Specifies the reply mode of the receiver in response to MPLS echo request packets. The
reply-mode argument can be 1, 2, or 3. 1 means "Do not reply," 2 means "Reply by using a UDP
packet," and 3 means "Reply by using a UDP packet that carries the Router Alert option." The default is
2.
-rtos tos-value: Specifies the ToS value in the IP header of an MPLS echo reply packet. The value range
is 0 to 7, and the default value is 6.
-s packet-size: Specifies the length (excluding the IP header and UDP header) of an MPLS echo request
packet. The value for the packet-size argument is 65 to 8100 bytes, and the default is 100 bytes.
-t time-out: Specifies the timeout interval for the reply to an MPLS echo request. The value range is 0 to
65535 milliseconds, and the default is 2000 milliseconds.