Show Commands (MPLS-Labels)

label

Syntax

label start-label [end-label| [in-use |label-owner]]

Context

show>router>mpls-labels

Description

This command displays MPLS labels exchanged by signaling protocols.

Parameters

start-label

specifies the label value assigned at the ingress router

Values

32 to 131071

end-label

specifies the label value assigned for the egress router

Values

32 to 131071

in-use

specifies the number of in-use labels displayed

label-owner

specifies the owner of the label

Values

bgp, evpn, ildp, mirror, rsvp, static, sr, svcmgr, tldp, vprn

Output

The following output is an example of MPLS label information, and Table: Router MPLS-Labels Label Field Descriptions describes the fields.

Output Example
ALU-12# show router mpls-labels label 32
================================================================
MPLS Label 32
================================================================
Label               Label Type          Label Owner
----------------------------------------------------------------
32                  static-lsp          Not-in-use
----------------------------------------------------------------
In-use labels in entire range  : 7
================================================================
ALU-12#
*A:Sar18 Dut-B>show>router>mpls-labels># label 32 131071 ildp
=================================================================
MPLS Labels from 32 to 131071 (Owner: ILDP)
=================================================================
Label               Label Type          Label Owner
-----------------------------------------------------------------
131070              dynamic             ILDP
131071              dynamic             ILDP
-----------------------------------------------------------------
In-use labels (Owner: ILDP) in specified range  : 2
In-use labels (Owner: All) in specified range   : 2
In-use labels in entire range                   : 2
=================================================================
Table: Router MPLS-Labels Label Field Descriptions

Label

Description

Label

The value of the label

Label Type

Specifies whether the label value is statically or dynamically assigned

Label Owner

The label owner

In-use labels (Owner: ILDP) in specified range

The total number of labels in the specified range being used by the specified owner

In-use labels (Owner: All) in specified range

The total number of labels in the specified range being used by all owners

In-use labels in entire range

The total number of labels being used

label-range

Syntax

label-range

Context

show>router>mpls-labels

Description

This command displays the MPLS label range.

Output

The following output is an example of MPLS label range information, and Table: Router MPLS-Labels Label Range Field Descriptions describes the fields.

Output Example
ALU-12# show router mpls-labels label-range 
==============================================================================
Label Ranges
==============================================================================
Label Type      Start Label End Label   Aging       Available   Total
------------------------------------------------------------------------------
Static          32          18431       -           18400       18400
Dynamic         18432       131071      0           112638      112640
Seg-Route       0           0           -           0           112640
==============================================================================
ALU-12# 
Table: Router MPLS-Labels Label Range Field Descriptions

Label

Description

Label Type

Displays information about static-lsp, static-svc, and dynamic label types

Start Label

The label value assigned at the ingress router

End Label

The label value assigned for the egress router

Aging

The number of labels released from a service that are transitioning back to the label pool. Labels are aged for 15 seconds.

Available

The number of label values available in the label range

Total

The total number of label values in the label range

summary

Syntax

summary

Context

show>router>mpls-labels

Description

This command displays a summary of MPLS label usage.

Output

The following output is an example of MPLS label summary information, and Table: Router MPLS-Labels Summary Field Descriptions describes the fields.

Output Example
*A:Sar18 Dut-B>show>router>mpls-labels># summary
===============================================================================
Mpls-Labels Summary
===============================================================================
Static Label Range                     : 18400
Bgp Labels Hold Timer                  : 0
Segment Routing Start Label            : 0
Segment Routing End Label              : 0
===============================================================================
Table: Router MPLS-Labels Summary Field Descriptions

Label

Description

Static Label Range

The number of label values available in the static label range

Bgp Labels Hold Timer

The number of BGP labels in use under control of the hold timer

Segment Routing Start Label

The start label value for segment routing labels

Segment Routing End Label

The end label value for segment routing labels