1555
path-vectors
Syntax path-vectors pv-number
undo path-vectors
View MPLS LDP VPN instance view/MPLS LDP view
Parameter pv-number: Path vector maximum hop count, in the range 1 to 32.
Description Use the
path-vectors command to set the path vector maximum hop count.
Use the undo path-vectors command to restore the default.
By default, the path vector maximum hop count for an instance is 32.
Note that this command takes effect only when MPLS LDP is enabled on all
interfaces.
Related command: loop-detect, hops-count.
Example # Set the path vector maximum hop count to 3 for the public network LDP.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-mpls-ldp] path-vectors 3
# Set the path vector maximum hop count to 3 for LDP instance named vpn1.
<Sysname> system-view
[Sysname] mpls ldp vpn-instance vpn1
[Sysname-mpls-ldp-vpn-instance-vpn1] path-vectors 3
ping lsp
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 ] | te interface-type interface-number }
View Any view
Parameter -a source-ip: Specifies the source address for the echo request message.
-c count: Specifies the number of attempts to sending the request message. The
count argument ranges from 1 to 4,294,967,295.
-exp exp-value: Specifies the EXP value for the echo request message. The
exp-value argument ranges from 0 to 7.