< Home

mpls ldp advertisement

Function

The mpls ldp advertisement command configures the label advertisement mode.

The undo mpls ldp advertisement command restores the default setting.

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

VLANIF interface view, GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-trunk interface view, remote MPLS LDP peer 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 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 requests for labels. This setting helps minimize the number of unwanted MPLS forwarding entries forwarded by the DSLAM.

Prerequisites

MPLS LDP has been enabled on the interface using the mpls ldp (interface view) command.

Precautions

  • When multiple links exist between neighbors, all interfaces must use the same label advertisement mode.

  • Modifying the label advertisement mode causes reestablishment of LDP sessions.

Example

# Set the label advertisement mode to DoD.
<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls
[HUAWEI-Vlanif100] mpls ldp
[HUAWEI-Vlanif100] mpls ldp advertisement dod
Warning: All the related sessions will be deleted if the operation is performed!Continue? (y/n)y
# Set the label advertisement mode to DoD.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mpls
[HUAWEI-GigabitEthernet0/0/1] mpls ldp
[HUAWEI-GigabitEthernet0/0/1] mpls ldp advertisement dod
Warning: All the related sessions will be deleted if the operation is performed!Continue? (y/n)y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >