Specifications

Table Of Contents
mpls ldp advertise-labels
MP-198
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
mpls ldp advertise-labels
To control the distribution of locally assigned (incoming) labels by means of label distribution protocol
(LDP), use the mpls ldp advertise-labels command in global configuration mode. To disable this
feature, use the no form of this command.
mpls ldp advertise-labels [vr
f vpn-name] [interface interface | for prefix-access-list [to
peer-access-list]]
no mpls ldp advertise-labels [vr
f vpn-name] [interface interface | for prefix-access-list [to
peer-access-list]]
Syntax Description
Defaults The labels of all destinations are advertised to all LDP neighbors.
If the vr
f keyword is not specified, this command applies to the default routing domain.
If the int
erface keyword is not specified, no label is advertised for the interface address.
Command Modes Global configuration
Command History
vrf vp
n-name (Optional) Specifies the Virtual Private Network (VPN) routing and
forwarding (VFR) instance for label advertisement.
interface in
terface (Optional) Specifies an interface for label advertisement of an interface
address.
for p
refix-access-list (Optional) Specifies which destinations should have their labels advertised.
to p
eer-access-list (Optional) Specifies which LDP neighbors should receive label
advertisements. An LSR is identified by its router ID, which consists of the
first 4 bytes of its 6-byte LDP identifier.
Release Modification
11.1CT This command was introduced.
12.0(10)ST This command was modified to reflect Mutiprotocol Label Switching
(M
PLS) Internet Engineering Task Force (IETF) command syntax and
terminology.
12.0(14)ST This command was modified to reflect MPLS VPN support for LDP and to
m
ake the command consistent with the way Cisco IOS software interprets the
prefix-access-list argument.
12.1(2)T This command was integrated into Cisco IOS Release 12.1(2)T.
12.1(8a)E This command was integrated into Cisco IOS Release 12.1(8a)E.
12.2(2)T This command was integrated into Cisco IOS Release 12.2(2)T.
12.2(4)T This command was integrated into Cisco IOS Release 12.2(4)T.
12.2(8)T This command was integrated into Cisco IOS Release 12.2(8)T.
12.0(21)ST This command was integrated into Cisco IOS Release 12.0(21)ST.
12.0(22)S This command was integrated into Cisco IOS Release 12.(22)S. The
int
erface interface keyword and argument were added.