Spanning-Tree Operation

802.1D Spanning-Tree Protocol (STP)

Configuring the Switch To Use the 802.1D Spanning Tree Protocol (STP). In the default configuration, the switch is set to RSTP (that is, 802.1w Rapid Spanning Tree), and spanning tree operation is disabled. To reconfigure the switch to 802.1D spanning tree, you must:

1.Change the spanning tree protocol version to stp.

2.Use write memory to save the change to the startup-configuration.

3.Reboot the switch.

4.If you have not previously enabled spanning-tree operation on the switch, use the spanning-treecommand again to enable STP operation.

Syntax: spanning-tree protocol-version stp

write memory boot

For example:

Figure 5-11. Steps for Changing Spanning-Tree Operation to the 802.1D ProtocolEnabling (or Disabling) Spanning Tree Operation on the Switch.

Syntax: [no] spanning-tree

This command enables (or disables) spanning tree operation for either spanning tree version—STP/802.1D or RSTP/802.1w (the default). (Default: Disabled.)

Before using this command, ensure that the version of spanning tree you want to use is active on the switch. (See the preceding topic, “Configuring the Switch To Use the 802.1D Spanning Tree Protocol (STP)” on page 5-27.)

For example:

ProCurve spanning-tree

5-27