
XG1200 User's Guide
122/258
All Rights Reserved, Copyright (C) PFU LIMITED 2005
5.9.2 spanning-tree
Function
Enables Spanning Tree Protocol (STP).
Use the no form to disable Spanning Tree Protocol.
Prompt
xg(config)#
Command syntax
spanning-tree
no spanning-tree
Command type
Configuration command
Default
None
Example
Enable Spanning Tree Protocol.
xg(config)# spanning-tree
5.9.3 spanning-tree protocol
Function
Sets whether Spanning Tree Protocol is applied to each port.
The no form of this command is used to return to the default setup.
Prompt
xg(config-if)#, or xg(config-agg)#
Command syntax
spanning-tree protocol { rstp | none }
no spanning-tree protocol
Parameter
rstp
Sets the currelntly editing port in the interface edit mode to RTSP (IEEE 802.1w Rapid Spanning Tree Protocol) mode.
none
Sets the STP not to be applied to the currently editing port in the interface edit mode.
If STP is not applied, when BPDUs are received at this port, the port state will note change, and aloways remain in
forwarding state. Also, BPDU frame will not be sent from this port.
Command type
Configuration command
Default
rstp
Example
Set ports 1 to 8 collectively to RSTP mode. Then, change port 3 so that Spanning Tree Protocol will not be applied.
xg(config)# interface port range 1 8
xg(config-if)# spanning-tree protocol rstp
xg(config-if)# exit
xg(config)# interface port 3
xg(config-if)# spanning-tree protocol none