display stp active

Function

The display stp active command displays the status of and statistics on spanning trees of all Up interfaces in a Multiple Spanning Tree Protocol (MSTP) process.

Format

display stp active

Parameters

None

Views

MSTP process view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mstp write

Usage Guidelines

Usage Scenario

To view information about spanning trees on all Up interfaces, run the display stp active command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about spanning trees on all Up interfaces of MSTP process 1.
<HUAWEI> system-view
[~HUAWEI] stp process 1
[*HUAWEI-mst-process-1] display stp active
-------[CIST Global Info][Mode MSTP]-------                                     
CIST Bridge         :61440.00e0-fc12-3456                                       
Config Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20                    
Active Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20                    
CIST Root/ERPC      :61440.00e0-fc12-3456 / 0                                   
CIST RegRoot/IRPC   :61440.00e0-fc12-3456 / 0                                   
CIST RootPortId     :0.0                                                        
BPDU-Protection     :Disabled                                                   
TC or TCN received  :85                                                         
TC count per hello  :0                                                          
STP Converge Mode   :Normal                                                     
Time since last TC  :0 days 9h:10m:8s
Number of TC        :13                                                         
Last TC occurred    :GigabitEthernet0/1/4                                       
----[Port18(GigabitEthernet0/1/1)][FORWARDING]----                             
 Port Protocol       :Enabled                                                   
 Port Role           :Designated Port                                           
 Port Priority       :128                                                       
 Port Cost(Dot1T )   :Config=auto / Active=20000                                
 Designated Bridge/Port   :61440.00e0-fc12-3456 / 128.18                        
 Port Edged          :Config=default / Active=enabled                           
 Point-to-point      :Config=auto / Active=true                                 
 Transit Limit       :10 packets/s                                              
 Protection Type     :None                                                      
 Port STP Mode       :MSTP                                                      
 Port Protocol Type  :Config=auto / Active=dot1s                                
 BPDU Encapsulation  :Config=stp / Active=stp                                   
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s RemHop 20                   
 TC or TCN send      :5                                                         
 TC or TCN received  :0                                                         
 BPDU Sent           :178445                                                    
          TCN: 0, Config: 0, RST: 0, MST: 178445                                
 BPDU Received       :0                                                         
          TCN: 0, Config: 0, RST: 0, MST: 0                                     
 Last forwarding time: 2012/04/19 16:58:37 UTC+08:00                            
----[Port19(GigabitEthernet0/1/9)][FORWARDING]----                             
 Port Protocol       :Enabled                                                   
 Port Role           :Designated Port                                           
 Port Priority       :128                                                       
 Port Cost(Dot1T )   :Config=auto / Active=20000                                
 Designated Bridge/Port   :61440.00e0-fc12-3456 / 128.19                        
 Port Edged          :Config=default / Active=enabled                           
 Point-to-point      :Config=auto / Active=true                                 
 Transit Limit       :10 packets/s                                              
 Protection Type     :None                                                      
 Port STP Mode       :MSTP                                                      
 Port Protocol Type  :Config=auto / Active=dot1s                                
 BPDU Encapsulation  :Config=stp / Active=stp                                   
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s RemHop 20                   
 TC or TCN send      :0                                                         
 TC or TCN received  :0                                                         
 BPDU Sent           :5                                                         
          TCN: 0, Config: 0, RST: 0, MST: 5                                     
 BPDU Received       :0                                                         
          TCN: 0, Config: 0, RST: 0, MST: 0                                     
 Last forwarding time: 2012/04/23 20:06:08 UTC+08:00                            
                                                                                
-------[MSTI 1 Global Info]-------                                              
MSTI Bridge ID      :61440.00e0-fc12-3456                                       
MSTI RegRoot/IRPC   :61440.00e0-fc12-3456 / 0
MSTI RootPortId     :0.0                                                        
Master Bridge       :61440.00e0-fc12-3456                                       
Cost to Master      :0                                                          
TC received         :2                                                          
TC count per hello  :0                                                          
Time since last TC  :0 days 9h:10m:8s                                           
Number of TC        :9                                                          
Last TC occurred    :GigabitEthernet0/1/4
Table 1 Description of the display stp active command output
Item Description
CIST Bridge

Common and internal spanning tree (CIST) bridge ID.

  • The 16 left-most bits represent the bridge's priority in the CIST.
  • The 48 right-most bits represent the bridge's MAC address.
CIST Root/ERPC

CIST root bridge ID/Cost of the external path (path from the switch to the CIST root bridge).

CIST RegRoot/IRPC

ID of the CIST region root bridge/Cost of the internal path (path from the switch to the CIST region root bridge).

CIST RootPortId

ID of the CIST root port. 0.0 indicates that the switch is the root bridge and does not provide any root port.

Config Times

Manually configured BPDU parameters:

  • Hello: interval at which BPDUs are sent.
  • MaxAge: maximum lifetime of a BPDU.
  • FwDly: time interface status transition takes.
  • MaxHop: maximum number of hops in the MST region.
Active Times

BPDUs parameters that are actually used:

  • Hello: interval at which BPDUs are sent.
  • MaxAge: maximum lifetime of a BPDU.
  • FwDly: time interface status transition takes.
  • MaxHop: maximum number of hops in the MST region.
BPDU-Protection

Whether BPDU protection is enabled:

  • disabled.
  • enabled.
TC or TCN received

Number of received topology change (TC) or topology change notification (TCN) BPDUs.

TC count per hello

Number of TC BPDUs received each Hello time.

TC or TCN send

Number of TC or TCN BPDUs sent by the interface.

TC received

Number of received TC BPDUs.

STP Converge Mode

Convergence mode of the Spanning Tree Protocol (SPT), which can be fast or normal.

Mode

Mode of the spanning tree protocol:

  • STP.
  • RSTP.
  • MSTP.
Time since last TC

Time past since the last topology changed.

Number of TC

Number of topology changes.

Last TC occurred

Interface that causes the last topology change.

This parameter is not displayed when Number of TC is 0.

Last forwarding time

Time when the interface last entered the forwarding state.

Port Protocol

STP status on the interface:

  • Enabled: STP is enabled on the interface.
  • Disabled: STP is disabled on the interface.
Port Role

Role of an interface. In the CIST region, the roles of interfaces are as follows:

  • Root Port.
  • Designated Port.
  • Alternate Port.
  • Backup Port.
Port Priority

Interface priority.

Port Edged

Whether the edge port (specified by the administrator) is enabled:

  • enabled.
  • disabled.

Config indicates the value configured using the stp edged-port command, and Active indicates the value in use.

Port STP Mode

STP mode of the interface.

Port Protocol Type

Format of packets sent and received by the interface:

  • auto.
  • legacy.
  • dot1s.

The default value is auto.

Config indicates the packet format configured using the stp compliance command, and Active indicates the packet format in use.

Designated Bridge/Port

Designated bridge ID/Port ID. The 16 left-most bits represent the bridge's priority in the CIST region, and the 48 right-most bits represent the bridge's MAC address. The first 4 bits of the port ID represent the port's priority, and the last 12 bits represent the port number.

Point-to-point

Link type of the interface. Config indicates the link type configured using the stp point-to-point command, and Active indicates the link type in use.

Transit Limit

Maximum number of BPDUs that the current interface can send every second.

Protection Type

Protection type:

  • root-protection: Protection takes effect only on the designated interface.
  • loop-protection: Protection takes effect only on the root port or alternate interface.
BPDU Encapsulation

Format of BPDUs that are sent and received by the interface:

  • stp.
BPDU Sent

Statistics on sent BPDUs, including:

  • TCN: TCN BPDUs.
  • Config: STP BPDUs.
  • RST: Rapid Spanning Tree Protocol (RSTP) BPDUs.
  • MST: MST BPDUs.
BPDU Received

Statistics on received BPDUs.

MSTI Bridge ID

Multiple Spanning Tree instance (MSTI) bridge ID.

MSTI RegRoot/IRPC

MSTI root bridge ID/Cost of the internal path (path from the switch to the MSTI root bridge).

MSTI RootPortId

ID of the MSTI root port. 0.0 indicates that the switch is the root bridge and does not provide any root port.

Master Bridge

ID of the bridge where the master interface resides.

  • The 16 left-most bits represent the bridge's priority in the CIST.
  • The 48 right-most bits represent the bridge's MAC address.
Cost to Master

Cost of the path from the switch to the bridge where the master interface resides. 0 indicates that the master interface resides on the current bridge.

PortTimes/Port Times

BPDU parameters of the interface:

  • Hello: interval at which BPDUs are sent.
  • MaxAge: maximum lifetime of a BPDU.
  • FwDly: time interface status transition takes.
  • Remhop: maximum number of hops in the MST region.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >