10-29
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter 10 Configuring STP
Configuring Basic STP Features
Configuring the Hello Time
You can configure the interval between the generation of configuration messages by the root switch by
changing the STP hello time.
Note
Exercise care when using this command. For most situations, we recommend that you use the
spanning-tree vlan vlan-id root primary and the spanning-tree vlan vlan-id root secondary global
configuration commands to modify the hello time.
Beginning in privileged EXEC mode, follow these steps to configure the STP hello time of a VLAN:
To return the switch to its default setting, use the no spanning-tree vlan vlan-id hello-time global
configuration command.
Configuring the Forwarding-Delay Time for a VLAN
Beginning in privileged EXEC mode, follow these steps to configure the STP forwarding-delay time for
a VLAN:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
spanning-tree vlan vlan-id hello-time seconds
Configure the hello time of a VLAN. The hello time is the
interval between the generation of configuration messages by
the root switch. These messages mean that the switch is alive.
•
For vlan-id, the range is 1 to 1005. Do not enter leading
zeros.
•
For seconds, the range is 1 to 10 seconds; the default is 2
seconds.
Step 3
end
Return to privileged EXEC mode.
Step 4
show spanning-tree vlan vlan-id bridge [brief]
Verify your entries.
Step 5
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
spanning-tree vlan vlan-id forward-time
seconds
Configure the forward time of a VLAN. The forward delay is the
number of seconds a port waits before changing from its STP
learning and listening states to the forwarding state.
•
For vlan-id, the range is 1 to 1005. Do not enter leading zeros.
•
For seconds, the range is 4 to 30 seconds; the default is 15
seconds.
Step 3
end
Return to privileged EXEC mode.
Step 4
show spanning-tree vlan vlan-id bridge [brief] Verify your entries.
Step 5
copy running-config startup-config
(Optional) Save your entries in the configuration file.