Usage Scenario
A label distribution control mode is a policy used by an LSR when it distributes labels during the setup of an LSP.
Either of the following label distribution control modes can be used:
- Independent
An LSR independently binds a label to a FEC and distributes this label to an upstream LSR, without waiting for a label assigned by a downstream LSR.
- If the label distribution mode is DU and the distribution control mode is independent, an LSR directly distributes a label to its upstream LSR without waiting for a label assigned by a downstream LSR.
- If label distribution mode is DoD and the distribution control mode is independent, a local LSR distributes a label to its upstream LSR after the upstream LSR sends a label request. The local LSR does not need to wait for a label assigned by a downstream LSR.
- Ordered
A local LSR advertises a mapping between a label and a FEC to its upstream LSR only when the local LSR is the outbound node for the FEC or when it receives a label mapping message associated with the next hop for the FEC.
- If the label distribution mode is DU and the distribution control mode is ordered, a local LSR distributes a label to its upstream LSR only after the local LSR receives a Label Mapping message sent by a downstream LSR.
- If the label distribution mode is DoD and the distribution control mode is ordered, a local LSR distributes a label to its upstream LSR only after the local LSR receives a Label Mapping message sent by a downstream LSR.
The default LDP label distribution control mode (ordered) is recommended.
Precautions
If the label distribution control-mode command is run more than once, the latest configuration overrides the previous one.