R0106-HP MSR Router Series MPLS Command Reference(V7)
312
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 ] * te tunnel interface-number
Views
Any view
Predefined user roles
network-admin
Parameter
-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, in the range of 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 is 6.
-s packet-size: Specifies the length (excluding the IP header and UDP header) of an MPLS echo request
packet. The value range 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.
-v: Displays detailed reply information. If you do not specify this keyword, the command displays brief
reply information.
tunnel interface-number: Specifies an MPLS TE tunnel interface by the interface number. The specified
MPLS TE tunnel interface must have already been created.
Examples
# Verify the connectivity of the MPLS TE tunnel for tunnel interface Tunnel 1.
<Sysname> ping mpls te tunnel 1
MPLS ping TE tunnel Tunnel1 with 100 bytes of data:
100 bytes from 100.1.2.1: Sequence=1 time=49 ms
100 bytes from 100.1.2.1: Sequence=2 time=44 ms
100 bytes from 100.1.2.1: Sequence=3 time=60 ms
100 bytes from 100.1.2.1: Sequence=4 time=60 ms
100 bytes from 100.1.2.1: Sequence=5 time=76 ms