R3303-HP HSR6800 Routers MPLS Command Reference
62
path-vectors
Use path-vectors to specify the path vector length.
Use undo path-vectors to restore the default.
Syntax
path-vectors pv-number
undo path-vectors
Default
The path vector length is 32, that is, the number of LSR IDs in a path vector cannot exceed 32.
Views
MPLS LDP view, MPLS LDP VPN instance view
Default command level
2: System level
Parameters
pv-number: Specifies the path vector length in the range of 1 to 32.
Usage guidelines
This command must be configured before you enable LDP on any interface.
Examples
# Set the maximum hops of the path vector to 3 for the public network LDP instance.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-mpls-ldp] path-vectors 3
# 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










