Switch 7700 Command reference Guide, v2.0

Table Of Contents
304 CHAPTER 8: USING STP COMMANDS
interface_name } [ to { interface_type interface_num | interface_name } ]
}&<1-10>. For details about interface_type, interface_num and interface_name,
refer to the Port Command Manual. &<1-10> indicates the preceding parameter
can be input up to 10 times.
Description
Using the reset stp command, you can reset the statistics information about
Rapid Spanning Tree Protocol (RSTP).
This command can be used to clear the statistics information about a specified
port. If no port is specified, the statistics information of all the ports of the device
will be cleared.
Related command: display stp.
Example
Clear the statistics information about Ethernet1/0/1 through Ethernet1/0/3.
<SW7700>reset stp interface Ethernet1/0/1 to Ethernet1/0/3
stp Syntax
stp { enable | disable }
undo stp
View
System view/Ethernet port view
Parameter
enable: Enables RSTP on a device or a port.
disable: Disables RSTP on a device or a port.
Description
Using the stp enable command, you can enable RSTP on a device or port. Using
the
stp disable command, you can disable RSTP on a device or port. Using the
undo stp command, you can disable RSTP on a device. The undo form of this
command is not available in Ethernet port view.
By default, RSTP is not enabled on the Switch. However, after RSTP is enabled on
the device, it is enabled on all the ports by default.
If the parameters of RSTP have not been set for the device or the ports before
RSTP is enabled on the device, they will take the default values. Before or after
RSTP is enabled, you can use the configuration command to set RSTP parameters
for the device and ports. This command enables/disables RSTP on a device in
system view and enables/disables RSTP on a port in Ethernet port view.
The undo stp command can only be used to disable RSTP on the whole switch in
system view.
Related command: stp mode.