Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show mpls label usage label-range

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show mpls label usage label-range
<block-label-range range-start range-end>
<dynamic-label-range range-start range-end>
<label-limit label-limit value>
<lsi-label-range range-start range-end>
<static-label-range range-start range-end>

Description

There are four different label spaces currently used in MPLS—namely LSI, dynamic, block, and static. Each label space has a fixed number and cannot grow beyond the fixed value. Using show mpls label usage label-range command, the administrator can monitor the available labels in each label space and the applications that are using the labels. Based on the availability of labels, the administrator can decide to stop any service and free some labels or use other service where the labels are available.

Starting in Junos OS Release 17.2, you can configure the enhanced-ip command, which is supported on platforms using Modular Port Concentrators (MPCs) equipped with Junos Trio chipsets. You can also separate the MPLS labels used for different label spaces which provides more flexibility and scalability.

When you set each member router’s network services to enhanced-ip, only MPC or Modular Interface Cards (MICs) modules and Multiservices Dense Port Concentrator (MS-DPC) modules are powered on in the chassis. Non-service DPCs do not work with enhanced IP network services.

Options

block-label-range range-start range-end

Display the details of block label type.

dynamic-label-range range-start range-end

Display the details of dynamic label type.

label-limit label-limit value

Limit for the number of concurrent active labels.

lsi-label-range range-start range-end

Display the details of LSI label type.

static-label-range range-start range-end

Display the details of static label type.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show mpls label usage label-range command. Output fields are listed in the order in which they appear.

Table 1: show mpls label usage label-range Fields

Field Name

Field Description

Label Space

Indicates the different types of labels currently used in MPLS.

Total

Indicates the total label space available.

Available

Indicates the number of freely available labels and also the percentage of the label space available.

Applications

Indicates the applications that use the MPLS label spaces.

Effective Ranges

Indicates actual ranges in use, which can be different from configured ranges, if conflicting with label already allocated.

Configured Ranges

Indicates the currently configured range assigned to different label spaces on the device.

Total

Indicates the currently used labels with label type and application type details.

Sample Output

show mpls label usage label-range

With the enhanced-ip command enabled on the supported device, you get the following output.

content_copy zoom_out_map
user@host> show mpls label usage label-range 16 600
Label space Total   Available        Applications
LSI         101     99     (98.02% ) BGP/LDP VPLS with no-tunnel-services, BGP L3VPN with vrf-table-label
Block       101     101    (100.00%) BGP/LDP VPLS with tunnel-services, BGP L2VPN
Dynamic     101     98     (97.03% ) RSVP, LDP, PW, L3VPN, RSVP-P2MP, LDP-P2MP, MVPN, EVPN, BGP
Static      48576   48576  (100.00%) Static LSP, Static PW
Effective Ranges
Range name  Shared with Start   End      
LSI         300     400      
Block       500     600      
Dynamic     100     200      
Static      1000000 1048575  
Configured Ranges
Range name  Shared with Start   End      
LSI         300     400      
Block       500     600      
Dynamic     100     200      
Static      1000000 1048575  
Total(16 to 600) 5
Label type  Alloc count 
LSI         2          
Dynamic     3          
App type    Alloc count 
LDP         1          
BGP         2          
RT_INSTANCE 2

Release Information

Command introduced in Junos OS Release 17.2.

footer-navigation