Specifications

Table Of Contents
mpls label range
MP-195
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
<16-999> Lower Minimum static label value
In this example, the range available for static label assignment is from 16 to 999.
If you configure the dynamic label space with the default minimum (16) and maximum (1048575)
v
alues, no space remains for static label assignment, help lines are not displayed, and you cannot
configure static label bindings. For example:
Router(config)# mpls label range 16 1048575 ?
<cr>
Examples The following example shows how to configure the size of the local label space. In this example, the
minimum static value is set to 200, and the maximum static value is set to 120000.
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# mpls label range 200 120000
Router(config)#
If you had specified a new range that overlaps the current range (for example, the new range of the
minimum static value set to 16 and the maximum static value set to 120000), then the new range takes
effect immediately.
The following example show how to configure a dynamic local label space with a minimum static value
s
et to 1000 and the maximum static value set to 1048575 and a static label space with a minimum static
value set to 16 and a maximum static value set to 999:
Router(config)# mpls label range 1000 1048575 static 16 999
Router(config)#
In the following output, the show mpls label range command, executed after a reload, shows that the
configured range is now in effect:
Router# show mpls label range
Downstream label pool: Min/Max label: 1000/1048575
Range for static labels: Min/Max/Number: 16/999
The following example shows how to restore the label range to its default value:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# no mpls label range
Router(config)# end
Related Commands Command Description
show mpls forwarding table Displays the contents of the MPLS LFIB.
show mpls label range Displays the range of the MPLS local label space.