OcNOS-SP : Multi-Protocol Label Switching Guide : Label Distribution Protocol Command Reference : LDP Commands : advertisement-mode
advertisement-mode
Use this command to set the label advertisement mode for all the interfaces for the current LSR. Specifying downstream-on-demand and downstream-unsolicited mode affects which LSR initiates mapping requests and mapping advertisements.
This command is a global command used to set the label advertisement mode for all interfaces for the current LSR. The advertisement mode set for a specific interface overrides the value set by this command (see ldp advertisement-mode). Use this command before starting the interface as it closes and restarts all sessions.
Use the no parameter to revert to the default advertisement mode value.
Command Syntax
advertisement-mode (downstream-on-demand|downstream-unsolicited)
no advertisement-mode (downstream-on-demand|downstream-unsolicited)
Parameters
downstream-on-demand
 
Sends label upon request. When a users uses this mode, a router distributes a label to a peer only if there is a pending label request from a peer. The reaction of the downstream router to this request depends on the label advertising mode supported on the next hop. This mode is typically used with the conservative label retention mode.
downstream-unsolicited
 
Sends label without waiting request. This mode distributes labels to peers without waiting for a label request, and is typically used with the liberal label retention mode.
Default
By default, advertisement mode is downstream-unsolicited
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
In the following example, the LSR will use the downstream-unsolicited advertisement mode for an LDP session on its interfaces.
#configure terminal
(config)#router ldp
(config-router)#advertisement-mode downstream-unsolicited
Last modified date: 10/17/2023