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).
| 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. | - |
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
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.