Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show mpls interface

Syntax

Syntax (EX Series Switches)

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

Release Information

Command introduced before Junos OS Release 7.4.

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