
110
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
revision-level
Syntax
revision-level
level
undo revision-level
View
MST region view
Default level
2: System level
Parameters
level
: Specifies an MSTP revision level, ranging from 0 to 65535.
Description
Use the
revision-level
command to configure the MSTP revision level.
Use the
undo revision-level
command to restore the default MSTP revision level.
By default, the MSTP revision level is 0.
The MSTP revision level, the MST region name, and the VLAN-to-instance mapping table of a switch
jointly determine the switch's MST region. When the MST region name and VLAN-to-instance mapping
table are both the same for two MST regions, they can still be differentiated by their MSTP revision levels.
After configuring this command, run the
active region-configuration
command to activate the configured
MST region level.
Related commands:
instance
,
region-name
,
vlan-mapping modulo
,
display stp region-configuration
,
check region-configuration
, and
active region-configuration
.
Examples
# Set the MSTP revision level of the MST region to 5.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region] revision-level 5