R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)
24
Predefined user roles
network-admin
Parameters
name: Specifies the MST region name, a string of 1 to 32 characters.
Usage guidelines
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.
Examples
# Set the MST region name of the device to hello.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region] region-name hello
Related commands
• active region-configuration
• check region-configuration
• display stp region-configuration
• instance
• revision-level
• vlan-mapping modulo
reset stp
Use reset stp to clear spanning tree statistics. The spanning tree statistics include the numbers of TCN
BPDUs, configuration BPDUs, RST BPDUs, and MST BPDUs that are sent and received through the
specified ports.
Syntax
reset stp [ interface interface-list ]
Views
User view
Predefined user roles
network-admin
Parameters
interface interface-list: Clears the spanning tree statistics of the ports that are specified in the format of
interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1-10>. &<1-10>
indicates that you can specify up to 10 ports or port ranges. If you do not specify this option, this
command clears the spanning tree statistics on all ports.
Examples
# Clear the spanning tree statistics on ports GigabitEthernet 2/1/1 through GigabitEthernet 2/1/3.
<Sysname> reset stp interface gigabitethernet 2/1/1 to gigabitethernet 2/1/3