< Home

mpls ldp advertisement

Function

The mpls ldp advertisement command configures the label advertisement mode.

The undo mpls ldp advertisement command restores the default settings.

By default, the label advertisement mode is Downstream Unsolicited (DU).

Format

mpls ldp advertisement { dod | du }

undo mpls ldp advertisement

Parameters

Parameter Description Value
dod Indicates the Downstream on Demand (DoD) mode. After the upstream requests the downstream for a label, the downstream sends a Label Mapping message to the upstream. -
du Indicates the DU mode. Without a request, the downstream voluntarily sends a Label Mapping message to the upstream. -

Views

Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Dialer interface view, VLANIF interface view, Virtual-Template interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, downstream LSRs unsolicitedly send Label Mapping messages to upstream LSRs. Establishing a large number of LSPs burdens an LSR such as a Digital Subscriber Line Access Multiplexer (DSLAM) (a low-performance access device) deployed on an MPLS network. On a large-scale network, run the mpls ldp advertisement dod command. This setting allows a DSLAM to send Label Mapping messages to upstream LSRs only after receiving requests for labels. 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

  • This 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 be DoD.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] mpls ldp advertisement dod
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >