Skip Links

Network World

Brad Reese

How to disable STP on a per port basis in Cisco Catalyst switches

By Brad Reese on Sat, 03/01/08 - 6:29pm.
Newsletter Signup

Cisco Catalyst Switch Disable STP Per Port

How to disable STP on a per port basis in Cisco Catalyst 2900XL - 2940 - 2950 - 2960 - 2970 - 3500XL - 3550 - 3560 - 3750 - 4000 - 4500 - 5000 - 5500 - 6000 - 6500 switches.

By default, spanning tree runs on every port.

The spanning tree feature cannot be turned off in switches on a per port basis.

Although it is not recommended, you can turn off Spanning Tree Protocol (STP) on a per-VLAN basis, or globally on the switch.

Use the no spanning-tree vlan vlan-id command in order to disable STP on a per virtual LAN (VLAN) basis.

Also ensure that all switches and bridges in the VLAN have spanning tree disabled.

You can't disable spanning tree on some switches and bridges in a VLAN and leave it enabled on other switches and bridges in the VLAN.

If you do this, you can have unexpected results because switches and bridges with spanning tree enabled have incomplete information in regards to the physical topology of the network.


Note:

Extreme care needs to be taken whenever you disable spanning tree because this creates Layer 2 loops within the network.

Do not disable spanning tree in a VLAN, and make sure that there are no physical loops present in the VLAN.

For further information refer to:

Understanding and Configuring Spanning Tree Protocol (STP) on Catalyst Switches

Contact Brad Reese
http://www.BradReese.Com

Brad Reese Profile
  

spanning-tree bpdufilter enable

0

The spanning-tree bpdufilter enable command on an interface is approximately equivalent to disabling the spanning tree for this interface.

http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.1E/native/command/reference/S1.html#wp1179280

BPDU filtering allows you to prevent a port from sending and receiving BPDUs. The configuration is applicable to the whole interface, whether it is trunking or not. This command has three states:

•spanning-tree bpdufilter enable—This state unconditionally enables the BPDU filter feature on the interface.

•spanning-tree bpdufilter disable—This state unconditionally disables the BPDU filter feature on the interface.

•no spanning-tree bpdufilter—This state enables the BPDU filter feature on the interface if the interface is in operational PortFast state and if the spanning-tree portfast bpdufilter default command is configured.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Welcome, visitor. Register Log in
About Brad Reese on Cisco

Brad Reese cofounded BradReese.Com Cisco Refurbished, which enables affordable networks globally by assuring customer satisfaction with guaranteed one year warranties on both Cisco Repair as well as Refurbished Cisco.

Don't be shy, contact Brad Reese online or call him Toll Free:

866-864-0506

International callers may wish to call Brad by dialing:

850-364-4115

Archives
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
Categories
A classic scam to defraud Cisco's SMARTnet program
America's Best profile written by Useem regarding Chambers' success
Avian Securities Senior Telecom Research Analyst - Catharine Trebnick
Breakingviews.com correspondent - Robert Cyran
CCIE
Careers
Charlie Giancarlo - Managing Director of Silver Lake Partners and Skype investor
Cisco
Cisco ASR 9000 architecture
Cisco ISR G2 Module Support
Cisco Integrated Services Router Generation 2 (ISR G2) Model Comparison
Cisco Integrated Services Routers Generation 2 Portfolio
Cisco Unified Communications Support for Microsoft Windows 7
Cisco is pushing their ASR 9000 at very competitive prices
Cisco is warning Unified Communications customers about NOT successfully offering support for Microsoft Windows 7
Cisco technical star Jonathan Rosenberg
Cisco will have no liability for any delay in delivery
Data Center
Douglas Smith - Cofounder and President of Network Instruments
Expand visibility of NetFlow-dependent NBAD and compliance applications
GigaStor captures and converts packets in NetFlow data flows
Index Venture partner Danny Rimer
Jonathan Rosenberg - a Cisco Fellow in Cisco's Voice Technology Group
Juniper MX960 lab test results
LANs / WANs
Mark Roberts - Polycom vice president of partner marketing
Michael Useem - Professor of Management
Microsoft
NetFlow
NetFlow add-ons
NetFlow overhead can overtax infrastructure
Network Behavior Anomaly Detection (NBAD)
Network Management
Non-NetFlow capable devices are blind to local traffic
Produce NetFlow about any device
SMB
Security
Selection committee member for America's Best Leaders
September 2009 vs. October 2009 Worldwide CCIE Count Comparison
Silver Lake Managing Director - Egon Durban
Skype's cofounders Niklas Zennstrom and Janus Friis
Software
The Charlie angle is to keep Dave Roux on track
The new Cisco ISR G2 portfolio is priced as follows
VoIP / Convergence
What are the benefits of GigaStor NetFlow Agent?
What’s new on the Cisco ISR G2 models vs. the old ISR models?
Windows 7
Windows 7 just not worth an all-out urgent effort by Cisco to support
Wireless / Mobile
eBay CEO - John Donahoe
sFlow
sFlow and NetFlow provides extended visibility
On The Web
Twitter