R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

60
# Set the maximum hops of the path vector to 3 for LDP instance vpn1.
<Sysname> system-view
[Sysname] mpls ldp vpn-instance vpn1
[Sysname-mpls-ldp-vpn-instance-vpn1] path-vectors 3
Related commands
hops-count
loop-detect
ping lsp ipv4
Use ping lsp ipv4 to check the connectivity of the LSP for a FEC.
Syntax
ping lsp [ -a source-ip | -c count | -exp exp-value | -h ttl-value | -m wait-time | -r reply-mode | -s
packet-size | -t time-out | -v ] * ipv4 dest-addr mask-length [ destination-ip-addr-header ]
Views
Any view
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.