08-18-2010 06:59 PM - edited 03-06-2019 12:32 PM
Is there are way to disable spanning-tree globally on a cisco switch instead of per vlan? Can you provide the commmad? Why you ask..to bypass BPDUguard configured on another switch. Thanks in advance.
Solved! Go to Solution.
08-18-2010 07:47 PM
Hi,
As you already, it is not recommended to turn STP off.
There is no global command to disable spanning tree globally.
But, you can disable all configured vlan by "no spanning-tree vlan 1-max vlan no of your vlans"
SW1(config)#no spanning-tree vlan 1-1014
SW1#sh span
*Mar 1 22:18:00.536: %SYS-5-CONFIG_I: Configured from console by console
SW1#sh span
SW1#sh spanning-tree
No spanning tree instance exists.
Hope this helps.
KK.
08-18-2010 07:58 PM
Hi,
What is switch and IOS model.
If you are running a switch with CatOS model, the try this command
set spantree disable [vlan | all]
Thanks
Samy
08-18-2010 08:11 PM
Or apply BPDUfilter on all ports
Not recommending you do that, because that against the best practice; just want give you another option.
HTH,
Lei Tian
08-18-2010 11:54 PM
Hi,
wouldn't
spanning-tree bpdufilter enable
(see
for details)
be enough on the port connecting to the other switch?
HTH,
Milan
08-18-2010 07:47 PM
Hi,
As you already, it is not recommended to turn STP off.
There is no global command to disable spanning tree globally.
But, you can disable all configured vlan by "no spanning-tree vlan 1-max vlan no of your vlans"
SW1(config)#no spanning-tree vlan 1-1014
SW1#sh span
*Mar 1 22:18:00.536: %SYS-5-CONFIG_I: Configured from console by console
SW1#sh span
SW1#sh spanning-tree
No spanning tree instance exists.
Hope this helps.
KK.
08-18-2010 07:58 PM
Hi,
What is switch and IOS model.
If you are running a switch with CatOS model, the try this command
set spantree disable [vlan | all]
Thanks
Samy
08-18-2010 08:11 PM
Or apply BPDUfilter on all ports
Not recommending you do that, because that against the best practice; just want give you another option.
HTH,
Lei Tian
08-18-2010 11:54 PM
Hi,
wouldn't
spanning-tree bpdufilter enable
(see
for details)
be enough on the port connecting to the other switch?
HTH,
Milan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide