MPLS Forwarding Commands on Cisco IOS XR Software
mpls label range
MPR-155
Cisco IOS XR Multiprotocol Label Switching Command Reference
mpls label range
To configure the range of local labels available for use on packet interfaces, use the mpls label range
command in global configuration mode. To return to the default behavior, use the no form of this
command.
mpls label range [table table-id] minimum maximum
no mpls label range [table table-id] minimum maximum
Syntax Description
Defaults table-id: 0
minimum: 16
maximum: 1048575
Command Modes Global configuration
Command History
Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper
task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on
Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The label range defined by the mpls label range command is used by all MPLS applications that allocate
local labels (for dynamic label switching Label Distribution Protocol [LDP], MPLS traffic engineering,
and so on).
Labels 0 through 15 are reserved by the Internet Engineering Task Force (IETF) (see
draft-ietf-mpls-label-encaps-07.txt for details) and cannot be included in the range using the mpls label
range command.
Task ID
table table-id (Optional) Identifies a specific label table; the global label table has table-id = 0. If
no table is specified, the global table is assumed. Currently, you can specify table 0
only.
minimum Smallest allowed label in the label space. Default is 16.
maximum Largest allowed label in the label space. Default is 1048575.
Release Modification
Release 2.0 This command was introduced on the Cisco CRS-1.
Release 3.0 No modification.
Release 3.2 This command was supported on the Cisco XR 12000 Series Router.
Release 3.3.0 No modification.
Task ID Operations
mpls-te, mpls-ldp read, write, read, write