3.12.8. spanning-tree

Syntax

spanning-tree

no spanning-tree

Parameter

Default

Spanning-Tree is enabled by default.

Mode

Global Configuration

Usage

To enable the spanning tree, use the command spanning-tree in the Global Configuration mode; and use the no form of the command to disable the spanning tree on the switch.

Example

The following example disables and enables the spanning tree individually.

Switch(config)# no spanning-tree
Switch(config)# spanning-tree