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

154

Switch

 

Configuring Multiple VLANs on a Catalyst 5000

154

Series Switch

 

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

Page 229
Image 229
Cisco Systems RJ-45-to-AUX Disabling STP on a Set/Clear Command−Based Switch, Following example, the Vlan number is, 213