beautypg.com

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

Page 489

background image

Spanning Tree Introduction: STP, RSTP, and MSTP

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

18.21

awplus(config)#

spanning-tree priority

Set the priority for the device to become the root bridge
for the CIST.

Specify the bridge priority in the range 0 to 61440. If you
enter a number that is not a multiple of 4096, the switch
rounds the number down.

Configure edge ports

If some switch ports are connected to devices that cannot generate BPDUs (such as workstations), you can set
particular switch ports as edge ports, or set them to automatically detect whether they are edge ports.

awplus(config)#

interface

Enter Interface Configuration mode for these switch
ports.

awplus(config-if)#

spanning-tree edgeport (RSTP and

MSTP)

or

awplus(config-if)#

spanning-tree autoedge (RSTP and

MSTP)

Set these ports to be edge ports,

or

set these ports to automatically detect whether they are
edge ports.

Configure Root Guard

awplus(config-if)#

spanning-tree guard root

The Root Guard feature makes sure that the port on
which it is enabled is a designated port. If the Root
Guard enabled port receives a superior BPDU, it goes to
a Listening state (for STP) or discarding state (for RSTP
and MSTP). Enable the Guard Root feature if required.

awplus(config-if)#

exit

Return to Global Configuration mode.

Configure BPDU Guard

awplus(config)#

spanning-tree portfast bpdu-guard

If required, enable the BPDU Guard feature.

awplus(config)#

spanning-tree errdisable-timeout

enable

Set a timeout for ports that are disabled due to the BPDU
guard feature.

awplus(config)#

spanning-tree errdisable-timeout

interval <10-1000000>

Specify the time interval after which a port is brought
back up when it has been disabled by the BPDU guard
feature.

Table 18-9: Configuration procedure for MSTP(cont.)