shutdown (STP)

Disables Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), Multiple Spanning Tree Protocol (MSTP), Per-VLAN Spanning Tree+ (PVST+), or Rapid PVST+ (R-PVST+) globally.

Syntax

shutdown
no shutdown

Command Default

STP is not enabled as it is not required in a loop-free topology.

Modes

Any of the supported spanning tree configuration modes (STP, RSTP, MSTP, PVST+, R-PVST+)

Usage Guidelines

Enter no shutdown to re-enable any of the supported versions of STP.

Examples

To disable RSTP globally:

device# configure terminal
device(config)# protocol spanning-tree rstp
device(conf-rstp)# shutdown

To enable MSTP globally:

device# configure terminal
device(config)# protocol spanning-tree mstp
device(conf-mstp)# no shutdown