NOTE
An alternate port is a backup port for a root port. If a switching device has an alternate port, you need to
configure loop protection on both the root port and the alternate port.
Perform the following steps on the root port and alternate port on a switching device in an MST
region.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type interface-number
The Ethernet interface view is displayed.
Step 3
Run:
stp loop-protection
Loop protection for the root port is configured on the switching device.
By default, loop protection is disabled.
Root protection and loop protection cannot be configured simultaneously.
----End
7.6.3.5 Checking the Configuration
Procedure
l
Run the
display stp
[
instance
instance-id
] [
interface
interface-type interface-number
]
[
brief
] command to view spanning-tree status and statistics.
----End
7.6.4 Configuring MSTP Interoperability Between Huawei Devices
and Non-Huawei Devices
To communicate with a non-Huawei device, set proper parameters on the MSTP-enabled
Huawei device.
7.6.4.1 Configuring a Proposal/Agreement Mechanism
Context
The rapid transition mechanism is also called the Proposal/Agreement mechanism. All switching
devices support the following modes:
l
Enhanced mode: The current interface counts the root port calculation when it computes
the synchronization flag bit.
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
7 MSTP Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
262