91
Description
Use the
region-name
command to configure the MST region name.
Use the
undo region-name
command to restore the default MST region name.
By default, the MST region name of a switch is its MAC address.
The MST region name, the VLAN-to-instance mapping table, and the MSTP revision level of a switch
jointly determine the switch'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 switch 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 the
reset stp
command to clear the MSTP statistics.
The MSTP statistics includes 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 command clears the spanning tree-related statistics on the
specified ports. Without the argument, the command clears the spanning tree-related statistics on all
ports.
Related commands:
display stp
.
Examples
# Clear the spanning tree-related statistics on ports GigabitEthernet 1/0/1 through GigabitEthernet
1/0/3.
<Sysname> reset stp interface gigabitethernet 1/0/1 to gigabitethernet 1/0/3