Solved

How to disable spanning tree on cisco 851 router (IOS 12.4)

Posted on 2006-10-24
4
2,868 Views
Last Modified: 2012-05-05
Greetings,

I have a simple network setup, ISP-> cisco router-> 3com switch-> End users/devices.  I'm thinking I can safely turn off spanning tree as I don't see myself getting into a loop-back situation with this configuration.  I have spanning-tree disabled at the switch, but the router seems to have it enabled according to packet analysis on the router lan port (maybe by default? as i dont see a source-bridge statement in my start/run configs).  And I don't see an option in the SDM utility.

Ultimately I'd like to see the router stop generating all of these STP packets.

Can i just issue the following command to disable, or is there more to this situation?

no source-bridge spanning

and if so, would ...

source-bridge spanning

... re-enable it if desired in the future?


Thanks for sharing your expertise.


0
Comment
Question by:BobbyBaboon
  • 2
  • 2
4 Comments
 
LVL 79

Expert Comment

by:lrmoore
ID: 17797896
bridge 1 protocol ieee  <== this command enables spanning tree. If it's there, you can take it out unless any of the interfaces are assigned to this bridge-group
I don't know of anything else that would "turn on" spanning tree. It's not typically a function of a router, unless it is set up as a bridge.
0
 

Author Comment

by:BobbyBaboon
ID: 17800907
Thanks lrmoore,

I did not see that statement in my config.  But I may try the "no" option and see if that has an affect.

That explains why I'm having such a hard time finding documentation about disabling it on routers.  I know it is a switch thing, but there seems to be something setup in the c851 (this is brand new router out of the box with initial configuration and seems to be functioning properly otherwise), I verified it is disabled in the 3com switch config.  I will investigate more and try to verify that I have in fact imperically isolated it to be something generated of the router's own volition.

Would you be interested in seeing the packet information I am capturing? Don't know if it would mean anything to you.   It comes across about every 2 seconds from the lan mac adress of the router, and I believe it is broadcasting to the entire segment across the switch (not confimed yet, but likely).  I assume it is a standard STP packet, but proclaiming the router as the root.

Will keep working on it and advise...
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 250 total points
ID: 17802655
Well, that explains it. The 851 has a built-in 4-port 10/100 switch. You can disable it the same way you do on any other IOS based switch. I would suggest enabling portfast, but not disabling it alltogether. I'm not positive of the syntax off the top of my head for this router, but it should be something like this:

interface Ethernet1
 spanning-tree porfast  
0
 

Author Comment

by:BobbyBaboon
ID: 17827842
lrmoore,  thanks for getting me in the right direction and thinking.  Here are my findings for everyone's benefit.

I figured out on my c851 I could enable portfast with:

   congfig t
   spanning-tree portfast bpduguard

It does not give me the option to enable portfast without bpduguard.
Of course, enabling portfast while clearing up DHCP timing issues, didn't stop the switch from broadcasting the STP packets.

As this is a simple home network setup not in danger of looping (as long as I'm around anyway ;-)), I was able to disable spanning tree with:

   config t
   no spanning-tree vlan 1

All of the fastethernet ports are by default assigned to vlan 1.
I know that I can re-enable spanning tree if needed in the future, and will if I expand to multiple switch configurations.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now