The Ethernet interface view is displayed.
Step 3 Run:
stp loop-protection
Loop protection for the root port or the alternate port is configured on the switching device.
By default, loop protection is disabled.
----End
7.5.6 Checking the Configuration
After RSTP protection functions are configured, you can verify that the configurations take
effect.
Prerequisites
All configurations for RSTP protection functions are complete.
Procedure
l Run the display stp [ interface interface-type interface-number ] [ brief ] command to
view the status of a spanning tree, including the status of protection functions on a switching
device.
----End
Example
Run the display stp command to view the status of BPDU protection on a switching device, and
the status of root protection on a specified port. For example:
<Huawei> display stp interface ethernet 2/0/1
----[CIST][Port8(Ethernet2/0/1)][FORWARDING]----
Port Protocol :Enabled
Port Role :Root Port
Port Priority :128
Port Cost(Legacy) :Config=auto / Active=199
Designated Bridge/Port :32768.0010-1220-0100 / 128.8
Port Edged :Config=default / Active=disabled
Point-to-point :Config=auto / Active=true
Transit Limit :147 packets/hello-time
Protection Type :Root
Port STP Mode :RSTP
Port Protocol Type :Config=auto / Active=dot1s
PortTimes :Hello 2s MaxAge 20s FwDly 15s RemHop 0
TC or TCN send :2
TC or TCN received :2
BPDU Sent :10
TCN: 0, Config: 0, RST: 10, MST: 0
BPDU Received :25
TCN: 0, Config: 0, RST: 25, MST: 0
7.6 Maintaining STP/RSTP
STP/RSTP maintenance includes clearing STP/RSTP statistics.
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.
207