By default, the enhanced fast transition mode is used on a port.
----End
6.7 Maintaining STP/RSTP
This section describes how to view and reset STP/RSTP statistics.
6.7.1 Clearing STP/RSTP Statistics
Context
NOTICE
STP/RSTP statistics cannot be restored after being cleared. Exercise caution when deciding to
clear STP/RSTP statistics.
Procedure
l
Run the
reset stp
[
interface
interface-type
interface-number
]
statistics
command to clear
spanning-tree statistics.
l
Run the
reset stp error packet statistics
command to clear statistics about error STP
packets.
----End
6.7.2 Monitoring STP/RSTP Topology Change Statistics
The statistics about STP/RSTP topology changes can be viewed. If the statistics increase,
network flapping occurs.
Procedure
l
Run the
display stp
topology-change
command to view statistics about STP/RSTP
topology changes.
l
Run the
display stp
[
interface
interface-type interface-number
] [
brief
] command to
view the spanning tree status and statistics.
----End
6.8 Configuration Examples
This section provides several STP/RSTP configuration examples.
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
6 STP/RSTP Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
211