Specifications

Table Of Contents
mpls ldp label
MP-232
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
mpls ldp label
To enter MPLS LDP label configuration mode to specify how Multiprotocol Label Switching (MPLS)
Label Distribution Protocol (LDP) handles local label allocation, use the mpls ldp label command in
global configuration mode. To remove all local label allocation filters configured in MPLS LDP label
configuration mode and restore LDP default behavior for local label allocation without a session reset,
use the no form of this command.
mpls ldp label
no mpls ldp label
Syntax Description This command has no arguments or keywords.
Command Default LDP label configuration mode commands are not available.
Command Modes Global configuration (config)
Command History
Usage Guidelines After you enter the mpls ldp
label command, you can specify a prefix list or host routes to filter prefixes
for MPLS LDP local label allocation.
Use the no
form of the command to remove prefix filtering for local label allocation and restore the
default LDP local allocation behavior without resetting the session.
A maximum of one filter configuration is allowed for the global table.
Examples The following example shows how to enter MPLS LDP label configuration mode, specify the prefix list
n
amed list1 to filter prefixes for MPLS LDP local label allocation, and exit MPLS LDP label
configuration mode:
configure terminal
!
mpls ldp label
allocate global prefix-list list1
exit
The following examples shows how to remove all local label allocation filters in MPLS LDP label
configuration mode and restore LDP default behavior for local label allocation:
configure terminal
!
no mpls ldp label
Release Modification
12.2(33)SRC This command was introduced.
12.2(33)SB This command was integrated into Cisco IOS Release 12.2(33)SB.