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

Fit 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

display stp

Function

The display stp command displays the status of and statistics on a spanning tree instance.

Format

display stp [ interface interface-type interface-number ] [ brief ]

Parameters

Parameter Description Value
interface interface-type interface-number

Displays the information of a spanning tree on a specified interface.

If interface interface-type interface-number is not specified, the status and statistics of all interfaces will be displayed in the sequence of the interface numbers.

-
brief Displays the brief status. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The display stp command is used to check whether STP/RSTP/MSTP is run in the existing switching device or specified interface.
  • If the Protocol Status field value is Disabled, STP/RSTP/MSTP is not run.
  • If STP/RSTP/MSTP has been run, information such as the working mode of STP/RSTP/MSTP will be displayed.

When the network planner has deployed STP on the network, you can run the display stp command to check whether the configurations and calculation result.

Example

# When the stp enable command does not run, the status and statistics of STP are displayed.
<Huawei> display stp
-------[CIST Global Info][Mode STP]-------                                      
CIST Bridge         :40960.dcd2-fc9d-0bb0                                       
Config Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20                    
Active Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20                    
CIST Root/ERPC      :40960.dcd2-fc9d-0bb0 / 0 (This bridge is the root)         
CIST RegRoot/IRPC   :40960.dcd2-fc9d-0bb0 / 0                                   
CIST RootPortId     :0.0                                                        
BPDU-Protection     :Disabled                                                   
TC or TCN received  :0                                                          
TC count per hello  :0                                                          
STP Converge Mode   :Normal                                                     
Time since last TC  :0 days 0h:0m:0s                                            
Number of TC        :0  
Table 6-12  Description of the display stp command output

Item

Description

CIST Global Info

CIST global information.

ModeSTP

The operation mode is STP.

CIST Bridge

ID of the CIST bridge.
  • The previous 16 bits are the priority of the switch in CIST.

  • The latter 48 bits is the MAC address of the switch.

Config Times

Values that is configured manually in the bridge protocol information:
  • Hello: the period of sending BPDUs.

  • MaxAge: the maximum life cycle of BPDU.

  • FwDly: deferred time of the change of the port status.

  • MaxHop: the maximum hops in the MST region.

Active Times 

Values that is used actually in the bridge protocol information:
  • Hello: the period of sending BPDUs.

  • MaxAge: the maximum life cycle of BPDU.

  • FwDly: deferred time of the change of the port status.

  • MaxHop: the maximum hops in the MST region.

CIST Root/ERPC

CIST root bridge ID/External path cost (the path cost from the switch to the CIST root bridge.)

CIST RegRoot/IRPC

Region root bridge ID/Internal path cost (the path cost from the switch to region root bridge.)

CIST RootPortId

CIST root port ID. "0.0" indicates the switch is a root bridge and has no root port.

BPDU-Protection

BPDU protection function:
  • Disabled

  • Enabled

TC or TCN received

Number of the received TC or TCN packets.

TC count per hello

Number of TC packets received within a hello interval.

STP Converge Mode

STP converge mode

Time since last TC

Period from the last topology change to now.

Number of TC

Topology change count.

Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 92985

Downloads: 66

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