Enabling Stp On A Set/Clear Command−Based Switch For All Vlans; Disabling Stp On A Set/Clear Command−Based Switch; Disabling Stp On A Set/Clear Command−Based Switch By Vlan; Viewing The Stp Configuration On A Set/Clear Command−Based Switch - Cisco RJ-45-to-AUX Brochure

Cisco switch brochure
Table of Contents

Advertisement

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:
Configuring a Static VLAN on a Catalyst 5000 Series
Switch
Configuring Multiple VLANs on a Catalyst 5000
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
Designated Root
Designated Root Priority
Designated Root Cost
Designated Root Port
Root Max Age 10 Sec
Bridge ID MAC ADDR
Bridge ID Priority
ieee
00—ac—15—22—a5—12
8192
0
1/0
Hello Time 2 sec
00—ac—15—22—a5—12
8192
Found on page:
154
154
Forward Delay 7 sec
213

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents