Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Disabling Spanning-Tree Globally

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.

4 ACCEPTED SOLUTIONS

Accepted Solutions
Cisco Employee

Re: Disabling Spanning-Tree Globally

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.

Re: Disabling Spanning-Tree Globally

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]

http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/catos/5.x/command/reference/setsn_su.html#wp1026808

Thanks

Samy

Cisco Employee

Re: Disabling Spanning-Tree Globally

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

Re: Disabling Spanning-Tree Globally

Hi,

wouldn't

spanning-tree bpdufilter enable

(see

http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_55_se/command/reference/cli3.html#wp1945458

for details)

be enough on the port connecting to the other switch?

HTH,

Milan

4 REPLIES
Cisco Employee

Re: Disabling Spanning-Tree Globally

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.

Re: Disabling Spanning-Tree Globally

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]

http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/catos/5.x/command/reference/setsn_su.html#wp1026808

Thanks

Samy

Cisco Employee

Re: Disabling Spanning-Tree Globally

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

Re: Disabling Spanning-Tree Globally

Hi,

wouldn't

spanning-tree bpdufilter enable

(see

http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_55_se/command/reference/cli3.html#wp1945458

for details)

be enough on the port connecting to the other switch?

HTH,

Milan

6793
Views
0
Helpful
4
Replies
CreatePlease to create content