
Operation Manual – MPLS Basics
H3C S9500 Series Routing Switches
Chapter 1 MPLS Basics Configuration
1-24
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter MPLS view
mpls
—
Configure the LSP
establishment triggering
policy
lsp-trigger
{
all
|
ip-prefix
prefix-name
}
Optional
Only local loopback
addresses with 32-bit
masks can trigger LDP to
establish LSPs by default.
Note:
z
If you do not specify
prefix-name
(that is, all FECs are specified) while executing the
lsp-trigger
command, all static routes and IGP routing entries can trigger LDP to
establish LSPs.
z
For an LSP to be established, an exactly matched routing entry must exist on the
LSR. With loopback addresses using 32-bit masks, only exactly matched host
routing entries can trigger LDP to establish LSPs.
1.7.7 Specifying the Label Processing Modes
Follow these steps to specify the LDP label advertisement mode, distribution control
mode, and retention mode:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Specify the label
advertisement mode
mpls ldp advertisement
{
dod
|
du
}
Optional
DU
by default
Exit to system view
quit
—
Enter MPLS LDP view
Enable LDP capability
and enter MPLS LDP view
mpls ldp
Required
Specify the label
distribution control mode
label-distribution
{
independent
|
ordered
}
Optional
ordered
by default
Note that you must reset
LDP sessions for the
configuration to take
effect.