Configuring stp – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 474
Spanning Tree Introduction: STP, RSTP, and MSTP
Software Reference for x310 Series Switches
18.6
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
Configuring STP
By default, RSTP is enabled on all switch ports. This section provides a procedure for
configuring STP (
).
To configure other modes, see
“Configuring RSTP” on page 18.9
Table 18-3: Configuration procedure for STP
Command
Description
Configure STP
RSTP is enabled by default with default settings on all switch ports to prevent Layer 2 loops in your network.
awplus#
configure terminal
Enter Global Configuration mode.
awplus(config)#
stp
By default, the device is in RSTP mode. Change to STP
mode.
awplus(config)#
By default, spanning tree is enabled on all switch ports. If
it has been disabled, enable it for STP.
awplus(config)#
By default, all devices have the same root bridge priority,
32768 (8000 in hexadecimal), so the device with the
lowest MAC address becomes the root bridge. If you
want the device to be the root bridge, set the root bridge
priority to a value lower than 32768.
Enter a value 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 Root Guard
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).
awplus(config)#
interface <port-list>
Enter Interface Configuration mode for the switch ports
you want to enable Root Guard for.
awplus(config-if)#
Enable the Guard Root feature for these ports.
awplus(config-if)#
exit
Return to Global Configuration mode.
awplus(config)#
exit
Return to Privileged Exec mode.