Disable Spanning Tree on Catalyst 6509 & Catalyst 3750

Unanswered Question
Dec 14th, 2009
User Badges:
  • Silver, 250 points or more

Can i disable STP on Catalyst 6509 & Catalyst 3750 globally ?  If yes command ?

Can i disable STP on Catalyst 6509 & Catalyst 3750 per interface ? If yes command ?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (4 ratings)
c_wombles Mon, 12/14/2009 - 23:19
User Badges:

Yes you can.

You can disable STP per VLAN with

switch(config)# no spanning-tree vlan vlan-id

Useful if you want to default ports to use portfast. Then you can have STP enabled for uplinks.
swithc(config)#spanning-tree portfast default

To disable spanning-tree per port you can use

switch(config-if)#spanning-tree portfast

Make sure your topology is free of loops when enabling this, as you'll create yourself a world of pain.

some links for more information.


Information of configuring STP


csawest.dc Mon, 12/14/2009 - 23:29
User Badges:

Dear satish,

Yes it is possible but before pl give me the details.



Giuseppe Larosa Mon, 12/14/2009 - 23:55
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Satish,

even if it  is possible, I strongly recommend to avoid this: STP is still useful even if the device is standalone to detect when a cable connects two ports of the same switch.

STP is there to prevent bridging loops, disabling STP does not mean that bridging loops can not occur even if someone calls them STP loops they are not caused by STP.

if there is a question of STP scalability (number of STP instances running on C3750 for example) you can minimize STP instances running on a device using

switchport trunk allowed vlan

VTP pruning does not provide STP instances minimization.

If the problem is interoperability with other vendors you can consider MST 802.1s.

if you are providing L2 services to a customer and you don't want to participate in customer's STP you can use

switchport bpufilter enable

in port mode

Hope to help


vvasisth Tue, 12/15/2009 - 02:56
User Badges:
  • Silver, 250 points or more

"no spanning-tree vlan " this will definatly disable STP but its not recommended as it wont detect any layer 2 loop and makes your network more prone to loops and failures.




This Discussion