Enables or disables spanning tree on the interface or VLAN.
Spanning tree is disabled by default.
Interface (Ethernet or VLAN) configuration mode
Enter no spanning-tree shutdown to enable spanning tree on the interface or VLAN.
Once all of the interfaces have been configured for a VLAN, you can enable Spanning Tree Protocol (STP) for all members of the VLAN with a single command. Whichever protocol is currently selected is used by the VLAN. Only one type of STP can be active at a time.
A physical interface (port) can be a member of multiple VLANs. For example, a physical port can be a member of VLAN 1002 and VLAN 55 simultaneously. In addition, VLAN 1002 can have STP enabled and VLAN 55 can have STP disabled simultaneously.
Vlan 1002 can not be enabled with the spanning-tree shutdown command.
To disable spanning tree on a specific interface:
device# configure terminal device(config)# interface ethernet 1/5 device(conf-if-eth-1/5)# spanning-tree shutdown