Example
Run the
display stp
command to view the spanning-tree working mode, root bridge, priority of
the root bridge, convergence mode, path cost calculation method, and path cost of the root port.
<Huawei>
display stp
-------[CIST Global Info][Mode
RSTP
]-------
CIST Bridge :32768.00e0-4e1f-b200
Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC :
0
.00e0-e70a-4d00 / 20
CIST RegRoot/IRPC :32768.00e0-4e1f-b200 / 0
CIST RootPortId :128.1
BPDU-Protection :disabled
TC or TCN received :0
TC count per hello :0
STP Converge Mode :
Normal
Time since last TC :0 days 0h:26m:16s
----[Port1(Ethernet2/0/1)][
FORWARDING
]----
Port Protocol :enabled
Port Role :
Root Port
Port Priority :
128
Port Cost(
Legacy
) :Config=auto / Active=
20
Designated Bridge/Port :0.00e0-e70a-4d00 / 128.5
Port Edged :Config=default / Active=disabled
Point-to-point :Config=auto / Active=true
Transit Limit :147 packets/hello-time
Protection Type :None
Port Stp Mode :
RSTP
Port Protocol Type :Config=auto / Active=dot1s
PortTimes :Hello 2s MaxAge 20s FwDly 15s RemHop 0
TC or TCN send :1
TC or TCN received :0
BPDU Sent :4
TCN: 0, Config: 0, RST: 4, MST: 0
BPDU Received :22
TCN: 0, Config: 0, RST: 22, MST: 0
----[Port2()][DISCARDING]----
Port Protocol :enabled
Port Role :
Alternate Port
Port Priority :
160
Port Cost(Legacy) :Config=auto / Active=20
Designated Bridge/Port :4096.00e0-6606-be00 / 128.1
Port Edged :Config=default / Active=disabled
Point-to-point :Config=auto / Active=true
Transit Limit :147 packets/hello-time
Protection Type :None
Port Stp Mode :
RSTP
Port Protocol Type :Config=auto / Active=dot1s
PortTimes :Hello 2s MaxAge 14s FwDly 10s RemHop 0
TC or TCN send :1
TC or TCN received :0
BPDU Sent :2
TCN: 0, Config: 0, RST: 2, MST: 0
BPDU Received :22
TCN: 0, Config: 0, RST: 22, MST: 0
7.4 Configuring STP/RSTP Parameters on an Interface
STP does not have a mechanism to confirm topology convergence, whereas RSTP provides a
feedback mechanism to implement rapid convergence.
STP does not implement rapid convergence; however, STP parameters such as the network
diameter, Hello timer, Max Age timer, and Forward Delay timer, may affect network
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN
7 STP/RSTP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
194