path-vectors
Syntax
View
Parameter
Description
Related command:
Example
ping lsp
Syntax
View
Parameter
path-vectors pv-number
undo path-vectors
MPLS LDP VPN instance view/MPLS LDP view
pv-number: Path vector maximum hop count, in the range 1 to 32.
Use the
path-vectors
Use the
undo path-vectors
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.
loop-detect, hops-count.
# 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 [ -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 }
Any view
-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.
command to set the path vector maximum hop count.
command to restore the default.
1555