R3303-HP HSR6800 Routers MPLS Command Reference

63
Default command level
0: Visit level
Parameters
-a source-ip: Specifies the source address for the echo request messages to be sent.
-c count: Specifies the number of echo request messages to be sent. The value range for the count
argument is 1 to 4294967295, and the default is to 5.
-exp exp-value: Specifies the EXP value for the echo request messages. The value range for the exp-value
argument is 0 to 7, and the default is 0.
-h ttl-value: Specifies the TTL value for the echo request messages. The value range for the ttl-value
argument is 1 to 255, and the default is 255.
-m wait-time: Specifies the interval for sending echo request messages. The value range for the wait-time
argument is 1 to 10000 milliseconds, and the default is 200 milliseconds.
-r reply-mode: Specifies the reply mode of the receiver in response to the echo request messages. The
reply-mode argument can be 1 or 2, where 1 means "Do not respond" and 2 means "Respond using a
UDP packet." The default is 2.
-s packet-size: Specifies the payload length of the echo request messages. 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 response to an echo request message. The value range
for the time-out argument is 0 to 65535 milliseconds, and the default is 2000 milliseconds.
-v: Displays detailed response information.
ipv4 dest-addr mask-length: Specifies a FEC by an IPv4 destination address and the mask length. The
value range for the mask-length argument is 0 to 32.
destination-ip-addr-header: Specifies the destination address in the IP header of MPLS echo request
messages. It can be any address on subnet 127.0.0.0/8—any local loopback address.
Examples
# Check the connectivity of the LSP to destination 3.3.3.9/32.
<Sysname> ping lsp ipv4 3.3.3.9 32
LSP Ping FEC: IPV4 PREFIX 3.3.3.9/32 : 100 data bytes, press CTRL_C to break
Reply from 100.1.2.1: bytes=100 Sequence=0 time = 31 ms
Reply from 100.1.2.1: bytes=100 Sequence=1 time = 62 ms
Reply from 100.1.2.1: bytes=100 Sequence=2 time = 62 ms
Reply from 100.1.2.1: bytes=100 Sequence=3 time = 62 ms
Reply from 100.1.2.1: bytes=100 Sequence=4 time = 62 ms
--- FEC: IPV4 PREFIX 3.3.3.9/32 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 31/55/62 ms
periodic-tracert
Use periodic-tracert to enable periodic LSP tracert for an FEC.