Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show mpls static-lsp

Syntax

show mpls static-lsp<brief | detail | extensive | terse><bypass><descriptions><down | up><ingress><logical-system (all | logical-system-name)><lsp-type><name name><statistics><transit>

Release Information

Command introduced in Junos OS Release 10.1.

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.

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

List of Sample Output

show mpls static-lsp extensive
show mpls static-lsp statistics ingress

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

user@host> show mpls static-lsp extensive
Ingress LSPs:
LSPname: alpha-to-beta, To: 192.168.14.1
  State: Dn
  Nexthop: 192.168.10.1
  LabelOperation: Push, Outgoing-label: 1000001
  Created: Thu Jan 14 16:44:43 2010
  Bandwidth: 0 bps
Total 1, displayed 1, Up 0, Down 1

Transit LSPs:
Total 0, displayed 0, Up 0, Down 0

Bypass LSPs:
Total 0, displayed 0, Up 0, Down 0

show mpls static-lsp statistics ingress

user@host> show mpls static-lsp statistics ingress
Ingress LSPs:
LSPname                      To              State     Packets            Bytes
alpha-to-beta                192.168.14.1    Dn             NA               NA
Total 1, displayed 1, Up 0, Down 1

Published: 2014-09-26

Published: 2014-09-26