Article Number: 000121054
Enabling Rapid Spanning Tree Protocol Globally
Enable RSTP globally on all participating bridges; it is not enabled by default.
When you enable RSTP, all physical and port-channel interfaces that are enabled and in Layer 2 mode are automatically part of the RSTP topology.
Only one path from any bridge to any other bridge is enabled.
Bridges block a redundant path by disabling one of the link ports.
To enable RSTP globally for all Layer 2 interfaces, use the following commands.
Command Line Example
Command |
Purpose |
console# configure |
Enter configuration level on the switch. |
console(config)# protocol spanning-tree rstp |
Set the spanning tree protocol type. |
console (conf-rstp)# no disable |
Turns RSTP on globally for the switch. |
console (conf-rstp)# disable |
Turns RSTP off globally for the switch. |
Configuring an EdgePort
It is recommended to configure any edge ports, ports that go to end devices such as printers, phones, servers, workstations, to be set up as edge-port. A port in edge-port will move directly to forwarding state when the link comes up without going through listening or learning states.
Command Line Example
Command |
Purpose |
console# configure |
Enter configuration level on the switch. |
console(config)# interface te 0/1 |
Enter the desired physical port interface. |
console (conf-if-te-0/1)# spanning-tree rstp edge-port |
Enables Edge-port on the interface. |
console (conf-if-te-0/1)# no spanning-tree rstp edge-port |
Disables Edge-port on the interface. |
Set Root Bridge Priority
RSTP determines the root bridge, but you can assign one bridge a lower priority to increase the likelihood that it is selected as the root bridge.
To change the bridge priority, use the following command.
Assign a number as the bridge priority or designate it as the primary or secondary root.
PROTOCOL SPANNING TREE RSTP mode
bridge-priority
-priority-value The range is from 0 to 61440. The lower the number assigned, the more likely this bridge becomes the root bridge.
The default is 32768. Entries must be multiples of 4096.
Command Line Example
Command |
Purpose |
Console# configure |
Enters configuration level on the switch. |
Console(config)# protocol spanning-tree rstp |
Set the specific spanning-tree protocol type. |
Console(conf-rstp)#bridge-priority 4096 |
Set bridge priority in increments of 4096 (default = 32768). |
Verification & Monitoring commands
ftos#show spanning-tree rstp brief
ftos#show spanning-tree rstp
Force10 S60-44T
16 Sep 2021
6
How To