label distribution control-mode (MPLS-LDP-VPN instance view)

Function

The label distribution control-mode command configures an LDP label distribution control mode.

The undo label-type command restores the default LDP label distribution control mode.

The default LDP label distribution control mode is ordered.

Format

label distribution control-mode { ordered | independent }

undo label distribution control-mode

Parameters

Parameter Description Value
ordered

Sets the LDP label distribution control mode to ordered.

-

independent

Sets the LDP label distribution control mode to independent.

-

Views

MPLS-LDP-VPN instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-ldp write

Usage Guidelines

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.

Example

# Set the LDP label distribution control mode to independent.
<HUAWEI> system-view
[~HUAWEI] mpls
[~HUAWEI-mpls] quit
[~HUAWEI] mpls ldp vpn-instance vpn1
[~HUAWEI-mpls-ldp-vpn-instance-vpn1] label distribution control-mode independent
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >