advertise-labels
Use this command to prevent the distribution of any locally assigned labels.
Use the no parameter to enable the distribution of all locally assigned labels to all LDP neighbors.
Command Syntax
advertise-labels for any to none
advertise-labels for PREFIX to (PEER|any)
no advertise-labels for any to none
no advertise-labels for PREFIX to (PEER|any)
Parameters
for
Specify the permitted destinations
any
Specify to permit any locally assigned labels
PREFIX
Specify the destinations which have labels are advertised
to
Specify the given neighbor
PEER
Specify the LDP neighbors which receive these advertisements
none
Specify that there are no LDP neighbors
Default
The labels of all destinations are advertised to all LDP neighbors.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ldp
(config-router)#advertise-labels for any to none
#configure terminal
(config)#router ldp
(config-router)#advertise-labels for PREFIX to any
#configure terminal
(config)#router ldp
(config-router)#advertise-labels for PREFIX to PEER
Last modified date: 10/17/2023