show mpls label usage label-range
Command introduced in Junos OS Release 17.2.
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.
Required Privilege Level
List of Sample Output
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
Indicates the different types of labels currently used in MPLS.
Indicates the total label space available.
Indicates the number of freely available labels and also the percentage of the label space available.
Indicates the applications that use the MPLS label spaces.
Indicates actual ranges in use, which can be different from configured ranges, if conflicting with label already allocated.
Indicates the currently configured range assigned to different label spaces on the device.
Indicates the currently used labels with label type and application type details.
With the enhanced-ip command enabled on the supported device, you get the following output.
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