mpls ldp advertisement

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

Remote MPLS LDP peer 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.

Precautions

  • 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] quit
[*HUAWEI] mpls ldp
[*HUAWEI-mpls-ldp] quit
[*HUAWEI] mpls ldp remote-peer abc
[*HUAWEI-mpls-ldp-remote-abc] mpls ldp advertisement dod
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >