92
Syntax
label-distribution
{
independent
|
ordered
}
undo label-distribution
View
MPLS LDP view, MPLS LDP VPN instance view
Default level
2: System level
Parameters
independent
: Specifies the independent label distribution control mode. In this mode, an LSR can
advertise label bindings to its connected LSRs at any time.
ordered
: Specifies the ordered label distribution control mode. In this mode, an LSR advertises to its
upstream a label binding for a FEC only when it receives a label binding for the FEC from its downstream
or when it is the egress of the FEC.
Examples
# Set the label distribution control mode to independent for the public network LDP instance.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-mpls-ldp] label-distribution independent
# Set the label distribution control mode to independent for LDP instance
vpn1
.
<Sysname> system-view
[Sysname] mpls ldp vpn-instance vpn1
[Sysname-mpls-ldp-vpn-instance-vpn1] label-distribution independent
loop-detect
Description
Use the
loop-detect
command to enable loop detection.
Use the
undo
loop-detect
command to disable loop detection.
By default, loop detection is disabled.
Related commands:
hops-count
and
path-vectors
.
You should enable loop detection before you enable LDP on any interface.
Syntax
loop-detect
undo loop-detect
View
MPLS LDP view, MPLS LDP VPN instance view
Default level
2: System level