Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show mpls interface

    Syntax

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

    Syntax (EX Series Switches)

    show mpls interface

    Release Information

    Command introduced before Junos OS Release 7.4.

    Command introduced in Junos OS Release 9.5 for EX Series switches.

    Description

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

    Options

    none
    —

    Display information about MPLS-enabled interfaces.

    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

    List of Sample Output

    show mpls interface

    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

    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

    Published: 2013-07-09