Configuring rstp – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 477
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.9
Configuring RSTP
RSTP is enabled by default with default settings on all switch ports to prevent Layer 2
loops in your network. No further configuration is required if you want to use RSTP with
these default settings. For further RSTP configuration, see
below.
To configure other modes, see
“Configuring MSTP” on page 18.19
.
For detailed configuration examples, see the How To Note How To Configure Basic
Switching Functionality, available from
.
Table 18-5: Configuration procedure for RSTP
Command
Description
Configure RSTP
RSTP is enabled by default with default settings on all switch ports to prevent Layer 2 loops in your network. No
further configuration is required if you want to use RSTP with these default settings. If you need to restore the
device to RSTP after it has been set to another mode, or modify the default RSTP settings, follow the procedure
below.
awplus#
configure terminal
Enter Global Configuration mode.
awplus(config)#
rstp
By default, the device is in RSTP mode. If it has been
changed to STP or MSTP mode, change it back to RSTP.
awplus(config)#
By default, spanning tree is enabled on all switch ports. If
it has been disabled, enable it for RSTP.
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 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
or
awplus(config-if)#
spanning-tree autoedge (RSTP and
Set these ports to be edge ports,
or
set these ports to automatically detect whether they are
edge ports.