No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display stp active

display stp active

Function

The display stp active command displays the status of and statistics on spanning trees of all Up interfaces.

Format

display stp active

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The display stp active command displays information about spanning trees of Up interfaces only.

Example

# Display information about spanning trees of all Up interfaces.

<Huawei> display stp active
-------[CIST Global Info][Mode MSTP]-------                                     
CIST Bridge         :32768.dcd2-fc21-5d40                                       
Config Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20                    
Active Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20                    
CIST Root/ERPC      :32768.dcd2-fc21-5d40 / 0 (This bridge is the root)         
CIST RegRoot/IRPC   :32768.dcd2-fc21-5d40 / 0 (This bridge is the root)         
CIST RootPortId     :0.0                                                        
BPDU-Protection     :Enabled                                                    
TC or TCN received  :0                                                          
TC count per hello  :0                                                          
STP Converge Mode   :Fast                                                       
Time since last TC  :0 days 2h:42m:10s                                          
Number of TC        :1                                                          
Last TC occurred    :GigabitEthernet0/0/1                                       
----[Port1(GigabitEthernet0/0/1)][FORWARDING]----                               
 Port Protocol       :Enabled                                                   
 Port Role           :Designated Port                                           
 Port Priority       :128                                                       
 Port Cost(Dot1T )   :Config=auto / Active=20000                                
 Designated Bridge/Port   :32768.dcd2-fc21-5d40 / 128.1                         
 Port Edged          :Config=default / Active=disabled                          
 Point-to-point      :Config=auto / Active=true                                 
 Transit Limit       :6 packets/s                                               
 Protection Type     :Root                                                      
 Port STP Mode       :MSTP                                                      
 Port Protocol Type  :Config=auto / Active=dot1s                                
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s RemHop 20                   
 TC or TCN send      :1                                                         
 TC or TCN received  :0                                                         
 BPDU Sent           :4802                                                      
          TCN: 0, Config: 0, RST: 0, MST: 4802                                  
 BPDU Received       :0                                                         
          TCN: 0, Config: 0, RST: 0, MST: 0                                     
 Last forwarding time: 2005/08/07 15:07:09 UTC+08:00  
Table 6-22  Description of the display stp active command output

Item

Description

CIST Bridge

  • The 16 leftmost bits are the switch's priority in the CIST.
  • The 48 rightmost bits are the switch's MAC address.

Config Times

Configured bridge protocol parameters:
  • Hello: interval at which Bridge Protocol Data Units (BPDUs) are sent

  • MaxAge: maximum TTL of a BPDU

  • FwDly: delay in interface status transition

  • MaxHop: maximum number of hops in the MST region

Active Times

Bridge protocol parameters that are being used:
  • Hello: interval at which BPDUs are sent

  • MaxAge: maximum TTL of a BPDU

  • FwDly: delay in interface status transition

  • MaxHop: maximum number of hops in the MST region

CIST Root/ERPC

CIST root bridge ID/external path cost from the switch to the 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 switch)

CIST RootPortId

CIST root port ID. "0.0" indicates that the switch is the root switch without the root port.

BPDU-Protection

Whether BPDU protection is enabled:
  • Disabled: BPDU protection is disabled.

  • Enabled: BPDU protection is enabled.

TC or TCN received

Number of received topology change (TC) or topology change notification (TCN) packets

TC count per hello

Number of TC packets received per Hello time

STP Converge Mode

Convergence mode of the Spanning Tree Protocol (SPT), which can be fast or normal. For details, see stp converge.

Time since last TC

Time since the last topology change

Number of TC

Number of topology changes

Last TC occurred

Interface which causes the last topology change

NOTE:

This parameter does not appear when Number of TC is 0.

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. For details, see stp port priority.

Port Cost(Dot1T)

Path cost (calculated by dot1t) of an interface:
  • Config: configured path cost
  • Active: path cost that is being used

Designated Bridge/Port

Switch ID/Port ID The first 16 bits represent the switch's priority in the CIST region, and the last 48 bits represent the switch'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.

Port Edged

Whether the edge interface (specified by the administrator) is enabled:
  • enabled: The edge interface is enabled.

  • disabled: The edge interface is disabled.

Config indicates the value that is specified in the stp edged-port command, and Active indicates the value in use.

Point-to-point

Link type of the interface. Config indicates the link type that is specified in the stp point-to-point command, and Active indicates the link type that is being used.

Transit Limit

Maximum number of BPDUs that the current interface can send per second. For details, see stp transmit-limit.

Protection Type

Protection type, which can be:
  • root-protection: Protection takes effect only on the specified interface.

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

  • None: none.

Port STP Mode

STP mode of the interface

Port Protocol Type

Format of packets sent and received on the interface, which can be:
  • auto

  • legacy

  • dot1s

The default value is auto. Config indicates the packet format that is specified in the stp compliance command, and Active indicates the packet format in use.

PortTimes

Bridge protocol parameters of the interface:
  • Hello: interval at which BPDUs are sent

  • MaxAge: maximum TTL of a BPDU

  • FwDly: delay in interface status transition

  • RemHop: maximum number of hops in the MST region

TC or TCN send

Number of TC or TCN packets sent on the interface

TC or TCN received

Number of TC or TCN packets received on the interface

BPDU Sent

Statistics on sent BPDUs, including:
  • TCN: TCN BPDUs

  • Config: STP BPDUs

  • RST: Rapid Spanning Tree Protocol (RSTP) BPDUs

  • MST: MSTP BPDUs

BPDU Received

Statistics on received BPDUs

Last forwarding time

Time when the interface last entered the forwarding state

Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 206035

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next