(Optional) Configuring a Global LDP Label Distribution Control Mode

An LDP label distribution control mode can be globally configured to enable a local node to control the sequence of distributing labels to upstream nodes.

Context

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.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls ldp [ vpn-instance vpn-instance-name ]

    The MPLS-LDP or MPLS-LDP-VPN instance view is displayed.

  3. Run label distribution control-mode { independent | ordered }

    A global LDP label distribution control mode is specified.

  4. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >