3com 8807 Reference Guide

Page of 1099
MSTP Configuration Commands
185
After a switch is configured as a primary root bridge or a secondary root bridge, 
users cannot modify the bridge priority of the switch.
Example
# Designate the current switch as the root bridge of MSTI 0 and specify the 
diameter of the switching network as 4 and the Hello Time as 500 centiseconds.
<SW8800>system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] stp instance 0 root primary bridge-diameter 4 hello-time 50
stp interface
Syntax
stp interface interface-list { enable | disable }
View
System view
Parameter
interface-list: Ethernet port list, containing multiple Ethernet ports and expressed 
as interface-list = { interface-type interface-number [ to interface-type 
interface-number
] }&<1-10>. For detail descriptions of interface-type and 
interface-number parameters, refer to the corresponding descriptions in Port 
Command Manual
. &<1-10> means that the preceding parameters can be 
entered up to 10 times.
enable: Enables MSTP on the port.
disable: Disables MSTP on the port.
Description
Use the stp interface command to enable/disable MSTP on a switch port in 
system view.
By default, if MSTP is enabled globally, it is enabled on every port. If MSTP is 
disabled globally, it is also disabled on every port.
When MSTP is disabled, the corresponding port stays in forwarding state and does 
not take part in any MSTI calculation.
CAUTION: If you disable MSTP on a port, a loop may be generated.
Related command: stp mode, stp.
Example
# Enable MSTP on Ethernet 2/1/1 in system view.
<SW8800>system-view
 
System View: return to User View with Ctrl+Z
 
[SW8800] stp interface Ethernet 2/1/1  enable 
stp interface instance 
cost
Syntax
stp interface interface-list [ instance instance-id ] cost cost