105
By default, the MST region name of a device is its MAC address.
The MST region name, the VLAN-to-instance mapping table, and the MSTP revision level of a
device determine the device's MST region.
After configuring this command, run the
active region-configuration
command to activate the
configured MST region name.
Related commands:
instance
,
revision-level
,
vlan-mapping modulo
,
display stp
region-configuration
,
check region-configuration
, and
active region-configuration
.
Examples
# Set the MST region name of the device to
hello
.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region] region-name hello
reset stp
Syntax
reset stp
[
interface
interface-list
]
View
User view
Default level
1: Monitor level
Parameters
interface interface-list
: Clears the MSTP statistics of the ports specified in the format of
interface-list
= {
interface-type interface-number
[
to
interface-type interface-number
] }&<1-10>, where &<1-10>
indicates that you can specify up to 10 ports or port ranges.
Description
Use
reset stp
to clear the MSTP statistics.
The MSTP statistics include the numbers of TCN BPDUs, configuration BPDUs, RST BPDUs and
MST BPDUs sent/received through the specified ports. The STP BPDUs and TCN BPDUs are
counted only for the CIST.
If you specify the
interface-list
argument, the
reset stp
command clears the spanning tree-related
statistics on the specified ports. Without the argument, the
reset stp
command clears the spanning
tree-related statistics on all ports.
Related commands:
display stp
.
Examples
# Clear the spanning tree-related statistics on ports Ethernet 1/0/1 through Ethernet 1/0/3.
<Sysname> reset stp interface ethernet 1/0/1 to ethernet 1/0/3
revision-level
Syntax
revision-level
level
undo revision-level