show mpls lsp
Syntax
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)
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:
|
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 |
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 |
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
|
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:
|
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): 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 |
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.
Field Name |
Field Description |
Level of Output |
---|---|---|
|
Information about LSPs on the ingress routing device. Each session has one line of output. |
All levels |
|
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 |
|
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 |
|
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
|
All levels |
|
Number of destination LSPs the point-to-multipoint LSP is transmitting to. |
All levels |
|
An asterisk ( |
All levels |
|
( |
|
|
Destination (egress routing device) of the session. |
|
|
Source (ingress routing device) of the session. |
|
|
State of the LSP handled by this RSVP session: |
|
|
Number of active routes (prefixes) installed in the forwarding table. For ingress
LSPs, the forwarding table is the primary IPv4 table ( |
|
|
Number of active routes (prefixes) installed in the routing table. For ingress
RSVP sessions, the routing table is the primary IPv4 table
( |
|
|
Path. An asterisk ( |
|
|
(Ingress LSP) Name of the active path: |
|
|
Name of the LSP. |
|
|
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). |
|
|
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 |
|
|
Displays the number of packets transmitted over the LSP.
|
|
|
Displays the number of bytes transmitted over the LSP.
|
|
|
Type of LSP: multiclass LSP |
|
|
Type of LSP:
Also indicates if the LSP is a |
|
|
(Bypass LSP) Destination address (egress routing device) for the bypass LSP. |
All levels |
|
Indicates whether the RSVP session is for the primary or secondary LSP path.
|
|
|
(GMPLS) The LSP allows data to travel in both directions between GMPLS devices. |
All levels |
|
(GMPLS) The LSP allows data to travel both ways between GMPLS devices. |
All levels |
|
Fast reroute has been requested by the ingress routing device. |
|
|
Link protection has been requested by the ingress routing device. |
|
Node/Link protection desired |
Link protection has been requested by the ingress routing device. |
|
|
(Ingress LSP) LSP control mode:
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. |
|
|
(PCE-controlled LSPs) Status of the PCE-controlled LSP with per path attributes:
|
|
|
(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 ( |
|
|
(PCE-controlled LSPs) Display path history including the bandwidth, priority, and metric values received from the external controller. |
|
flap counter |
Counts the number of times a LSP flaps down or up. |
extensive |
|
(Ingress LSP) CSPF load-balancing rule that was configured to select the LSP's
path among equal-cost paths |
|
|
Signal type for GMPLS LSPs. The signal type determines the peak data rate for the
LSP: |
All levels |
|
LSP encoding type: |
All levels |
|
Type of switching on the links needed for the LSP: |
All levels |
|
Generalized Payload Identifier (identifier of the payload carried by an LSP):
|
All levels |
|
Configured protection capability desired for the LSP: |
All levels |
|
(Bidirectional LSPs) Incoming label for reverse direction traffic for this LSP. |
All levels |
|
(Bidirectional LSPs) Outgoing label for reverse direction traffic for this LSP. |
All levels |
|
(Bidirectional LSPs) Label the upstream interface suggests to use in the Resv message that is sent. |
All levels |
|
(Bidirectional LSPs) Label the downstream node suggests to use in the Resv message that is returned. |
All levels |
|
(Ingress LSP) The LSP is performing autobandwidth allocation. |
|
Mbb counter |
Counts the number of times a LSP incurs MBB. |
extensive |
|
(Ingress LSP) Configured minimum value of the LSP, in bps. |
|
|
(Ingress LSP) Configured maximum value of the LSP, in bps. |
|
|
(Ingress LSP) Displays the current dynamically specified minimum bandwidth allocation for the LSP, in bps. |
|
|
(Ingress LSP) Displays the current dynamically specified minimum bandwidth allocation for the LSP, in bps. |
|
|
(Ingress LSP) Configured value for the |
|
|
(Ingress LSP) Configured value for the |
|
|
(Ingress LSP) Time in seconds until the next automatic bandwidth adjustment sample is taken. |
|
|
(Ingress LSP) Date and time since the last automatic bandwidth adjustment was completed. |
|
|
(Ingress LSP) Current value of the actual maximum average bandwidth utilization, in bps. |
|
|
(Ingress LSP) Configured value of the threshold overflow limit. |
|
|
(Ingress LSP) Current value for the overflow sample count. |
|
|
(Ingress LSP) Current value of the bandwidth adjustment timer, indicating the amount of time remaining until the bandwidth adjustment will take place, in seconds. |
|
|
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. |
|
|
(Ingress LSP) Configured value of the threshold underflow limit. |
|
|
(Ingress LSP) Current value for the underflow sample count. |
|
|
(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. |
|
|
(Ingress LSP) A value of
|
|
|
(Ingress LSP) Name of the primary path. |
|
|
(Ingress LSP) Name of the secondary path. |
|
|
(Ingress LSP) Name of the path in standby mode. |
|
|
(Ingress LSP) State of the path: |
|
|
(Ingress LSP) Class-of-service value. |
|
|
(Ingress LSP) Active bandwidth for the LSP path for each MPLS class type, in bps. |
|
|
(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). |
|
|
(Ingress LSP) Configured value of the optimize timer, indicating the total amount of time allowed before path reoptimization, in seconds. |
|
|
(Ingress LSP) Configured value of the smart optimize timer, indicating the total amount of time allowed before path reoptimization, in seconds. |
|
|
(Ingress LSP) Current value of the optimize timer, indicating the amount of time remaining until the path will be reoptimized, in seconds. |
|
|
(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
( |
|
|
(Ingress LSP) Constrained Shortest Path First metric for this path. |
|
|
(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
|
|
|
Labels of pop-and-forward LSP tunnel:
|
|
|
(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. |
|
|
(Ingress LSP) Date of the LSP event. |
|
|
(Ingress LSP) Time of the LSP event. |
|
|
(Ingress LSP) Description of the LSP event. |
|
|
(Ingress LSP) Date and time the LSP was created. |
|
|
(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 |
|
|
Incoming label for this LSP. |
|
|
Outgoing label for this LSP. |
|
|
Name of the LSP. |
|
|
Number of seconds remaining in the lifetime of the reservation. |
|
|
Date and time when the RSVP session was initiated. |
|
|
Sender's traffic specification, which describes the sender's traffic parameters. |
|
|
Protocol ID and sender or receiver port used in this RSVP session. |
|
|
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. |
|
|
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. |
|
|
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 |
|
|
Recorded route for the session, taken from the record route object. |
|
|
Attributes of the pop-and-forward LSP tunnel. |
|
|
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. |
|
|
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. |
|
|
Specifies if the transit hop is selected as a delegation label:
|
|
|
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). |
|
|
Path is in the process of being soft preempted. This display is removed once the ingress router has calculated a new path. |
|
|
Default settings for MPLS traffic engineered LSPs:
|
|
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
- show mpls lsp descriptions
- show mpls lsp detail
- show mpls lsp detail (When Egress Protection Is in Standby Mode)
- show mpls lsp detail (When Egress Protection Is in Effect During a Local Repair)
- show mpls lsp extensive
- show mpls lsp ingress extensive
- show mpls lsp extensive (automatic bandwidth adjustment enabled)
- show mpls lsp detail (in-place LSP bandwidth update enabled)
- show mpls lsp extensive (in-place LSP bandwidth update enabled)
- show mpls lsp bypass extensive
- show mpls lsp p2mp
- show mpls lsp p2mp detail
- show mpls lsp detail count-active-routes
- show mpls lsp statistics extensive
- show mpls lsp extensive (conditional metric)
show mpls lsp defaults
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
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
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)
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)
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
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
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)
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)
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)
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
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
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
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
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
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)
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.