cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
39016
Views
5
Helpful
4
Replies

Disabling Spanning-Tree Globally

davidhuynh5
Level 1
Level 1

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

kyukim
Cisco Employee
Cisco Employee

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.

View solution in original post

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

View solution in original post

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

View solution in original post

milan.kulik
Level 10
Level 10

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

View solution in original post

4 Replies 4

kyukim
Cisco Employee
Cisco Employee

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.

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

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

milan.kulik
Level 10
Level 10

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: