Spanning Tree Protocol Configuration Guide, Cisco Catalyst IE9300 Rugged Series Switches

PDF

Spanning Tree Protocol Configuration Guide, Cisco Catalyst IE9300 Rugged Series Switches

Configure Spanning Tree mode

Want to summarize with AI?

Log in

Learn how to change the spanning-tree mode from the default Rapid PVST+ to PVST+ or MSTP to meet your network's convergence and VLAN scalability requirements.


You can change the Spanning Tree mode from the default rapid PVST+ to PVST+ or MSTP.

This task allows you to select the appropriate STP for your network based on convergence requirements and VLAN scalability needs.

Perform these steps to change the Spanning Tree mode.

Before you begin

If you want to enable a mode that is different from the default mode, this procedure is required.

Procedure

1.

Use the enable command to enter privileged EXEC mode.

Example:

Switch> enable

Enter your password if prompted.

2.

Use the configure terminal command to enter global configuration mode.

Example:

Switch# configure terminal
3.

Use the spanning-tree mode command to configure a Spanning Tree mode.

Example:

Switch(config)# spanning-tree mode {pvst | mst | rapid-pvst}

Select pvst to enable PVST+

Select mst to enable MSTP

Select rapid-pvst to enable rapid PVST+

4.

Use the interface command to specify an interface to configure and enter interface configuration mode.

Example:

Switch(config)# interface interface-id

Valid interfaces include physical ports, VLANs, and port channels. The VLAN ID values range from 1 to 4094. The port channel values range from 1 to 48.

5.

Use the spanning-tree link-type point-to-point command to specify that the link type for this port is point-to-point.

Example:

Switch(config-if)# spanning-tree link-type point-to-point

If you connect this port (local port) to a remote port through a point-to-point link and the local port becomes a designated port, the switch negotiates with the remote port and rapidly changes the local port to the forwarding state.

6.

Use the end command to return to privileged EXEC mode.

Example:

Switch(config)# end
7.

(Optional) Use the clear spanning-tree detected-protocols command to restart the protocol migration process on the entire switch.

Example:

Switch# clear spanning-tree detected-protocols

If any port on the switch connects to a port on a legacy IEEE 802.1D switch, this command restarts the protocol migration process for the switch.

This step is optional if the designated switch detects that this switch is running rapid PVST+. The switch changes and configures the Spanning Tree mode.