display mpls label
Use display mpls label to display MPLS label usage information.
Syntax
display mpls label { label-value1 [ to label-value2 ] | all }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
label-value1: Specifies a label value. The value range is 16 to 1048575. If used with the label-value2 argument, the label-value1 argument represents the start label of a label range.
to label-value2: Specifies the end label of the label range. The value range for the end label is 16 to 1048575. If you specify a label range by using the label-value1 argument and the to label-value2 option, this command displays usage information for the specified range of labels.
all: Specifies all labels.
Examples
# Display usage information for labels 1025 through 1027.
<Sysname> display mpls label 1025 to 1027 Label Owner State 1025 LDP Alloc 1026 LDP Alloc 1027 LDP Inuse
Table 3: Command output
Field | Description |
---|---|
Label | Label value. |
Owner | Protocol that is using the label:
This field displays a hyphen (-) when the label state is Idle. |
State | Usage state of the label:
|