
109
[Sysname-mst-region] instance 1 vlan 2
region-name
Syntax
region-name
name
undo region-name
View
MST region view
Default level
2: System level
Parameters
name
: Specifies the MST region name, a string of 1 to 32 characters.
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.