Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show mpls interface

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show mpls interface
<instance instance-name>
<logical-system (all | logical-system-name)>

Syntax (EX Series Switches)

content_copy zoom_out_map
show mpls interface

Description

Display information about Multiprotocol Label Switching (MPLS)-enabled interfaces.

Options

none

Display information about MPLS-enabled interfaces.

instance instance-name

(Optional) Display information about MPLS-enabled interfaces for the specified routing instance. If instance-name is omitted, information about MPLS-enabled interfaces is displayed for the master instance.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

Additional Information

MPLS is enabled on an interface when the interface is configured with both the set protocol mpls interface interface-name and set interface interface-name unit 0 family mpls statements.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show mpls interface command. Output fields are listed in the approximate order in which they appear.

Table 1: show mpls interface Output Fields

Field Name

Field Description

Interface

Name of the interface.

State

State of the interface: Up or Dn (down).

Administrative groups

Administratively assigned colors of the link.

Maximum labels

Maximum number of MPLS labels upon which MPLS can operate on a logical interface. This is configured using the maximum-labels statement at the [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family mpls] or the [edit interfaces interface-name unit logical-unit-number family mpls] hierarchy levels.

Static protection revert time

Time (in seconds) that a static LSP must wait before traffic reverts from the bypass path to the original path. This is configured using the protection-revert-time statement at the [edit logical-systems logical-system-name protocols mpls interface interface-name static] or the [edit protocols mpls interface interface-name static] hierarchy levels.

Always mark connection protection tlv

Enabled or Disabled: Enabled indicates that the always-mark-connection-protection-tlv statement is configured at the [edit logical-systems logical-system-name protocols mpls interface interface-name static] or the [edit protocols mpls interface interface-name static] hierarchy levels. When this statement is configured, it marks all OAM traffic transiting this interface in preparation for switching the traffic to an alternate path based on the OAM functionality. To switch traffic to the bypass LSP, the switch-away-lsps statement must be configured.

Switch away lsps

Enabled or Disabled: Enabled indicates that the switch-away-lsps statement is configured at the [edit logical-systems logical-system-name protocols mpls interface interface-name static] or the [edit protocols mpls interface interface-name static] hierarchy levels. This enables you to switch an LSP away from a network node using a bypass LSP. This feature can be used in maintenance of active networks when a network device needs to be replaced without interrupting traffic passing through the network. The LSPs can be either static or dynamic.

Sample Output

show mpls interface

content_copy zoom_out_map
user@host> show mpls interface

Interface: ge-0/2/1.57
  State: Up
  Administrative group: <none>
  Maximum labels: 5
  Static protection revert time: 5 seconds
  Always mark connection protection tlv: Disabled
  Switch away lsps : Disabled

Release Information

Command introduced before Junos OS Release 7.4.

instance instance-name option added in Junos OS Release 15.1.

footer-navigation