Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show mpls static-lsp

Syntax

Description

Display information about configured and active static Multiprotocol Label Switching (MPLS) label-switched paths (LSPs).

Options

none

Display standard information about all configured and active static MPLS LSPs.

brief | detail | extensive | terse

(Optional) Display the specified level of output. The extensive option displays the same information as the detail option, but covers the most recent 50 events.

bypass

(Optional) Display LSPs used for protecting other static LSPs.

descriptions

(Optional) Display the MPLS static LSP descriptions. To view this information, you must configure the description statement at the [edit protocols mpls static-label-switched-path path-name bypass], [edit protocols mpls static-label-switched-path path-name ingress], or [edit protocols mpls static-label-switched-path path-name transit incoming-label] hierarchy levels. Only static LSPs with a description are displayed.

down | up

(Optional) Display only static LSPs that are inactive or active, respectively.

instance instance-name

(Optional) Display information about all configured and active static MPLS LSPs for the specified routing instance. If instance-name is omitted, information about all configured and active static MPLS LSPs for the master instance is displayed.

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

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

lsp-type

(Optional) Display information about a particular LSP type:

  • bypass—Sessions for bypass LSPs.

  • ingress—Sessions that originate from this routing device.

  • transit—Sessions that pass through this routing device.

name name

(Optional) Display information about the specified static LSP or group of LSPs.

statistics

(Optional) Display accounting information about static LSPs.

transit

(Optional) Display static LSPs transiting this routing device.

Required Privilege Level

view

Output Fields

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

Table 1: show mpls static-lsp Output Fields

Field Name

Field Description

Level of Output

Ingress LSPs

Information about the static LSPs on the ingress routing device. Each session has one line of output.

All levels

Transit LSPs

Number of static LSPs on the transit routing devices and the state of these paths. MPLS learns this information by querying RSVP, which holds all the transit and egress session information.

All levels

Bypass LSPs

Information about the bypass LSPs configured on the routing device. Each session has one line of output.

All levels

LSPname

Name of the static LSP.

All levels

To

Destination (egress routing device) of the session.

All levels

State

State of the static LSP handled by this RSVP session: Up, Dn (down), or Restart.

All levels

Packets

Number of packet transiting the static LSP (statistics option only).

All levels

Bytes

Number of bytes transiting the static LSP (statistics option only).

All levels

Nexthop

IP address for the next-hop router for the static LSP.

detail, extensive

Bypass

(Bypass LSP) Destination address (egress routing device) for the bypass LSP.

All levels

Link protection desired

Link protection has been requested by the ingress routing device.

detail, extensive

LabelOperation

Label operation to perform: Push, Pop, Swap.

detail, extensive

Outgoing-label

Outgoing label to use for the MPLS packet in either push or swap label operations.

detail, extensive

Created

(Ingress LSP) Date and time the static LSP was created.

extensive

Bandwidth

Bandwidth configured for the static LSP.

detail, extensive

Resv style

(Bypass) RSVP reservation style. This field consists of two parts: the number of active reservations and the reservation style, which can be FF (fixed filter), SE (shared explicit), or WF (wildcard filter).

All levels

Sample Output

show mpls static-lsp extensive

show mpls static-lsp statistics ingress

show mpls static-lsp (when MPLS stitching is used)

The show mpls static-lsp command was extended in Junos release 14.1X53-D25 to accommodate the stitching feature of MPLS. This example shows the LSP state as 'InProgress' because the LSP is waiting for protocol next-hop resolution. For more information, see

Release Information

Command introduced in Junos OS Release 10.1.Command updated in Junos OS Release 14.1X53-D25 to accommodate the stitching feature of MPLS.