57
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 includes the numbers of TCN BPDUs, configuration BPDUs, RST BPDUs and MST
BPDUs sent/received through the specified ports.
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/2.
<Sysname> reset stp interface gigabitethernet 1/0/1 to gigabitethernet 1/0/2
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
revision-level
to configure the MSTP revision level.
Use
undo revision-level
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 device
determine the device'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.