3com 4500 PWR 26-PORT User Manual

Page of 466
226
C
HAPTER
 10: U
SING
 RSTP C
OMMANDS
stp root primary
Syntax
stp root primary
undo stp root
View
System View
Parameter
None
Description
Use the 
stp root primary
 command to configure the current Switch as the 
primary root of a spanning tree. 
Use the 
undo stp root 
command to cancel the current Switch for primary root of 
a spanning tree.
By default, the Switch is not a primary root.
You can designate a primary root for the spanning tree without caring about the 
priority configuration of the Switch.
CAUTION: In a switching network, you can configure no more than one primary 
root for a spanning tree but you can configure one or more secondary roots for it. 
Remember not to designate more than one primary root in a spanning tree; 
otherwise, the switching behavior will be unpredictable. 
After a Switch is configured as a primary root bridge or secondary root bridge, you 
can not modify the bridge priority of the Switch.
Example
To designate the current Switch as the primary root of a spanning tree, enter the 
following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]stp root primary
stp root secondary
Syntax
stp root secondary
undo stp root
View
System view
Parameter
None