< Home

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 1023.

label-number label-number

Specifies the number of the required labels.

The value is an integer ranging from 1 to 1008.

Views

All views

Default Level

1: Monitoring level

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.

Before specifying a label for static services, ensure that the specified label is available. You can run the display mpls label static available command to view labels for static services.

In the command output, a hyphen is used to specify 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

# Display information about labels available for transmitting static services.

<HUAWEI> display mpls label static available
16-1023
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >