
XG700 User's Guide
132/266
All Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
5.10.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
Message
% port %1$ is membership of uplink-domain %2$.
Explanation
The specified port already belongs to an uplink domain.
[[Inserted string]]%1$: specified port number
[[Inserted string]]%2$: uplink domain number
Solution
.Specify a port not belonging to any uplink domain Or remove the port from an uplink domain
Note
STP cannot be used on uplink ports. But STP port fast is allowed on uplink ports.
Example
Enable Spanning Tree Protocol.
xg(config)# spanning-tree
5.10.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 currently 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 always 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