21 spanning-tree commands, 1 spanning-tree, 2 spanning-tree mode – PLANET WGSD-1022 User Manual

Page 266

Advertising
background image

5.21 Spanning-Tree Commands

5.21.1 spanning-tree

The spanning-tree global configuration command enables spanning-tree functionality. To disable

spanning-tree functionality, use the no form of this command.

Syntax

spanning-tree

no spanning-tree

Default Configuration

Spanning-tree is enabled.

Command Modes

Global Configuration mode

User Guidelines

There are no user guidelines for this command.

Example

The following example enables spanning-tree functionality.

Console(config)# spanning-tree

5.21.2 spanning-tree mode

The spanning-tree mode global configuration command configures the spanning-tree protocol. To return

to the default configuration, use the no form of this command.

Syntax

spanning-tree mode {stp | rstp}

no spanning-tree mode

ƒ stp — STP is supported.

ƒ rstp — RSTP is supported.

Default Configuration

Spanning-tree protocol (STP) is supported.

Command Modes

Global Configuration mode

Advertising