By default, the maximum number of hops of the spanning tree in an MST region is 20.
----End
7.6.2.10 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.3 Configuring MSTP Protection Functions
Huawei datacom devices provide the following MSTP protection functions. You can configure
one or more functions.
Pre-configuration Tasks
Before configuring MSTP protection functions, complete the following task:
l
Configuring MSTP
7.6.3.1 Configuring BPDU Protection on a Switching Device
Context
Edge ports are directly connected to user terminal and will not receive BPDUs. Attackers may
send pseudo BPDUs to attack the switching device. If the edge ports receive the BPDUs, the
switching device configures the edge ports as non-edge ports and triggers a new spanning tree
calculation. Network flapping then occurs. BPDU protection can be used to protect switching
devices against malicious attacks.
NOTE
Perform the following procedure on all switching devices that have edge ports.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
stp bpdu-protection
BPDU protection is enabled on the switching device.
By default, BPDU protection is not enabled on the switching device.
----End
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.
259