mpls ldp advertisement (Interface view)

Function

The mpls ldp advertisement command configures the label advertisement mode.

The undo mpls ldp advertisement command restores the default label advertisement mode.

The downstream unsolicited (DU) label advertisement mode is used by default.

Format

mpls ldp advertisement { du | dod }

undo mpls ldp advertisement

Parameters

Parameter Description Value
du

Indicates the DU mode. Without a request, a downstream node voluntarily sends a Label Mapping message to the upstream node.

-

dod

Indicates the downstream on demand (DoD) mode. After an upstream node requests its downstream node for a label, the downstream node sends a Label Mapping message to the upstream node.

-

Views

100GE interface view, 10GE interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, GMPLS-UNI interface view, VLANIF interface view, XGE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-ldp write

Usage Guidelines

Usage Scenario

By default, downstream LSRs unsolicitedly send Label Mapping messages to upstream LSRs. Establishing a great number of LSPs burdens an LSR, such as a DSLAM (a low-performance access device) deployed on an MPLS network. On a large network, run the mpls ldp advertisement dod command. This setting allows a DSLAM to send Label Mapping messages to upstream LSRs only after receiving label requests. This setting helps minimize the number of unwanted MPLS forwarding entries forwarded by the DSLAM.

Prerequisites

MPLS and MPLS LDP have been enabled globally and on the interface.

Precautions

  • The mpls ldp advertisement command takes effect only after MPLS LDP has been enabled in the interface view.
  • When there are multiple links between neighbors, all interfaces must use the same label advertisement mode.
  • Modifying the label advertisement mode causes LDP sessions to be reestablished.

Example

# Set the label advertisement mode to DoD.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls ldp
[*HUAWEI-mpls-ldp] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] mpls
[*HUAWEI-GigabitEthernet0/1/0] mpls ldp
[*HUAWEI-GigabitEthernet0/1/0] mpls ldp advertisement dod
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >