Specifications

Table Of Contents
Multiprotocol Label Switching Commands
allocate
MP-6
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
allocate
To configure local label allocation filters for learned routes for Multiprotocol Label Switching (MPLS)
Label Distribution Protocol (LDP), use the allocate command in MPLS LDP label configuration mode.
To remove the specific MPLS LDP local label allocation filter without resetting the LDP session, use the
no form of this command.
allocate gl
obal {prefix-list {list-name | list-number} | host-routes}
no allocate gl
obal {prefix-list {list-name | list-number} | host-routes}
Syntax Description
Command Default Prefix filters are not configured for MPLS LDP local label allocation.
Command Modes MPLS LDP label configuration (config-ldp-lbl)
Command History
Usage Guidelines LDP allocates local labels for all learned routes or prefixes. Use the al
locate command to specify a prefix
list or a host route to control local label allocation filtering.
If you configure the a
llocate command with a prefix list as the filter and the prefix list does not exist, a
prefix list is created that initially permits all prefixes.
You can configure only one prefix list for the global routing table. Configuring a different prefix list
o
verrides the existing configuration.
If you configure the al
locate command with host routes as the filter, then LDP allocates local labels for
host routes only.
The no f
orm in a specific allocate command removes that particular local label allocation configuration
from the global table.
global Specifies the global routing table.
prefix-list Specifies a prefix list to be used as a filter for MPLS LDP local label
allo
cation.
list-name Name that identifies the prefix list.
list-number Number that identifies the prefix list.
host-routes Specifies that host routes be used as a filter for MPLS LDP local label
allo
cation.
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.