Spanning-Tree Operation

802.1s Multiple Spanning Tree Protocol (MSTP)

Syntax: spanning-tree force-version < stp-compatible rstp-operation mstp­ operation >

Sets the spanning-tree compatibility mode. When the switch is configured with MSTP mode, this command forces the switch to emulate behavior of earlier versions of spanning tree protocol or return to MSTP behavior. The command is useful in test or debug applications, and removes the need to reconfigure the switch for temporary changes in spanning- tree operation.

stp-compatible:The switch applies 802.1D STP operation on all ports.

rstp-operation:The switch applies 802.1w operation on all ports except those ports where it detects a system using 802.1D Spanning Tree.

mstp-operation:The switch applies 802.1s MSTP operation on all ports where compatibility with 802.1D or 802.1w spanning tree protocols is not required.

This command is available when the protocol version is set to mstp (see 'protocol-version' later).

Note that even when mstp-operation is selected, if the switch detects an 802.1D BPDU or an 802.1w BPDU on a port, it communicates with the device linked to that port using STP or RSTP BPDU packets. Also, if errors are encountered as described in the “Note on MSTP Rapid State Transitions” on page 57, setting force-versionto stp-compatibleforces the MSTP switch to communicate out all ports using operations that are compatible with IEEE 802.1D STP.

Syntax: spanning-tree hello-time < 1..10 >

If MSTP is running and the switch is operating as the CIST root for your network, this command specifies the time in seconds between transmissions of BPDUs for all ports on the switch configured with Use Global (the default). This parameter applies in MSTP, RSTP and STP modes. During MSTP operation, you can override this global setting on a per- port basis with this command: spanning-tree < port-list> hello- time < 1..10 > (page 63). (Default: 2.)

5-62