Procedure
l
Run the
display stp
[
instance
instance-id
][
interface
{
interface-type interface-
number
} ] [
brief
] command to view spanning-tree status and statistics.
l
Run the
display stp region-configuration
command to view configurations of activated
MST regions.
l
Run the
display stp region-configuration
digest
command to view the digest
configurations of activated MST regions.
----End
Example
Run the
display stp
command to view the spanning-tree working mode, priorities of switching
devices, path cost calculation method, and path cost of a root port. For example:
<Huawei>
display stp instance 0 interface ethernet 2/0/1
-------[CIST Global Info][ Mode
MSTP
]-------
CIST Bridge :32768.00e0-fc0e-a421
Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC :
32768
.00e0-fc0e-a421 / 0
CIST RegRoot/IRPC :32768.00e0-fc0e-a421 / 0
CIST RootPortId :0.0
BPDU-Protection :disabled
TC or TCN received :8
STP Converge Mode :
Normal
Time since last TC :0 days 23h:9m:30s
----[Port3(Ethernet2/0/1)] [
FORWARDING
]----
Port Protocol :Enabled
Port Role :
CIST Designated Port
Port Priority :
128
Port Cost(
Dot1T
) :Config=
100
/ Active=
100
Designated Bridge/Port :32768.00e0-fc0e-a421 / 128.1229
Port Edged :Config=disabled / Active=disabled
Point-to-point :Config=auto / Active=true
Transit Limit :3 packets/hello-time
Protection Type :None
Port Stp Mode :
MSTP
Port Protocol Type :Config=auto / Active= dot1s
PortTimes :Hello 2s MaxAge 20s FwDly 15s RemHop 0
TC or TCN send :0
TC or TCN received :0
BPDU Sent :0
TCN: 0, Config: 0, RST: 0, MST: 0
BPDU Received :0
TCN: 0, Config: 0, RST: 0, MST: 0
Run the
display stp region-configuration
command to view configurations of an activated MST
region, including the region name, VLAN-to-instance mapping, and revision number. For
example:
<Huawei>
display stp region-configuration
Oper Configuration
Format selector :0
Region name :
huawei
revision level :
0
Instance Vlans Mapped
0 21 to 4094
1 1 to 10
2 11 to 20
Run the
display stp region-configuration
digest
command to view the digest configurations
of an activated MST region, including the region name, revision number and digest. For example:
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN
8 MSTP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
238