LSP establishment and label distribution

This section describes how MPLS sets up LSPs and distribute labels.

LSP establishment

Establishing LSPs is to bind FECs to labels on each LSR involved and notify its adjacent LSRs of the bindings, so as to establish the LFIB on each LSR. LSPs can be manually established through configuration, or dynamically established through label distribution protocols.

This document discusses LDP only. For more information about LDP, see "LDP."

In this document, the term "label distribution protocols" refers to all protocols for label distribution. The term "LDP" refers to the RFC 5036 LDP.

A dynamic LSP is established in the following procedure:

A downstream LSR classifies FECs according to destination addresses. It assigns a label to a FEC, and distributes the FEC-label binding to its upstream LSR, which then establishes an LFIB entry for the FEC according to the binding information. After all LSRs along the packet forwarding path establish a LFIB entry for the FEC, an LSP is established for packets of this FEC.

Figure 15: Process of dynamic LSP establishment

If equal-cost routes exist on the LSRs, MPLS establishes equal-cost LSPs based on these routes, and shares loads among the equal-cost LSPs.

Label distribution and management

An LSR informs its upstream LSRs of labels assigned to FECs through label advertisement. The label advertisement modes include downstream unsolicited (DU) and downstream on demand (DoD). The label distribution control modes include independent and ordered.

Label management specifies the mode for processing a received label binding that is not useful at the moment. The processing mode, called "label retention mode," can be either liberal or conservative.

Figure 16: Label advertisement modes

As shown in Figure 16, the label advertisement modes include the DU mode and the DoD mode.

To establish an LSP, an upstream LSR and its downstream LSR must use the same label advertisement mode.

Label distribution control modes include the independent mode and the ordered mode.

Figure 17: Independent label distribution control mode

Label retention modes include the liberal mode and the conservative mode.