beautypg.com

Spanning-tree enable – Allied Telesis AT-DC2552XS User Manual

Page 360

background image

Chapter 14: STP Commands

360

Section II: Layer 2 Switching

SPANNING-TREE ENABLE

Syntax

spanning-tree stp|rstp|mstp enable

Parameters

stp

Enables STP (IEEE 802.1D).

rstp

Enables RSTP (IEEE 802.1w). By default, RSTP is enabled on the
switch.

mstp

Enables MSTP (IEEE 802.1s).

Mode

Global Configuration mode

Description

Use this command to enable one of the Spanning Tree Protocol versions:
STP, RSTP, or MSTP. When the version is specified on the switch using
the SPANNING-TREE MODE command, the switch enables the specified
STP version.

The Spanning Tree Protocol and Router Redundancy Protocol (RRP)
Snooping cannot be enabled at the same time. Disable RRP when you
enable STP, RSTP, or MSTP on the switch.

To disable STP, RSTP, or MSTP, use the NO SPANNING ENABLE
command.

Confirmation Command

“SHOW RUNNING-CONFIG” on page 116 or “SHOW SPANNING-TREE”
on page 344

Examples

This example enables RSTP on the switch:

awplus> enable
awplus# configure terminal
awplus(config)# spanning-tree rstp enable