12.
Spanning Tree Protocol (STP)
MN700004 Rev 01
113
spanning-tree priority
The
spanning-tree priority
command, in Protocol Configuration mode, assigns the specified
value to the STP bridge priority. The default value is 32768. The
no
form of this command
resets the default value.
Command Syntax
device-name
(cfg protocol)#
spanning-tree priority
<0-65535>
device-name
(cfg protocol)#
no
spanning-tree priority
Argument Description
0- 65535
The spanning tree bridge priority. The default value is 32768.
spanning-tree hello-time
The
spanning-tree hello-time
command, in Protocol Configuration mode, sets the time
interval in seconds between BPDU transmissions from the ports of this unit. You use this
command when the unit is the root of the Spanning Tree, or trying to become so. The default
value is 2 seconds and the range depends on the MaxAge value (between 1 and 10 seconds).
The
no
form of this command resets the default value.
NOTE
You cannot assign hello-time a value greater than MaxAge/2-1.
Command Syntax
device-name
(cfg protocol)#
spanning-tree hello-time
<hello-time>
device-name
(cfg protocol)#
no spanning-tree hello-time
Argument Description
hello-time
The time interval in seconds between BPDU transmissions from the ports of this unit.
The default value is 2 seconds.
spanning-tree forward-delay
The
spanning-tree forward-delay
command, in Protocol Configuration mode, sets the time,
in seconds, that the switch stays in each of the Listening and Learning states that precede the
Forwarding State. In addition, when a topology change is underway and has been detected,
this parameter is used to age all dynamic entries in the Forwarding database. The default
value is 15 seconds, and the range depends on the MaxAge value (between 4 and 30 seconds).
The
no
form of this command resets the default value.
NOTE
You cannot assign forward-delay a value less than MaxAge/2+1.
Command Syntax
device-name
(cfg protocol)#
spanning-tree forward-delay <
forward-delay
>