show mpls static-lsp
Syntax
show mpls static-lsp <brief | detail | extensive | terse> <bypass> <descriptions> <down | up> <ingress> <instance instance-name> <logical-system (all | logical-system-name)> <lsp-type> <name name> <statistics> <transit>
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 |
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 |
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:
|
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.
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)
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
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
user@host> show mpls static-lsp Ingress LSPs: Total 0, displayed 0, Up 0, Down 0 Transit LSPs: LSPname Incoming-label State to-165 1000000 InProgress
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.