Page 14 | AlliedWare Plus™ OS How To Note: Switching
Rapid Spanning Tree Protocol (RSTP)
How to change the root bridge priority
The default root bridge priority is 32768 (8000 in hexadecimal). When all switches have the
same priority, the switch with the lowest MAC address becomes the root bridge.
If you want the AlliedWare Plus switch to be the root bridge, you can do this by setting the
priority to a value lower than 32768. For example, to set the priority value to 8
1
92, enter
Global Configuration mode and enter the command:
awplus(config)#spanning-tree priority 8192
Enter priority as a decimal value. It is in increments of 4096. If you enter a number that is not
a multiple of 4096, the switch rounds the number down.
The following figure shows the new port states after the priority change.
How to set ports as edge ports
In this example’s network, ports
1
.0.2,
1
.0.3, and
1
.0.4 are attached to devices that cannot
generate BPDUs (such as workstations) and therefore should be RSTP edge ports.
To set them as edge ports, enter Global Configuration mode and enter the commands:
awplus(config)#interface port1.0.2-1.0.4
awplus(config-if)#spanning-tree edgeport
1.0.3
1.0.2
1.0.4
AlliedWare Plus Switch:
Root bridge
1.0.1
1.0.5
1.0.6
1.0.6
1.0.5
1.0.7
1.0.7
designated,
forwarding
root,
forwarding
designated,
forwarding
root,
forwarding
MAC: 00-00-cd-24-03-31
Root bridge priority: 8192
00-00-cd-24-02-26
Root bridge priority: 32768
00-00-cd-12-78-08
Root bridge priority: 32768
alternate,
discarding
designated,
forwarding
rstp-priority.eps