R0106-HP MSR Router Series MPLS Command Reference(V7)

52
to operate correctly, you can enable LDP to redistribute BGP IPv4 unicast routes on the PE and the CE. The
configuration enables LDP to assign labels to the BGP routes to establish LSPs. For more information
about carrier's carrier, see MPLS Configuration Guide.
Examples
# Enable LDP to redistribute BGP IPv4 unicast routes on the public network.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-ldp] import bgp
Related commands
lsp-trigger
label-distribution
Use label-distribution to configure the label distribution control mode.
Use undo label-distribution to restore the default.
Syntax
label-distribution { independent | ordered }
undo label-distribution
Default
The label distribution control mode is ordered.
Views
LDP view, LDP-VPN instance view
Predefined user roles
network-admin
Parameters
independent: Specifies Independent label distribution mode. In this mode, an LSR can distribute label
mappings to the upstream LSR at any time.
ordered: Specifies Ordered label distribution mode. In this mode, an LSR distributes a label mapping for
an FEC to the upstream LSR only when one of the following events occurs:
The LSR receives a label mapping for that FEC from the downstream LSR.
The LSR is the egress node of that FEC.
Usage guidelines
In Ordered mode, an LSR can determine that the downstream LSR has established an LSP when the LSR
receives an FEC-label mapping from the downstream LSR.
The Independent mode enables faster LSP convergence because each LSR independently advertises
labels without waiting for labels from downstream LSRs.
Examples
# Set the Independent LDP label distribution mode for the public network.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-ldp] label-distribution independent