1. Open the Spanning Tree Global Parameters page.
2. Select Enable in the Spanning Tree State field.
3. Select the Classic STP in the STP Operation Mode field.
4. Click Apply Changes. STP is enabled on the device.
Modifying STP Global Parameters:
1. Open the Spanning Tree Global Parameters page.
2. Define the STP Operation Mode, Bridge Priority, Hello Time (Sec), Max Age (Sec), and the Forward Delay (Sec) fields.
3. Click Apply Changes. The STP parameters are modified, and the device is updated.
Defining STP Global Parameters Using CLI Commands
The following table summarizes the equivalent CLI commands for defining STP Global Parameters as displayed in the Spanning Tree Global Settings page.
CLI Command
spanning-tree
spanning-tree mode {stp | rstp}
spanning-tree priority priority
spanning-tree hello-time seconds
spanning-tree max-age seconds
spanning-tree forward-time seconds
show spanning-tree [ethernet interface | port-
channel port-channel-number]
The following is an example of the CLI commands:
Console(config)# spanning-tree
Console(config)# spanning-tree mode rstp
Console(config)# spanning-tree priority 12288
Console(config)# spanning-tree hello-time 5
Console(config)# spanning-tree max-age 10
Console(config)# spanning-tree forward-time 25
Console(config)# exit
Console# show spanning-tree
Spanning tree enabled mode RSTP
Description
Enables spanning tree functionality.
Configures the spanning tree protocol currently running.
Configures the spanning tree priority.
Configures the spanning tree bridge Hello Time, which is how often the switch broadcasts Hello
messages to other switches.
Configures the spanning tree bridge maximum age, which determines the amount of time protocol
information received on a port is stored by the switch.
Configures the spanning tree bridge forward time, which is the amount of time a port remains in the
listening and learning states before entering the forwarding state.
Displays spanning tree configuration.