Enabling STP on a Set/Clear Command−Based Switch for All
VLANs
To enable STP on all VLANs, use the following command in Privileged mode:
set spantree enable all
Related solutions:
Found on page:
Configuring a Static VLAN on a Catalyst 5000 Series
Switch
154
Configuring Multiple VLANs on a Catalyst 5000
Series Switch
154
Disabling STP on a Set/Clear Command−Based Switch
To disable STP on a Set/Clear command−based switch, use the following Privileged mode command:
catalyst5000> (enable) set spantree disable all
Spantree disabled.
Disabling STP on a Set/Clear Command−Based Switch by VLAN
To selectively disable specific ports on the switch by VLAN, use this Privileged mode command:
set spantree disable [VLAN]
set spantree disable all
For example, you could use disable STP on VLAN 2 with the following command:
set spantree disable 2
Viewing the STP Configuration on a Set/Clear Command−Based
Switch
To view the current configuration of STP on your switch, use this Privileged mode command:
show spantree <VLAN number>
In the following example, the VLAN number is 5:
show spantree 5
The output should look similar to the following (Table 10.6 defines each of the fields in this output):
Spanning tree enabled
Spanning tree type ieee
Designated Root 00—ac—15—22—a5—12
Designated Root Priority 8192
Designated Root Cost 0
Designated Root Port 1/0
Root Max Age 10 Sec Hello Time 2 sec Forward Delay 7 sec
Bridge ID MAC ADDR 00—ac—15—22—a5—12
Bridge ID Priority 8192
213
Summary of Contents for Catalyst 1900 Series
Page 1: ......