display mpls label static available

Function

The display mpls label static available command displays information about labels available for transmitting static services.

Format

display mpls label static available [ [ label-from label-index ] label-number label-number ]

Parameters

Parameter Description Value
label-from label-index

Specifies the start label value.

The value is an integer ranging from 16 to 262143.

label-number label-number

Specifies the number of the needed labels.

The value is an integer ranging from 1 to 262128.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
system read

Usage Guidelines

Usage Scenario

By default, the system reserves separate label spaces for dynamic and static services, allowing labels for dynamic and static services to be stored in separate spaces. This facilitates label management and maintenance but wastes label resources on some devices. If label resources are limited on a device, to save label resources, enable the dynamic and static services to share the label space.

If dynamic and static services share label spaces, ensure that labels are not used by dynamic services before being the labels are allocated to static services. The display mpls label static available command displays information about labels available for transmitting static services.

In the command output, a dash is used to indicate a range. For example, labels 1000, 1001, and 1002 are displayed as 1000-1002.

Follow-up Procedure

Labels displayed in the command output can be allocated for static services.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about labels available for transmitting static services.
<HUAWEI> display mpls label static available
16-4095
Table 1 Description of the display mpls label static available command output
Item Description
16-4095

Range of labels that can be used by static services.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >