![Huawei AR3200 Series Configuration Manual - Lan Download Page 219](http://html.mh-extra.com/html/huawei/ar3200-series/ar3200-series_configuration-manual-lan_169302219.webp)
7.6.1 Clearing STP/RSTP Statistics
You can run the
reset
commands to clear STP/RSTP statistics.
Context
CAUTION
STP/RSTP statistics cannot be restored after being cleared.
Procedure
Step 1
Run the
reset stp
[
interface
interface-type
interface-number
]
statistics
command to clear
spanning-tree statistics.
----End
7.7 Configuration Examples
This section describes the networking requirements, configuration roadmap, data preparation,
and procedures for some typical application scenarios for STP/RSTP. This section also provides
the related configuration files.
7.7.1 Example for Configuring Basic STP Functions
This example shows how to configure basic STP functions.
Networking Requirements
Network designers tend to deploy multiple physical links between two devices (one link is the
master and the others are backups) to fulfill network redundancy requirements. Loops are bound
to occur on such types of complex networks.
Loops will cause broadcast storms, thereby exhausting network resources and paralyzing the
network. Loops also cause MAC address flapping that damages MAC address entries.
STP can be deployed on a network to eliminate loops by blocking some ports. On the network
shown in
, after RouterA, SwitchA, SwitchB, SwitchC and SwitchD running STP
discover loops on the network by exchanging information with each other, they trim the ring
topology into a loop-free tree topology by blocking an interface. These capabilities help prevent
replication and circular propagation of packets on the network which in turn helps improve
processing performance.
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.
208