
Command Manual – STP
Quidway S8500 Series Routing Switches
Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-10
Description
Use the
region-name
command to configure the MST region name of a switch.
Use the
undo region-name
command to restore the default MST region name.
By default, the MST region name of the switch is the switch MAC address in
hexadecimal notation.
The switch region name, together with VLAN mapping table of the MST region and
MSTP revision level, is used for determining the region to which the switch belongs.
Related command:
instance
,
revision-level
,
check region-configuration
,
vlan-mapping modulo
,
active region-configuration
.
Example
# Set the MST region name of the switch as abcde.
<Quidway>system-view
System View: return to User View with Ctrl+Z.
[Quidway]stp region-configuration
[Quidway-mst-region] region-name abcde
1.1.9 reset stp
Syntax
reset stp
[
interface
interface-list
]
View
User view
Parameter
interface-list
: Ethernet port list, containing multiple Ethernet ports and expressed as
interface-list
= {
interface-type interface-number
[
to
{
interface-type
interface-number
] }&<1-10>. For detail descriptions of
interface-type
,
interface-number
parameters, refer to the corresponding descriptions in
Port Command Manual
.
&<1-10> means that the preceding parameters can be entered up to 10 times.
Description
Use the
reset stp
command to reset the spanning tree statistics information.
The spanning tree statistics information includes TCN, Config BPDU, RST, and MST
BPDU, received and transmitted on the port. Among them, STP BPDU and TCN BPDU
are counted on CIST.
If you specify a port list, the command clears the spanning tree statistics information of
the specified port. If you do not specify any port, the command clears the spanning tree
statistics information of all ports.