Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
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 spanning-tree stp-buffer see-all

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show spanning-tree stp-buffer see-all
<stp-instance stp-instance-id routing-instance instance-name> 
<vlan vlan-id routing-instance instance-name>

Description

Display the configured STP (RSTP, MSTP, VSTP) interface parameters.

Options

none

Display STP (RSTP, MSTP, VSTP) interface role/state changes that are logged into internal memory called the buffer. Entries in the buffer depend on the user configuration.

stp-instance stp-instance-id routing-instance instance-name

(Optional) Display the STP buffer for the specified stp-instance and routing instance.

vlan vlan-id routing-instance instance-name

(Optional) Display the STP buffer for the specified vlan id and routing instance.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show spanning-tree stp-buffer see-all command. Output fields are listed in the approximate order in which they appear.

Table 1: show spanning-tree stp-buffer see-all Output Fields

Field Name

Field Description

Level of Output

Global Events

Displays events when PPMD RX/TX queues reach 70 % of their maximum queue size. The following indicates received queue status:

  • GT — Greater than 70 % of their maximum queue size.

  • LT — Less than 70 % of their maximum queue size.

none, stp-instance, vlan

Per STP instance Information

Information about every STP instance.

none, stp-instance, vlan

Routing Inst

Routing instance to which the STP instance belongs.

none, stp-instance, vlan

STP Instance

Instance number that uniquely identifies each STP session per routing-instance.

none, stp-instance

Root Bridge

Bridge priority and bridge ID of ROOT bridge in the topology.

none, vlan

Root Port

Information about ROOT port, if any, on the local bridge at the displayed timestamp.

none, vlan

TC Received

Time at which topology change was received and on which port.

none, stp-instance, vlan

TC Generated

Time at which topology change occurred and on which port.

none, stp-instance, vlan

Port

The interface where the event is occurring.

none, stp-instance, vlan

State

STP state of the port. The following are the types of state:

  • Forwarding — Port forwards the traffic and is included in active topology and learns MAC addresses.

  • Blocking — Port does not forward traffic and is not included in active topology. Does not learn MAC addresses.

none, vlan

Role

Role of the port. The following are the types of ports:

  • Root — Port closest to the Root bridge.

  • Designated — Port sends the best BPDU on the connected segment.

  • Alternate — Port blocked for receiving more useful BPDUs from another bridge.

  • Disabled — Port is disabled. Cannot send or receive BPDUs.

none, stp-instance, vlan

Sample Output

show spanning-tree stp-buffer see-all (MX Series)

content_copy zoom_out_map
user@host> show spanning-tree stp-buffer see-all
1. Global Events:
Time at which different Queue’s reached 70% of the Maximum Q-size
Mar 18 13:18:04 RCV_Q GT
Mar 18 13:18:57 RCV_Q LT
Mar 18 13:19:33 XMIT_Q GT 
 	
2. Per STP Instance Information : 
Routing Inst    :  default
STP Instance  : 02
Root Bridge     : 12288.00:23:9c:f0:17:d0 Mar 18 13:18:04
STP Instance  : 03
Root Port        : ge-0/1/2 Mar 18 13:18:38
STP Instance  : 03
TC  Received  : ge-0/0/2 Mar 18 15:12:12
STP Instance  : 03
TC  Generated: ge-0/2/2 Mar 18 15:13:27

3. This section will print the time stamp for per Instance – port event changes.
STP Instance :  02 
Port         :  ge-1/0/0 Mar 22 13:35:02
State       :  FWD  S
Role        :  DESG

STP Instance :  00
Port         :  ge-0/0/3 Mar 22 14:03:46
State       :  BLK
Role        :  ALT  R
STP Instance :  00
Port         :  ge-1/0/0 Mar 28 02:03:49
State       :  BLK  S
Role        :  ALT
                         

show spanning-tree stp-buffer see-all stp-instance stp-instance-id routing-instance instance-name (MX Series)

content_copy zoom_out_map
user@host> show spanning-tree stp-buffer see-all stp-instance 0 routing-instance mstp_inst

1. Global Events:
Time at which different Queue's reached 70% of the Maximum Q-size
No Entry So far                 

2. Per STP Instance Information :

Routing Inst : mstp_inst                                                                                                                                                                                                                                                        
STP Instance : 0  
TC Generated : ge-3/0/5.32767 Tue Dec 17 06:00:50 2013      
STP Instance : 0  
TC Generated : ge-3/1/1.32767 Tue Dec 17 06:00:50 2013      
STP Instance : 0  
TC  Received : ge-3/0/5.32767 Tue Dec 17 06:00:50 2013      
STP Instance : 0  
TC  Received : ge-3/0/5.32767 Tue Dec 17 06:00:50 2013      
STP Instance : 0  
TC  Received : ge-3/0/5.32767 Tue Dec 17 06:00:51 2013      
STP Instance : 0  
TC  Received : ge-3/0/5.32767 Tue Dec 17 06:00:53 2013      

3.  This section will print the time stamp for per Instance, Port Event changes.


STP Instance : 0  
Port         : ge-3/0/5.32767 Tue Dec 17 06:00:49 2013      
State        : BLK S        
Role         : DIS          

STP Instance : 0  
Port         : ge-3/0/5.32767 Tue Dec 17 06:00:49 2013      
State        : BLK          
Role         : DESG R       

STP Instance : 0  
Port         : ge-3/1/1.32767 Tue Dec 17 06:00:49 2013      
State        : BLK S        
Role         : DIS          

STP Instance : 0  
Port         : ge-3/1/1.32767 Tue Dec 17 06:00:49 2013      
State        : BLK          
Role         : DESG R       

STP Instance : 0  
Port         : ge-3/0/5.32767 Tue Dec 17 06:00:50 2013      
State        : FWD S        
Role         : DESG         

STP Instance : 0  
Port         : ge-3/1/1.32767 Tue Dec 17 06:00:50 2013      
State        : FWD S        
Role         : DESG         

show spanning-tree stp buffer see-all vlan vlan-id routing-instance instance-name (MX Series)

content_copy zoom_out_map
user@host> show spanning-tree stp-buffer see-all vlan 10 routing-instance vstp_inst
1. Global Events:
Time at which different Queue’s reached 70% of the Maximum Q-size
Mar 18 13:18:04 RCV_Q GT
Mar 18 13:18:57 RCV_Q LT
Mar 18 13:19:33 XMIT_Q GT 
 	
2. Per STP Instance Information : 
Routing Inst    :  default
VLAN ID  : 02
Root Bridge     : 12288.00:23:9c:f0:17:d0 Mar 18 13:18:04
VLAN ID  : 03
Root Port        : ge-0/1/2 Mar 18 13:18:38
VLAN ID  : 03
TC  Received  : ge-0/0/2 Mar 18 15:12:12
VLAN ID  : 03
TC  Generated: ge-0/2/2 Mar 18 15:13:27

3. This section will print the time stamp for per Instance – port event changes.
VLAN ID :  02 
Port         :  ge-1/0/0 Mar 22 13:35:02
State       :  FWD  S
Role        :  DESG

VLAN ID :  00
Port         :  ge-0/0/3 Mar 22 14:03:46
State       :  BLK
Role        :  ALT  R
VLAN ID :  00
Port         :  ge-1/0/0 Mar 28 02:03:49
State       :  BLK  S
Role        :  ALT

Release Information

Command introduced in Junos OS Release 14.1.

footer-navigation