3com S7906E Guide De Référence
1-41
Your need to configure the LSR ID of an LSR before configuring any other MPLS commands.
You are recommended to use the address of a loopback interface on the LSR as the ID.
Related commands: display mpls interface.
Examples
# Set the LSR ID to 3.3.3.3.
<Sysname> system-view
[Sysname] mpls lsr-id 3.3.3.3
path-vectors
Syntax
path-vectors pv-number
undo path-vectors
View
MPLS LDP view, MPLS LDP VPN instance view
Default Level
1: Monitor level
Parameters
pv-number: Maximum path vector length, in the range 1 to 32.
Description
Use the path-vectors command to set the maximum path vector length.
Use the undo path-vectors command to restore the default.
By default, the maximum path vector length for an instance is 32.
Note that this command must be configured before you enable MPLS LDP on any interface.
Related commands: loop-detect, hops-count.
Examples
# Set the maximum path vector length to 3 for the public network LDP instance.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-mpls-ldp] path-vectors 3
# Set the maximum path vector length to 3 for LDP instance vpn1.
<Sysname> system-view
[Sysname] mpls ldp vpn-instance vpn1
[Sysname-mpls-ldp-vpn-instance-vpn1] path-vectors 3