Reference Guide

Table Of Contents
Dell PowerConnect ArubaOS 6.0 Command Line Interface | Reference Guide spanning-tree (Global Configuration) | 1137
spanning-tree (Global Configuration)
spanning-tree
[forward-time <value> | hello-time <value> | max-age <value> | priority <value> |
vlan range <WORD>
Description
This command is the global configuration for the Rapid Spanning Tree Protocol (RSTP) and Per VLAN Spanning
Tree (PVST+). See spanning-tree (Configuration Interface) for details on the RSTP (config-if) command.
Syntax
Usage Guidelines
This command configures the global RSTP settings on the controller and is backward compatible with past
versions of ArubaOS using STP.
By default, all interfaces and ports on the controller run RSTP as specified in 802.1w and 802.1D. The default
RSTP values can be used for most implementations.
Use the no spanning-tree command to disable RSTP.
Examples
The following command sets the time a port spends in the listening and learning state to 3 seconds:
spanning-tree forward-time 3
The following command sets the time the root bridge waits to transmit BPDUs to 4 seconds:
spanning-tree hello-time 4
The following command sets the time the root bridge waits to receive a hello packet to 30 seconds:
Note: RSTP is backward compatible with STP and is enabled by default. For ease of use, this command uses the spanning tree
keyword.
Parameter Description Range Default
forward-time
Specifies the time, in seconds, the port spends in the
listening and learning state. During this time, the port
waits to forward data packets.
4-30 15 seconds
hello-time
Specifies the time, in seconds, between each bridge
protocol data unit (BPDU) transmitted by the root
bridge.
1-10 2 seconds
max-age
Specifies the time, in seconds, the root bridge waits to
receive a hello packet before changing the STP
topology.
6-40 20 seconds
priority
Set the priority of a bridge to make it more or less likely
to become the root bridge. The bridge with the lowest
value has the highest priority.
When configuring the priority, remember the following:
The highest priority bridge is the root bridge.
The highest priority value is 0 (zero).
0-65535 32768
vlan range <WORD> Enter the keywords vlan range followed by the range
of VLAN iID’s. Separate the VLAN IDs with a hyphen,
comma or both to indicate the range.
For example: 2-3 or 2,4,6 or 2-6,11
——