18
Label distribution control
LDP controls label distribution in one of the following ways:
•
Independent label distribution
—Distributes an FEC-label mapping to an upstream LSR at
any time. An LSR might distribute a mapping for an FEC to its upstream LSR before it receives
a label mapping for that FEC from its downstream LSR. As shown in
, in DU mode,
each LSR distributes a label mapping for an FEC to its upstream LSR whenever it is ready to
label-switch the FEC, without waiting for a label mapping for the FEC from its downstream LSR.
In DoD mode, an LSR distributes a label mapping for an FEC to its upstream LSR after it
receives a label request for the FEC, without waiting for a label mapping for the FEC from its
downstream LSR.
Figure 11 Independent label distribution control mode
•
Ordered label distribution
—Distributes a label mapping for an FEC to its upstream LSR only
after it receives a label mapping for that FEC from its downstream LSR unless the local node is
the egress node of the FEC. As shown in
, in DU mode, an LSR distributes a label
mapping for an FEC to its upstream LSR only if it receives a label mapping for the FEC from its
downstream LSR. In DoD mode, when an LSR (Transit) receives a label request for an FEC
from its upstream LSR (Ingress), it continues to send a label request for the FEC to its
downstream LSR (Egress). After the transit LSR receives a label mapping for the FEC from the
egress LSR, it distributes a label mapping for the FEC to the ingress.
Label retention mode
The label retention mode specifies whether an LSR maintains a label mapping for an FEC learned
from a neighbor that is not its next hop.
•
Liberal label retention
—Retains a received label mapping for an FEC regardless of whether
the advertising LSR is the next hop of the FEC. This mechanism allows for quicker adaptation to
topology changes, but it wastes system resources because LDP has to keep useless labels.
The device only supports liberal label retention.
•
Conservative label retention
—Retains a received label mapping for an FEC only when the
advertising LSR is the next hop of the FEC. This mechanism saves label resources, but it
cannot quickly adapt to topology changes.
Egress
Transit
DU mode
DoD mode
1) Sends a label request for a
FEC to the downstream.
2) Distributes a label mapping for
the FEC to the upstream upon
receiving the request.
Ingress
Unsolicitedly distributes a label
mapping for a FEC to the upstream.
Unsolicitedly distributes a label
mapping for a FEC to the upstream.
1) Sends a label request for a
FEC to the downstream.
2) Distributes a label mapping for
the FEC to the upstream upon
receiving the request.