beautypg.com

Spanning-tree enable – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 528

background image

Spanning Tree Commands

Software Reference for x310 Series Switches

19.38

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

spanning-tree enable

Use this command in Global Configuration mode to enable the specified spanning tree
protocol for all switch ports. Note that this must be the spanning tree protocol that is
configured on the switch by the

spanning-tree mode

command.

Use the no variant of this command to disable the configured spanning tree protocol. This
places all switch ports in the forwarding state.

Syntax

spanning-tree {mstp|rstp|stp} enable

no spanning-tree {mstp|rstp|stp} enable

Default

RSTP is enabled by default for all switch ports.

Mode

Global Configuration

Usage

With no configuration, spanning tree is enabled, and the spanning tree mode is set to
RSTP. To change the mode, see

spanning-tree mode command on page 19.49

.

Examples

To enable STP in Global Configuration mode, enter the below commands:

To disable STP in Global Configuration mode, enter the below commands:

To enable MSTP in Global Configuration mode, enter the below commands:

To disable MSTP in Global Configuration mode, enter the below commands:

To enable RSTP in Global Configuration mode, enter the below commands:

Parameter

Description

mstp

Enables or disables MSTP (Multiple Spanning Tree Protocol).

rstp

Enables or disables RSTP (Rapid Spanning Tree Protocol).

stp

Enables or disables STP (Spanning Tree Protocol).

awplus#

configure terminal

awplus(config)#

spanning-tree stp enable

awplus#

configure terminal

awplus(config)#

no spanning-tree stp enable

awplus#

configure terminal

awplus(config)#

spanning-tree mstp enable

awplus#

configure terminal

awplus(config)#

no spanning-tree mstp enable

awplus#

configure terminal

awplus(config)#

spanning-tree rstp enable