Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show mpls lsp

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show mpls lsp
<brief | detail | extensive | terse>
<abstract-computation>
<autobandwidth>
<bidirectional | unidirectional>
<bypass>
<count-active-routes>
<defaults>
<descriptions>
<down | up>
<externally-controlled>
<externally-provisioned>
<instance routing-instance-name>
<locally-provisioned>
<logical-system (all | logical-system-name)>
<lsp-type>
<name name>
<p2mp>
<reverse-statistics>
<segment>
<statistics>
<transit>

Syntax (EX Series Switches Only)

content_copy zoom_out_map
show mpls lsp
<brief | detail | extensive | terse>
<bidirectional | unidirectional>
<bypass>
<descriptions>
<down | up>
<externally-controlled>
<externally-provisioned>
<lsp-type>
<name name>
<p2mp>
<statistics>
<transit>

Description

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

Options

none

Display standard information about all configured and active dynamic 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.

In the extensive command output, the duplicate back-to-back messages are recorded as aggregated messages. An additional timestamp is included for these aggregated messages, where if the aggregated messages are five or less, timestamp deltas are recorded for each message, and if the aggregated messages are greater than five, the first and last timestamp is recorded.

For example:

  • All timestamps

    content_copy zoom_out_map
    9204 Jun 29 13:23:45.405 10.54.43.110: Explicit Route: bad strict route [3 times - 13:21:00, 13:22:01, 13:23:10]
  • Timestamp deltas

    content_copy zoom_out_map
    9204 Jun 29 13:23:45.405 510.4.43.110: Explicit Route: bad strict route [3 times - 13:21:00, +1:01, +2:10]
  • First and last timestamp

    content_copy zoom_out_map
    9204 Jun 29 13:23:45.405 10.4.43.110: Explicit Route: bad strict route [6 times - 13:21:00, 13:23:10]
abstract-computation

(Optional) Display abstract computation preprocessing for LSPs.

See show mpls lsp abstract-computation for more details.

autobandwidth

(Optional) Display automatic bandwidth information. This option is explained separately (see show mpls lsp autobandwidth).

bidirectional | unidirectional

(Optional) Display bidirectional or unidirectional LSP information, respectively.

bypass

(Optional) Display LSPs used for protecting other LSPs.

count-active-routes

(Optional) Display active routes for LSPs.

defaults

(Optional) Display the MPLS LSP default settings.

descriptions

(Optional) Display the MPLS label-switched path (LSP) descriptions. To view this information, you must configure the description statement at the [edit protocol mpls lsp] hierarchy level. Only LSPs with a description are displayed. This command is only valid for the ingress routing device, because the description is not propagated in RSVP messages.

down | up

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

externally-controlled

(Optional) Display the LSPs that are under the control of an external Path Computation Element (PCE).

externally-provisioned

(Optional) Display the LSPs that are generated dynamically and provisioned by an external Path Computation Element (PCE).

instance instance-name

(Optional) Display MPLS LSP information for the specified instance. If instance-name is omitted, MPLS LSP information is displayed for the master instance.

locally-provisioned

(Optional) Display LSPs that have been provisioned locally by the Path Computation Client (PCC).

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.

  • egress—Sessions that terminate on this routing device.

  • ingress—Sessions that originate from this routing device.

  • pop-and-forward—Sessions that originate from RSVP-TE pop-and-forward LSP tunnels.

  • transit—Sessions that pass through this routing device.

name name

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

p2mp

(Optional) Display information about point-to-multipoint LSPs.

reverse-statistics

(Optional) Display packet statistics for reverse direction of LSPs.

segment

(Optional) Display segment identifier (SID) labels.

statistics

(Optional) (Ingress and transit routers only) Display accounting information about LSPs. Statistics are generally not available for LSPs on the egress routing device, because in most cases either penultimate hop popping or explicit null labels are used. These labels, 3 and 0, respectively, fall into the reserved range of 0-15, for which egress statistics are not available. For example, with explicit null operation (label 0), as the packet arrives at the egress routing device, the hardware removes the MPLS label and the packet reverts to being an IPv4 packet. Therefore, it is counted as an IPv4 packet, not an MPLS packet.

Note:

When a label from the 0-15 reserved range is used at the egress LSR, you expect to see egress LSP statistics as not applicable (NA):

content_copy zoom_out_map
user@ptx> show mpls lsp statistics
Ingress LSP: 1 sessions
To              From            State     Packets            Bytes LSPname
10.0.255.42     10.0.255.47     Up             10            920    PTX-to-MX_UHP
Total 1 displayed, Up 1, Down 0

Egress LSP: 1 sessions
To              From            State     Packets            Bytes LSPname
10.0.255.47     10.0.255.42     Up          NA       NA  MX-to-PTX_PHP    
Total 1 displayed, Up 1, Down 0
Note:

If a bypass LSP is configured for the primary static LSP, display cumulative statistics of packets traversing through the protected LSP and bypass LSP when traffic is re-optimized when the protected LSP link is restored. (Bypass LSPs are not supported on QFX Series switches.)

When used with the bypass option (show mpls lsp bypass statistics), display statistics for the traffic that flows only through the bypass LSP.

transit

(Optional) Display LSPs transiting this routing device.

Required Privilege Level

view

Output Fields

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

Table 1: show mpls lsp Output Fields

Field Name

Field Description

Level of Output

Ingress LSP

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

All levels

Egress LSP

Information about the LSPs on the egress routing device. MPLS learns this information by querying RSVP, which holds all the transit and egress session information. Each session has one line of output.

All levels

Transit LSP

Number of 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

P2MP name

Name of the point-to-multipoint LSP. Dynamically generated P2MP LSPs used for VPLS flooding use dynamically generated P2MP LSP names. The name uses the format identifier:vpls:router-id:routing-instance-name. The identifier is automatically generated by Junos OS.

All levels

P2MP branch count

Number of destination LSPs the point-to-multipoint LSP is transmitting to.

All levels

P

An asterisk (*) under this heading indicates that the LSP is a primary path.

All levels

address

(detail and extensive) Destination (egress routing device) of the LSP.

detail extensive

To

Destination (egress routing device) of the session.

brief

From

Source (ingress routing device) of the session.

brief detail

State

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

brief detail

Active Route

Number of active routes (prefixes) installed in the forwarding table. For ingress LSPs, the forwarding table is the primary IPv4 table (inet.0). For transit and egress RSVP sessions, the forwarding table is the primary MPLS table (mpls.0).

detail extensive

Rt

Number of active routes (prefixes) installed in the routing table. For ingress RSVP sessions, the routing table is the primary IPv4 table (inet.0). For transit and egress RSVP sessions, the routing table is the primary MPLS table (mpls.0).

brief

P

Path. An asterisk (*) underneath this column indicates that the LSP is a primary path.

brief

ActivePath

(Ingress LSP) Name of the active path: Primary or Secondary.

detail extensive

LSPname

Name of the LSP.

brief detail

Statistics

Displays the number of packets and the number of bytes transmitted over the LSP. These counters are reset to zero whenever the LSP path is optimized (for example, during an automatic bandwidth allocation).

extensive

Aggregate statistics

Displays the number of packets and the number of bytes transmitted over the LSP. These counters continue to iterate even if the LSP path is optimized. You can reset these counters to zero using the clear mpls lsp statistics command.

extensive

Packets

Displays the number of packets transmitted over the LSP.

NA is shown on egress LSP if incoming label is in the reserved range of 0 -15

brief extensive

Bytes

Displays the number of bytes transmitted over the LSP.

NA is shown on egress LSP if incoming label is in the reserved range of 0 -15

brief extensive

DiffServeInfo

Type of LSP: multiclass LSP (multiclass diffServ-TE LSP) or Differentiated-Services-aware traffic engineering LSP (diffServ-TE LSP).

detail

LSPtype

Type of LSP:

  • Static configured—Static

  • Dynamic configured—Dynamic

  • Externally controlled—External path computing entity

Also indicates if the LSP is a Penultimate hop popping LSP or an Ultimate hop popping LSP.

detail extensive

Bypass

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

All levels

LSPpath

Indicates whether the RSVP session is for the primary or secondary LSP path. LSPpath can be either primary or secondary and can be displayed on the ingress, egress, and transit routing devices.

detail

Bidir

(GMPLS) The LSP allows data to travel in both directions between GMPLS devices.

All levels

Bidirectional

(GMPLS) The LSP allows data to travel both ways between GMPLS devices.

All levels

FastReroute desired

Fast reroute has been requested by the ingress routing device.

detail

Link protection desired

Link protection has been requested by the ingress routing device.

detail

Node/Link protection desired

Link protection has been requested by the ingress routing device.

detail

LSP Control Status

(Ingress LSP) LSP control mode:

  • External—By default, all PCE-controlled LSPs are under external control. When an LSP is under external control, the PCC uses the PCE-provided parameters to set up the LSP.

  • Local—A PCE-controlled LSP can come under local control. When the LSP switches from external control to local control, path computation is done using the CLI-configured parameters and constraint-based routing. Such a switchover happens only when there is a trigger to re-signal the LSP. Until then, the PCC uses the PCE-provided parameters to signal the PCE-controlled LSP, although the LSP remains under local control.

A PCE-controlled LSP switches to local control from its default external control mode in cases such as no connectivity to a PCE or when a PCE returns delegation of LSPs back to the PCC.

extensive

External Path CSPF status

(PCE-controlled LSPs) Status of the PCE-controlled LSP with per path attributes:

  • Local

  • External

extensive

Externally Computed ERO

(PCE-controlled LSPs) Externally computed explicit route when the route object is not null or empty. A series of hops, each with an address followed by a hop indicator. The value of the hop indicator can be strict (S) or loose (L).

extensive

EXTCTRL_LSP

(PCE-controlled LSPs) Display path history including the bandwidth, priority, and metric values received from the external controller.

extensive

flap counter

Counts the number of times a LSP flaps down or up.

extensive

LoadBalance

(Ingress LSP) CSPF load-balancing rule that was configured to select the LSP's path among equal-cost paths: Most-fill, Least-fill, or Random.

detail extensive

Signal type

Signal type for GMPLS LSPs. The signal type determines the peak data rate for the LSP: DS0, DS3, STS-1, STM-1, or STM-4.

All levels

Encoding type

LSP encoding type: Packet, Ethernet, PDH, SDH/SONET, Lambda, or Fiber.

All levels

Switching type

Type of switching on the links needed for the LSP: Fiber, Lamda, Packet, TDM, or PSC-1.

All levels

GPID

Generalized Payload Identifier (identifier of the payload carried by an LSP): HDLC, Ethernet, IPv4, PPP, or Unknown.

All levels

Protection

Configured protection capability desired for the LSP: Extra, Enhanced, none, One plus one, One to one, or Shared.

All levels

Upstream label in

(Bidirectional LSPs) Incoming label for reverse direction traffic for this LSP.

All levels

Upstream label out

(Bidirectional LSPs) Outgoing label for reverse direction traffic for this LSP.

All levels

Suggested label received

(Bidirectional LSPs) Label the upstream interface suggests to use in the Resv message that is sent.

All levels

Suggested label sent

(Bidirectional LSPs) Label the downstream node suggests to use in the Resv message that is returned.

All levels

Autobandwidth

(Ingress LSP) The LSP is performing autobandwidth allocation.

detail extensive

Mbb counter

Counts the number of times a LSP incurs MBB.

extensive

MinBW

(Ingress LSP) Configured minimum value of the LSP, in bps.

detail extensive

MaxBW

(Ingress LSP) Configured maximum value of the LSP, in bps.

detail extensive

Dynamic MinBW

(Ingress LSP) Displays the current dynamically specified minimum bandwidth allocation for the LSP, in bps.

detail extensive

Dynamic MinBW

(Ingress LSP) Displays the current dynamically specified minimum bandwidth allocation for the LSP, in bps.

detail extensive

AdjustTimer

(Ingress LSP) Configured value for the adjust-timer statement, indicating the total amount of time allowed before bandwidth adjustment will take place, in seconds.

detail extensive

Adjustment Threshold

(Ingress LSP) Configured value for the adjust-threshold statement. Specifies how sensitive the automatic bandwidth adjustment for an LSP is to changes in bandwidth utilization.

detail extensive

Time for Next Adjustment

(Ingress LSP) Time in seconds until the next automatic bandwidth adjustment sample is taken.

detail extensive

Time of Last Adjustment

(Ingress LSP) Date and time since the last automatic bandwidth adjustment was completed.

detail extensive

MaxAvgBW util

(Ingress LSP) Current value of the actual maximum average bandwidth utilization, in bps.

detail extensive

Overflow limit

(Ingress LSP) Configured value of the threshold overflow limit.

detail extensive

Overflow sample count

(Ingress LSP) Current value for the overflow sample count.

detail extensive

Bandwidth Adjustment in nnn second(s)

(Ingress LSP) Current value of the bandwidth adjustment timer, indicating the amount of time remaining until the bandwidth adjustment will take place, in seconds.

detail extensive

In-place Update Count

Current value of the in-place LSP bandwidth update counter indicating the number of times an LSP-ID is reused when LSP-ID re-use is enabled for an LSP.

detail extensive

Underflow limit

(Ingress LSP) Configured value of the threshold underflow limit.

detail extensive

Underflow sample count

(Ingress LSP) Current value for the underflow sample count.

detail extensive

Underflow Max AvgBW

(Ingress LSP) The highest sample bandwidth among the underflow samples recorded currently. This is the signaling bandwidth if an adjustment occurs because of an underflow.

detail extensive

Active path indicator

(Ingress LSP) A value of * indicates that the path is active. The absence of * indicates that the path is not active. In the following example, “long” is the active path.

*Primary long 
Standby short

detail extensive

Primary

(Ingress LSP) Name of the primary path.

detail extensive

Secondary

(Ingress LSP) Name of the secondary path.

detail extensive

Standby

(Ingress LSP) Name of the path in standby mode.

detail extensive

State

(Ingress LSP) State of the path: Up or Dn (down).

detail extensive

COS

(Ingress LSP) Class-of-service value.

detail extensive

Bandwidth per class

(Ingress LSP) Active bandwidth for the LSP path for each MPLS class type, in bps.

detail extensive

Priorities

(Ingress LSP) Configured value of the setup priority and the hold priority respecitively (the setup priority is displayed first), where 0 is the highest priority and 7 is the lowest priority. If you have not explicitly configured these values, the default values are displayed (7 for the setup priority and 0 for the hold priority).

detail extensive

OptimizeTimer

(Ingress LSP) Configured value of the optimize timer, indicating the total amount of time allowed before path reoptimization, in seconds.

detail extensive

SmartOptimizeTimer

(Ingress LSP) Configured value of the smart optimize timer, indicating the total amount of time allowed before path reoptimization, in seconds.

detail extensive

Reoptimization in xxx seconds

(Ingress LSP) Current value of the optimize timer, indicating the amount of time remaining until the path will be reoptimized, in seconds.

detail extensive

Computed ERO (S [L] denotes strict [loose] hops)

(Ingress LSP) Computed explicit route. A series of hops, each with an address followed by a hop indicator. The value of the hop indicator can be strict (S) or loose (L).

detail extensive

CSPF metric

(Ingress LSP) Constrained Shortest Path First metric for this path.

detail extensive

Received RRO

(Ingress LSP) Received record route. A series of hops, each with an address followed by a flag. (In most cases, the received record route is the same as the computed explicit route. If Received RRO is different from Computed ERO, there is a topology change in the network, and the route is taking a detour.) The following flags identify the protection capability and status of the downstream node:

  • 0x01—Local protection available. The link downstream from this node is protected by a local repair mechanism. This flag can be set only if the Local protection flag was set in the SESSION_ATTRIBUTE object of the corresponding Path message.

  • 0x02—Local protection in use. A local repair mechanism is in use to maintain this tunnel (usually because of an outage of the link it was routed over previously).

  • 0x03—Combination of 0x01 and 0x02.

  • 0x04—Bandwidth protection. The downstream routing device has a backup path providing the same bandwidth guarantee as the protected LSP for the protected section.

  • 0x08—Node protection. The downstream routing device has a backup path providing protection against link and node failure on the corresponding path section. If the downstream routing device can set up only a link-protection backup path, the Local protection available bit is set but the Node protection bit is cleared.

  • 0x09—Detour is established. Combination of 0x01 and 0x08.

  • 0x10—Preemption pending. The preempting node sets this flag if a pending preemption is in progress for the traffic engine LSP. This flag indicates to the ingress legacy edge router (LER) of this LSP that it should be rerouted.

  • 0x20—Node ID. Indicates that the address specified in the RRO’s IPv4 or IPv6 sub-object is a node ID address, which refers to the router address or router ID. Nodes must use the same address consistently.

  • 0xb—Detour is in use. Combination of 0x01, 0x02, and 0x08.

detail extensive

Labels

Labels of pop-and-forward LSP tunnel:

  • P—Pop labels.

  • D—Delegation labels.

extensive

Index number

(Ingress LSP) Log entry number of each LSP path event. The numbers are in chronological descending order, with a maximum of 50 index numbers displayed.

extensive

Date

(Ingress LSP) Date of the LSP event.

extensive

Time

(Ingress LSP) Time of the LSP event.

extensive

Event

(Ingress LSP) Description of the LSP event.

extensive

Created

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

extensive

Resv style

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

brief detail extensive

Labelin

Incoming label for this LSP.

brief detail

Labelout

Outgoing label for this LSP.

brief detail

LSPname

Name of the LSP.

brief detail

Time left

Number of seconds remaining in the lifetime of the reservation.

detail

Since

Date and time when the RSVP session was initiated.

detail

Tspec

Sender's traffic specification, which describes the sender's traffic parameters.

detail

Port number

Protocol ID and sender or receiver port used in this RSVP session.

detail

PATH rcvfrom

Address of the previous-hop (upstream) routing device or client, interface the neighbor used to reach this router, and number of packets received from the upstream neighbor.

detail

PATH sentto

Address of the next-hop (downstream) routing device or client, interface used to reach this neighbor, and number of packets sent to the downstream routing device.

detail

RESV rcvfrom

Address of the previous-hop (upstream) routing device or client, interface the neighbor used to reach this routing device, and number of packets received from the upstream neighbor. The output in this field, which is consistent with that in the PATH rcvfrom field, indicates that the RSVP negotiation is complete.

detail

Record route

Recorded route for the session, taken from the record route object.

detail

Pop-and-forward

Attributes of the pop-and-forward LSP tunnel.

extensive

ETLD In

Number of transport labels that the LSP-Hop can potentially receive from its upstream hop. It is recorded as Effective Transport Label Depth (ETLD) at the transit and egress devices.

extensive

ETLD Out

Number of transport labels the LSP-Hop can potentially send to its downstream hop. It is recorded as ETLD at the transit and ingress devices.

extensive

Delegation hop

Specifies if the transit hop is selected as a delegation label:

  • Yes

  • No

extensive

Soft preempt

Number of soft preemptions that occurred on a path and when the last soft preemption occurred. Only successful soft preemptions are counted (those that actually resulted in a new path being used).

detail

Soft preemption pending

Path is in the process of being soft preempted. This display is removed once the ingress router has calculated a new path.

detail

MPLS-TE LSP Defaults

Default settings for MPLS traffic engineered LSPs:

  • LSP Holding Priority—Determines the degree to which an LSP holds on to its session reservation after the LSP has been set up successfully.

  • LSP Setup Priority—Determines whether a new LSP that preempts an existing LSP can be established.

  • Hop Limit—Specifies the maximum number of routers the LSP can traverse (including the ingress and egress).

  • Bandwidth—Specifies the bandwidth in bits per second for the LSP.

  • LSP Retry Timer—Length of time in seconds that the ingress router waits between attempts to establish the primary path.

defaults

The XML tag name of the bandwidth tag under the auto-bandwidth tag has been updated to maximum-average-bandwidth . You can see the new tag when you issue the show mpls lsp extensive command with the | display xml pipe option. If you have any scripts that use the bandwidth tag, ensure that they are updated to maximum-average-bandwidth.

Sample Output

show mpls lsp defaults

content_copy zoom_out_map
user@host> show mpls lsp defaults
   MPLS-TE LSP Defaults
      LSP Holding Priority      0
      LSP Setup Priority        7
      Hop Limit                 255
      Bandwidth                 0
      LSP Retry Timer           30 seconds

show mpls lsp descriptions

content_copy zoom_out_map
user@host> show mpls lsp descriptions
Ingress LSP: 3 sessions
To              LSP name                              Description
10.0.0.195      to-sanjose                            to-sanjose-desc
10.0.0.195      to-sanjose-other-desc                 other-desc
Total 2 displayed, Up 2, Down 0

show mpls lsp detail

content_copy zoom_out_map
user@host> show mpls lsp detail
Ingress LSP: 1 sessions

192.168.0.4
  From: 192.168.0.5, State: Up, ActiveRoute: 0, LSPname: E-D
  ActivePath:  (primary)
  LSPtype: Static Configured, Penultimate hop popping
  LoadBalance: Random
  Encoding type: Packet, Switching type: Packet, GPID: IPv4
 *Primary                    State: Up
    Priorities: 7 0
    SmartOptimizeTimer: 180
    Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 30)
 10.0.0.18 S 10.0.0.22 S 
    Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
          10.0.0.18 10.0.0.22
Total 1 displayed, Up 1, Down 0

Egress LSP: 1 sessions

192.168.0.5
  From: 192.168.0.4, LSPstate: Up, ActiveRoute: 0
  LSPname: E-D, LSPpath: Primary
  Suggested label received: -, Suggested label sent: -
  Recovery label received: -, Recovery label sent: -
  Resv style: 1 FF, Label in: 3, Label out: -
  Time left:  157, Since: Wed Jul 18 17:55:12 2012
  Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500
  Port number: sender 1 receiver 46128 protocol 0
  PATH rcvfrom: 10.0.0.18 (lt-1/2/0.17) 3 pkts
  Adspec: received MTU 1500 
  PATH sentto: localclient
  RESV rcvfrom: localclient 
  Record route: 10.0.0.22 10.0.0.18 <self>  
Total 1 displayed, Up 1, Down 0

Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0

show mpls lsp detail (When Egress Protection Is in Standby Mode)

content_copy zoom_out_map
user@host> show mpls lsp detail
Ingress LSP: 1 sessions

192.168.0.4
  From: 192.168.0.5, State: Up, ActiveRoute: 0, LSPname: E-D
  ActivePath:  (primary)
  LSPtype: Static Configured, Ultimate hop popping
  LoadBalance: Random
  Encoding type: Packet, Switching type: Packet, GPID: IPv4
 *Primary                    State: Up
    Priorities: 7 0
    SmartOptimizeTimer: 180
    Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 30)
 10.0.0.18 S 10.0.0.22 S 
    Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
          10.0.0.18 10.0.0.22
   11 Sep 20 15:54:35.032 Make-before-break: Switched to new instance
   10 Sep 20 15:54:34.029 Record Route:  10.0.0.18 10.0.0.22
    9 Sep 20 15:54:34.029 Up
    8 Sep 20 15:54:20.271 Originate make-before-break call
    7 Sep 20 15:54:20.271 CSPF: computation result accepted  10.0.0.18 10.0.0.22
    6 Sep 20 15:52:10.247 Selected as active path
    5 Sep 20 15:52:10.246 Record Route:  10.0.0.18 10.0.0.22
    4 Sep 20 15:52:10.243 Up
    3 Sep 20 15:52:09.745 Originate Call
    2 Sep 20 15:52:09.745 CSPF: computation result accepted  10.0.0.18 10.0.0.22
    1 Sep 20 15:51:39.903 CSPF failed: no route toward 192.168.0.4
  Created: Thu Sep 20 15:51:08 2012
Total 1 displayed, Up 1, Down 0

Egress LSP: 1 sessions

192.168.0.5
  From: 192.168.0.4, LSPstate: Up, ActiveRoute: 0
  LSPname: E-D, LSPpath: Primary
  Suggested label received: -, Suggested label sent: -
  Recovery label received: -, Recovery label sent: -
  Resv style: 1 FF, Label in: 3, Label out: -
  Time left:  148, Since: Thu Sep 20 15:52:10 2012
  Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500
  Port number: sender 1 receiver 49601 protocol 0
  PATH rcvfrom: 10.0.0.18 (lt-1/2/0.17) 27 pkts
  Adspec: received MTU 1500 
  PATH sentto: localclient
  RESV rcvfrom: localclient 
  Record route: 10.0.0.22 10.0.0.18 <self>
Total 1 displayed, Up 1, Down 0

Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0

show mpls lsp detail (When Egress Protection Is in Effect During a Local Repair)

content_copy zoom_out_map
user@host> show mpls lsp detail
Ingress LSP: 1 sessions

192.168.0.4
  From: 192.168.0.5, State: Up, ActiveRoute: 0, LSPname: E-D
  ActivePath:  (primary)
  LSPtype: Static Configured, Penultimate hop popping
  LoadBalance: Random
  Encoding type: Packet, Switching type: Packet, GPID: IPv4
 *Primary                    State: Up
    Priorities: 7 0
    SmartOptimizeTimer: 180
    Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 30)
 10.0.0.18 S 10.0.0.22 S 
    Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
          10.0.0.18 10.0.0.22
Total 1 displayed, Up 1, Down 0

Egress LSP: 1 sessions

192.168.0.5
  From: 192.168.0.4, LSPstate: Down, ActiveRoute: 0
  LSPname: E-D, LSPpath: Primary
  Suggested label received: -, Suggested label sent: -
  Recovery label received: -, Recovery label sent: -
  Resv style: 1 FF, Label in: 3, Label out: -
  Time left:  157, Since: Wed Jul 18 17:55:12 2012
  Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500
  Port number: sender 1 receiver 46128 protocol 0
Egress protection PLR as protector: In Use 
PATH rcvfrom: 10.0.0.18 (lt-1/2/0.17) 3 pkts
  Adspec: received MTU 1500 
  PATH sentto: localclient
  RESV rcvfrom: localclient 
  Record route: 10.0.0.22 10.0.0.18 <self>  
Total 1 displayed, Up 1, Down 0

Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0

show mpls lsp extensive

content_copy zoom_out_map
user@host> show mpls lsp extensive
Ingress LSP: 1 sessions

192.168.0.4
  From: 192.168.0.5, State: Up, ActiveRoute: 0, LSPname: E-D
  ActivePath:  (primary)
  LSPtype: Static Configured, Ultimate hop popping
  LSP Control Status: Externally controlled
  LoadBalance: Random
  Metric: 10
  Encoding type: Packet, Switching type: Packet, GPID: IPv4
 *Primary                    State: Up
    Priorities: 7 0
    External Path CSPF status: local
    Bandwidth: 98.76kbps
    SmartOptimizeTimer: 180
    Include All: green
    Externally Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 0) 10.1.3.2 S 10.2.3.2 S
    Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
          10.0.0.18 10.0.0.22
    9 May 17 16:55:06.574 EXTCTRL LSP: Sent Path computation request and LSP status
    8 May 17 16:55:06.574 EXTCTRL_LSP: Computation request/lsp status contains: signalled bw 98760 req BW 0 admin group(exclude 0 include any 0 include all 16) priority setup 5 hold 4 hops: 10.1..3.2 10.2..3.2
    7 May 17 16:55:06.574 Selected as active path
    6 May 17 16:55:06.558 EXTCTRL LSP: Sent Path computation request and LSP status
    8 May 17 16:55:06.574 EXTCTRL_LSP: Computation request/lsp status contains: signalled bw 98760 req BW 0 admin group(exclude 0 include any 0 include all 16) priority setup 5 hold 4 hops: 10.1.3.2 10.2..3.2
    7 May 17 16:55:06.574 Selected as active path
    6 May 17 16:55:06.558 EXTCTRL LSP: Sent Path computation request and LSP status
    5 May 17 16:55:06.558 EXTCTRL_LSP: Computation request/lsp status contains: signalled bw 98760 req BW 0 admin group(exclude 0 include any 0 include all 16) priority setup 5 hold 4 hops: 10.1..3.2 10.2..3.2
    4 May 17 16:55:06.557 Record Route: 10.1.3.2 10.2.3.2
    3 May 17 16:55:06.557 Up
    2 May 17 16:55:06.382 Originate Call
    1 May 17 16:55:06.382 EXTCTRL_LSP: Received setup parameters :: local_cspf, 10.1.3.2  10.2.3.2
  Created: Tue May 17 16:55:07 2016
Total 1 displayed, Up 1, Down 0

Egress LSP: 1 sessions

192.168.0.5
  From: 192.168.0.4, LSPstate: Up, ActiveRoute: 0
  LSPname: E-D, LSPpath: Primary
  Suggested label received: -, Suggested label sent: -
  Recovery label received: -, Recovery label sent: -
  Resv style: 1 FF, Label in: 3, Label out: -
  Time left:  148, Since: Thu Sep 20 15:52:10 2012
  Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500
  Port number: sender 1 receiver 49601 protocol 0
  PATH rcvfrom: 10.0.0.18 (lt-1/2/0.17) 27 pkts
  Adspec: received MTU 1500 
  PATH sentto: localclient
  RESV rcvfrom: localclient 
  Record route: 10.0.0.22 10.0.0.18 <self>
  

show mpls lsp ingress extensive

content_copy zoom_out_map
user@host> show mpls lsp ingress extensive 
Ingress LSP: 1 sessions

10.50.0.1
  From: 10.0.0.1, State: Up, ActiveRoute: 0, LSPname: test
  ActivePath:  (primary)
  LSPtype: Static Pop-and-forward Configured, Penultimate hop popping
  LoadBalance: Random
  Encoding type: Packet, Switching type: Packet, GPID: IPv4
 *Primary                    State: Up
    Priorities: 7 0
    OptimizeTimer: 300
    SmartOptimizeTimer: 180
    Reoptimization in 240 second(s).
    Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 3)
 10.1.1.2 S 10.4.4.1 S 10.5.5.2 S 
    Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
                           (Labels: P=Pop D=Delegation)
          10.80.1.2(Label=18 P) 10.50.1.2(Label=17 P) 10.70.1.2(Label=16 P) 
          10.92.1.1(Label=16 D) 10.93.1.2(Label=16 P) 10.99.1.1(Label=16 P) 
          10.99.1.1(Label=16 P) 10.99.1.2(Label=3)   
   17 Aug  3 13:17:33.601 CSPF: computation result ignored, new path less avail bw[3 times]
   16 Aug  3 13:02:51.283 CSPF: computation result ignored, new path no benefit[2 times]
   15 Aug  3 12:54:36.678 Selected as active path
   14 Aug  3 12:54:36.676 Record Route:  10.1.1.2 10.4.4.1 10.5.5.2
   13 Aug  3 12:54:36.676 Up
   12 Aug  3 12:54:33.924 Deselected as active
   11 Aug  3 12:54:33.924 Originate Call
   10 Aug  3 12:54:33.923 Clear Call
    9 Aug  3 12:54:33.923 CSPF: computation result accepted  10.1.1.2 10.4.4.1 10.5.5.2
    8 Aug  3 12:54:33.922 10.2.2.2: No Route toward dest
    7 Aug  3 12:54:28.177 CSPF: computation result ignored, new path no benefit[4 times]
    6 Aug  3 12:35:03.830 Selected as active path
    5 Aug  3 12:35:03.828 Record Route:  10.2.2.2 10.3.3.2
    4 Aug  3 12:35:03.827 Up
    3 Aug  3 12:35:03.814 Originate Call
    2 Aug  3 12:35:03.814 CSPF: computation result accepted  10.2.2.2 10.3.3.2
    1 Aug  3 12:34:34.921 CSPF failed: no route toward 10.50.0.1
  Created: Tue Aug  3 12:34:35 2010
Total 1 displayed, Up 1, Down 0

show mpls lsp extensive (automatic bandwidth adjustment enabled)

content_copy zoom_out_map
user@host> show mpls lsp extensive 
Ingress LSP: 1 sessions

192.168.0.4
  From: 192.168.0.5, State: Up, ActiveRoute: 0, LSPname: E-D
  ActivePath:  (primary)
  Node/Link protection desired
  LSPtype: Static Configured, Penultimate hop popping
  LoadBalance: Random
  Autobandwidth 
  MinBW: 300bps, MaxBW: 1000bps, Dynamic MinBW: 1000bps
  Adjustment Timer: 300 secs AdjustThreshold: 25%
  Max AvgBW util: 963.739bps, Bandwidth Adjustment in 0 second(s).
  Min BW Adjust Interval: 1000, MinBW Adjust Threshold (in %): 50
  Overflow limit: 0, Overflow sample count: 0
  Underflow limit: 0, Underflow sample count: 9, Underflow Max AvgBW: 614.421bps
  Encoding type: Packet, Switching type: Packet, GPID: IPv4
 *Primary                    State: Up
    Priorities: 7 0
    Bandwidth: 1000bps
    SmartOptimizeTimer: 180
    Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 30)
 10.0.0.18 S 10.0.0.22 S 
    Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
          192.168.0.6(flag=0x20) 10.0.0.18(Label=299792) 192.168.0.4(flag=0x20) 10.0.0.22(Label=3)
   12 Apr 30 10:25:17.024 Make-before-break: Switched to new instance
   11 Apr 30 10:25:16.023 Record Route:  192.168.0.6(flag=0x20) 10.0.0.18(Label=299792) 192.168.0.4(flag=0x20) 10.0.0.22(Label=3)
   10 Apr 30 10:25:16.023 Up
    9 Apr 30 10:25:16.023 Automatic Autobw adjustment succeeded: BW changes from 300 bps to 1000 bps
    8 Apr 30 10:25:15.946 Originate make-before-break call
    7 Apr 30 10:25:15.946 CSPF: computation result accepted  10.0.0.18 10.0.0.22
    6 Apr 30 10:16:42.891 Selected as active path
    5 Apr 30 10:16:42.891 Record Route:  192.168.0.6(flag=0x20) 10.0.0.18(Label=299776) 192.168.0.4(flag=0x20) 10.0.0.22(Label=3)
    4 Apr 30 10:16:42.890 Up
    3 Apr 30 10:16:42.828 Originate Call
    2 Apr 30 10:16:42.828 CSPF: computation result accepted  10.0.0.18 10.0.0.22
    1 Apr 30 10:16:14.064 CSPF: could not determine self[2 times]
  Created: Tue Apr 30 10:15:16 2013
Total 1 displayed, Up 1, Down 0

Egress LSP: 0 sessions
Total 0 displayed, Up 0, Down 0

Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0

show mpls lsp detail (in-place LSP bandwidth update enabled)

content_copy zoom_out_map
user@host >show mpls lsp detail
Ingress LSP: 1 sessions

10.2.5.2
  From: 192.168.255.1, State: Up, ActiveRoute: 0, LSPname: R1-to-R4-1
  ActivePath: path-R2-R3 (primary)
  Link protection desired
  LSPtype: Static Configured, Penultimate hop popping
  LoadBalance: Random
  Follow destination IGP metric
  Encoding type: Packet, Switching type: Packet, GPID: IPv4
  LSP Self-ping Status : Enabled
*Primary   path-R2-R3       State: Up
    Priorities: 7 0
    Bandwidth: 100Mbps
    SmartOptimizeTimer: 180
    Flap Count: 1
    MBB Count: 4
    In-place Update Count: 2

show mpls lsp extensive (in-place LSP bandwidth update enabled)

content_copy zoom_out_map
user@host >show mpls lsp extensive
Ingress LSP: 1 sessions

10.2.5.2
  From: 192.168.255.1, State: Up, ActiveRoute: 0, LSPname: R1-to-R4-1
  ActivePath: path-R2-R3 (primary)
  Link protection desired
  LSPtype: Static Configured, Penultimate hop popping
  LoadBalance: Random
  Follow destination IGP metric
  Encoding type: Packet, Switching type: Packet, GPID: IPv4
  LSP Self-ping Status : Enabled
*Primary   path-R2-R3       State: Up
    Priorities: 7 0
    Bandwidth: 100Mbps
    SmartOptimizeTimer: 180
    Flap Count: 1
    MBB Count: 4
    In-place Update Count: 2
  48 Mar  3 16:43:40.438 In-place LSP Update successful
   47 Mar  3 16:43:40.477 Record Route:  192.168.255.2(flag=0x21) 10.1.2.2(flag=1 Label=415072) 192.168.255.3(flag=0x21) 10.2.3.3(flag=1 Label=418192) 192.168.255.4(flag=0x20) 10.3.4.4(Label=
3)
   46 Mar  3 16:43:39.617 CSPF: ERO retrace was successful  10.1.2.2 10.2.3.3 10.3.4.4
  45 Mar  3 16:43:39.617 Originate In-place LSP Update call
  44 Mar  3 16:42:28.263 LSP-ID: 1 deleted
   43 Mar  3 16:42:28.263 Make-before-break: Cleaned up old instance: Hold dead expiry
   42 Mar  3 16:41:07.416 Link-protection Up
   41 Mar  3 16:41:06.169 Make-before-break: Switched to new instance
   49 Mar  3 16:41:06.167 Self-ping ended successfully
   39 Mar  3 16:41:05.839 Record Route:  192.168.255.2(flag=0x21) 10.1.2.2(flag=1 Label=415072) 192.168.255.3(flag=0x21) 10.2.3.3(flag=1 Label=418192) 192.168.255.4(flag=0x20) 10.3.4.4(Label=3)
   38 Mar  3 16:41:05.449 Record Route:  10.2.2.2(flag=0x20) 10.1.2.2(Label=415072) 192.168.255.3(flag=0x21) 10.2.3.3(flag=1 Label=418192) 192.168.255.4(flag=0x20) 10.3.4.4(Label=3)
   37 Mar  3 16:41:05.419 Up
   36 Mar  3 16:41:05.419 Self-ping started
   35 Mar  3 16:41:05.419 Self-ping enqueued
   34 Mar  3 16:41:05.419 Record Route:  192.168.255.2(flag=0x20) 10.1.2.2(Label=415072) 10.3.3.3(flag=0x20) 10.2.3.3(Label=418192) 192.168.255.4(flag=0x20) 10.3.4.4(Label=3)
   33 Mar  3 16:41:05.362 Originate make-before-break call
+ 32 Mar  3 16:41:05.362 LSP-ID: 2 created
   31 Mar  3 16:41:05.362 CSPF: computation result accepted  10.1.2.2 10.2.3.3 10.3.4.4

show mpls lsp bypass extensive

content_copy zoom_out_map
user@host # show mpls lsp bypass extensive
                  
Ingress LSP: 1 sessions

10.2.2.2
  From: 10.1.1.1, LSPstate: Up, ActiveRoute: 0
  LSPname: Bypass->10.1.2.2
  LSPtype: Static Configured
  Suggested label received: -, Suggested label sent: -
  Recovery label received: -, Recovery label sent: 300032
  Resv style: 1 SE, Label in: -, Label out: 300032
  Time left:    -, Since: Tue Dec  3 15:19:49 2013
  Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500
  Port number: sender 1 receiver 55750 protocol 0
  Type: Bypass LSP
    Number of data route tunnel through: 1
    Number of RSVP session tunnel through: 0
  PATH rcvfrom: localclient 
  Adspec: sent MTU 1500
  Path MTU: received 1500
  PATH sentto: 10.1.5.2 (lt-1/2/0.15) 1221 pkts
  RESV rcvfrom: 10.1.5.2 (lt-1/2/0.15) 1221 pkts, Entropy label: No
  Explct route: 10.1.5.2 10.1.5.1 
  Record route: <self>  10.1.5.2 10.1.5.1    
+     4 Dec  3 15:19:49 Record Route:  10.1.5.2 10.1.5.1 
+    3 Dec  3 15:19:49 Up  
+     2 Dec  3 15:19:49 CSPF: computation result accepted  
+    1 Dec  3 15:19:47 Originate Call 
Total 1 displayed, Up 1, Down 0  
Egress LSP: 0 sessions 
Total 0 displayed, Up 0, Down 0  
Transit LSP: 0 sessions 

show mpls lsp p2mp

content_copy zoom_out_map
user@host> show mpls lsp p2mp   
Ingress LSP: 2 sessions
P2MP name: p2mp-lsp1, P2MP branch count: 1
To              From            State Rt P ActivePath       LSPname
10.255.245.51   10.255.245.50   Up     0 * path1            p2mp-branch-1
P2MP name: p2mp-lsp2, P2MP branch count: 1
To              From            State Rt P ActivePath       LSPname
10.255.245.51   10.255.245.50   Up     0 * path1            p2mp-st-br1
Total 2 displayed, Up 2, Down 0

Egress LSP: 0 sessions
Total 0 displayed, Up 0, Down 0

Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0

show mpls lsp p2mp detail

content_copy zoom_out_map
user@host> show mpls lsp p2mp detail
Ingress LSP: 2 sessions
P2MP name: p2mp-lsp1, P2MP branch count: 1

10.255.245.51
  From: 10.255.245.50, State: Up, ActiveRoute: 0, LSPname: p2mp-branch-1
  ActivePath: path1 (primary)
  P2MP name: p2mp-lsp1
  LoadBalance: Random
  Encoding type: Packet, Switching type: Packet, GPID: IPv4
 *Primary   path1            State: Up
    Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 25)
 192.168.208.17 S 
    Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):
          192.168.208.17
P2MP name: p2mp-lsp2, P2MP branch count: 1

10.255.245.51
  From: 10.255.245.50, State: Up, ActiveRoute: 0, LSPname: p2mp-st-br1
  ActivePath: path1 (primary)
  P2MP name: p2mp-lsp2
  LoadBalance: Random
  Encoding type: Packet, Switching type: Packet, GPID: IPv4
 *Primary   path1            State: Up
    Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 25)
 192.168.208.17 S 
    Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):
          192.168.208.17
Total 2 displayed, Up 2, Down 0

show mpls lsp detail count-active-routes

content_copy zoom_out_map
user@host> show mpls lsp detail count-active-routes
Ingress LSP: 1 sessions

10.213.192.2
  From: 10.156.162.128, State: Up, ActiveRoute: 1, LSPname: to-lahore
  ActivePath:  (primary)
  LSPtype: Static Configured
  LoadBalance: Random
  Autobandwidth
  MinBW: 5Mbps MaxBW: 250Mbps
  AdjustTimer: 300 secs
  Max AvgBW util: 0bps, Bandwidth Adjustment in 102 second(s).
  Overflow limit: 0, Overflow sample count: 0
  Encoding type: Packet, Switching type: Packet, GPID: IPv4
 *Primary                    State: Up
    Priorities: 7 0
    Bandwidth: 5Mbps
    SmartOptimizeTimer: 180
    Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 4)
 10.252.0.177 S
    Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
          10.252.0.177
Total 1 displayed, Up 1, Down 0

Egress LSP: 0 sessions
Total 0 displayed, Up 0, Down 0

Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0

show mpls lsp statistics extensive

content_copy zoom_out_map
user@host> show mpls lsp statistics extensive
Ingress LSP: 1 sessions

192.168.0.4
  From: 192.168.0.5, State: Up, ActiveRoute: 0, LSPname: E-D
  Statistics: Packets 302, Bytes 28992
  Aggregate statistics: Packets 302, Bytes 28992
  ActivePath:  (primary)
  LSPtype: Static Configured, Penultimate hop popping
  LoadBalance: Random
  Encoding type: Packet, Switching type: Packet, GPID: IPv4
 *Primary                    State: Up
    Priorities: 7 0
    SmartOptimizeTimer: 180
    Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 30)
 10.0.0.18 S 10.0.0.22 S 
    Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID):
          10.0.0.18 10.0.0.22
    6 Oct  3 11:18:28.281 Selected as active path
    5 Oct  3 11:18:28.281 Record Route:  10.0.0.18 10.0.0.22
    4 Oct  3 11:18:28.280 Up
    3 Oct  3 11:18:27.995 Originate Call
    2 Oct  3 11:18:27.995 CSPF: computation result accepted  10.0.0.18 10.0.0.22
    1 Oct  3 11:17:59.118 CSPF failed: no route toward 192.168.0.4[2 times]
  Created: Wed Oct  3 11:17:01 2012
Total 1 displayed, Up 1, Down 0

show mpls lsp extensive (conditional metric)

content_copy zoom_out_map
user@host> show mpls lsp extensive
Ingress LSP: 1 sessions

192.168.4.4
  From: 192.168.3.3, State: Up, ActiveRoute: 0, LSPname: PE1_to_PE2, LSPid: 2
  ActivePath:  (primary)
  Link protection desired
  LSPtype: Static Configured, Penultimate hop popping
  LoadBalance: Random
  Follow destination IGP metric conditionally
  Encoding type: Packet, Switching type: Packet, GPID: IPv4
  LSP Self-ping Status : Enabled
 *Primary                    State: Up
    Priorities: 7 0
    SmartOptimizeTimer: 180
    Flap Count: 0
    MBB Count: 0
    Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 2 )
 192.168.1.1 S 192.168.0.2 S 

Release Information

Command introduced before Junos OS Release 7.4.

defaults option added in Junos OS Release 8.5.

autobandwidth option added in Junos OS Release 11.4.

externally-controlled option added in Junos OS Release 12.3.

externally-provisioned option added in Junos OS Release 13.3.

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

external-footer-nav