Advertise-Labels - Cisco Nexus 7000 Series Command Reference Manual

Nx-os mpls
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

advertise-labels

advertise-labels
To configure label advertisements, use the advertise-labels command. To return to the default setting, use
the no form of this command.
Syntax Description
for
prefix-list
to
interface
interface-number
Defaults
None
Command Modes
LDP configuration mode
Supported User Roles
network-admin
vdc-admin
Command History
Release
5.2(1)
Usage Guidelines
To block label advertisements to the rest of the LDP peers, use the no advertise-labels command.
This command requires the MPLS Services license.
Examples
This example shows how to configure the device to advertise the label on destination prefixes:
switch# configure terminal
switch(config)# mpls ldp configuration
switch(config-ldp)# advertise-labels for p1
switch(config-ldp)#
This example shows how to configure the device to advertise the label for designated destination prefixes
to designated LDP peers:
switch# configure terminal
switch(config)# mpls ldp configuration
switch(config-ldp)# advertise-labels for p1 to peer1
switch(config-ldp)#
Cisco Nexus 7000 Series NX-OS MPLS Command Reference
16
advertise-labels [for prefix-list [to prefix-list] | interface interface number]
no advertise-labels [for prefix-list [to prefix-list] | interface interface number]
(Optional) Specifies the prefix list controls on destination prefixes.
Name of the prefix list.
(Optional) Specifies the prefix list controls on Label Distribution Protocol
(LDP) peers.
(Optional) Specifies the interface address.
Interface number.
Modification
This command was introduced.
A Commands
OL-24994-02

Advertisement

Table of Contents
loading

Table of Contents