configure mpls labels max-static

configure mpls labels max-static max_static_labels

Description

Configures the number of labels that are reserved for specifying the incoming label for static LSPs and static pseudowires.

Syntax Description

labels

Specifies that labels are reserved to specify the incoming label for static LSPs and static pseudowires.

max-static

Specifies the number of labels that are reserved to specify the incoming label for static LSPs and static PWs.

max_static-labels

Specifies the value for the maximum number of static labels.

Default

The default static label range size is 100.

Usage Guidelines

Use this command to configure the number of labels that are reserved for specifying the incoming label for static LSPs and static PWs. The static label range generally starts at 16 and the default static label range size is 100. This means that the default static label range is 16 through 115 and can be allocated for either incoming (both transit and egress) static LSPs, or incoming static PWs. The maximum static label_range_size is equal to the incoming label table size – 100 labels for signaling. 960 labels are reserved for L3VPNs. The maximum number of labels available for static configuration is 7116, since at least 100 of those labels are reserved for dynamic signaling.

Since these values vary per-platform, use the show mpls label usage command to see details about label usage and platform capability. The minimum static label range size is 0.

Note

Note

MPLS (Multiprotocol Label Switching) must be disabled when issuing this command. If MPLS is enabled, an error message is displayed and the command has no affect. All other labels, including outgoing labels for static LSPs and PWs and signaled labels used by RSVP-TE and LDP, are allocated out of the dynamic label space.

Example

The following example illustrates how to configure MPLS max-static labels, and how to display them:

Summit1.2 # show mpls lab usage

Label Type                 Size    Label Range                             
--------------------    -------    ----------------------------------------
Supported               1048576    0x00000 - 0xfffff (0 - 1048575)         
Reserved                     16    0x00000 - 0x0000f (0 - 15)              
Static                      100    0x00010 - 0x00073 (16 - 115)            
L3VPN                       960    0x00074 - 0x00433 (116 - 1075)          
Dynamic                    7116    0x00434 - 0x01fff (1076 - 8191)         
Internal Use                  0    0x00000 - 0x00000 (0 - 0)               
...


Summit1.3 # disable mpls
* Summit1.4 # conf mpls lab max-static 7117
Error: There must be at least 100 dynamic labels remaining for MPLS signalling protocols.
* Summit1.5 # conf mpls lab max-static 7116
* Summit1.6 # show mpls lab usage

Label Type                 Size    Label Range                             
--------------------    -------    ----------------------------------------
Supported               1048576    0x00000 - 0xfffff (0 - 1048575)         
Reserved                     16    0x00000 - 0x0000f (0 - 15)              
Static                     7116    0x00010 - 0x01bdb (16 - 7131)           
L3VPN                       960    0x01bdc - 0x01f9b (7132 - 8091)         
Dynamic                     100    0x01f9c - 0x01fff (8092 - 8191)         
Internal Use                  0    0x00000 - 0x00000 (0 - 0)               
... 

History

This command was first available in ExtremeXOS 15.4

Platform Availability

This command is available only on the platforms that support MPLS as described in the ExtremeXOS 22.7 Feature License Requirements document.