24-Port Fast Ethernet Switch Management Guide

C
OMMAND
L
INE
I
NTERFACE
4-207
ensure that only one route exists between any two stations on the
network, and provide backup links which automatically take over when a
primary link goes down.
Example
This example shows how to enable the Spanning Tree Algorithm for the
switch:
spanning-tree mode
Use this command to select the spanning tree mode for this switch. Use the
no form to restore the default.
Syntax
spanning-tree mode {stp | rstp
| mstp}
no spanning-tree mode
stp - Spanning Tree Protocol (IEEE 802.1D)
rstp - Rapid Spanning Tree (IEEE 802.1w)
mstp - Multiple Spanning Tree (IEEE 802.1s)
Default Setting
rstp
Command Mode
Global Configuration
Command Usage
Spanning Tree Protocol
Uses RSTP for the internal state machine, but sends only 802.1D
BPDUs.
- This creates one spanning tree instance for the entire network. If
multiple VLANs are implemented on a network, the path between
specific VLAN members may be inadvertently disabled to prevent
network loops, thus isolating group members. When operating
multiple VLANs, we recommend selecting the MSTP option.
Console(config)#spanning-tree
Console(config)#