3com 4500 26-PORT User Manual

Page of 466
218
C
HAPTER
 10: U
SING
 RSTP C
OMMANDS
Parameter
interface interface_list:
 Specifies the Ethernet port list, including multiple 
Ethernet ports. Expressed as 
interface _list = { { interface_type 
interface_num
 | 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 in this guide. 
&<1-10>:
 Indicates the preceding parameter can be input up to 10 times. 
Description
Use the 
reset stp
 command to 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
To clear the statistics information about Ethernet1/0/1 through Ethernet1/0/3, 
enter the following:
<4500>reset stp interface Ethernet1/0/1 to Ethernet1/0/3
stp
Syntax
stp { enable | disable }
undo stp
View
Ethernet Port View
Parameter
enable:
 Enables RSTP on a device or a port. 
disable:
 Disables RSTP on a device or a port. 
Description
Use the 
stp enable
 command to enable RSTP on a device or port. 
Use the 
stp disable
 command to disable RSTP on a device or port. 
Use the 
undo stp
 command to disable RSTP on a device.
By default, RSTP is enabled on the Switch and all ports. 
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