1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

STP Protocol

Discussion in 'Cisco/Linksys Wireless Routers' started by tom, Oct 3, 2004.

  1. tom

    tom Network Guru Member

    I have the STP protocol firing on 1 of 2 WRT APs every 2 seconds. I understand about STP, but is this a high rate? Is there anything I can do to "adjust" the STP protocol in any way???

    I have reset the WRT, taken it off the network, etc, and it stays the same.

    Thanks
     
  2. ImprezaDude

    ImprezaDude Network Guru Member

    STP is enabled by default on all Cisco/Linksys devices. It stops broadcast storms if you accidently create a loop somewhere in your network.

    I don't think you can disable it.

    Regards

    /HP
     
  3. tom

    tom Network Guru Member

    I do not think you can do "anything" with STP protocol. It seems to be polling every 2 seconds which is a little excessive, IMO. Would like to lower poll intervals to stop eating network resources.

    Yeah, my network topology is not for the faint of heart, but I cannot think of anyway to change it as there are requirements I need to make. Oh well, will look at it again soon and figure it out.

    Thanks,
     
  4. ImprezaDude

    ImprezaDude Network Guru Member

    Well.... Eating network resources... I wouldn't say that it's taking up so much bandwith at least compared to what happens if you loop your network. Look at your Netbios broadcasts etc, they're eating bandwith.

    Every Linksys device on your net sends out 60 bytes every 2 seconds, that's an average of 30Bytes/sec or roughly 300bits/sec. You're propably having a 100Mbit/sec switched environment, meaning that each of your linksys boxes are taking up 0.0003% of your available bandwith.. If this is hurting your network performance i would consider taking your network Topology to the next level :D

    However you're right, it's annoying to see all the STP packets when you're sniffing your LAN. I'm filtering them out on my L3 switch 8)

    Regards

    /HP
     
  5. tom

    tom Network Guru Member

    It is not really the amount of data flowing as it is the amount of processing time that must take place on all nodes to actually process the data flowing across the network. OK, I am getting picky. And you are right, snooping my own network makes me that much more self concious.... 8O

    I guess when you get right down to it, the fact that stuff happens on my network and I can do nothing about it gets to me more. No I am not a control freak! But I do control the horizontal and vertical... :twisted:
     
  6. Toril

    Toril Network Guru Member

    Well, it got me thinking ... I've dealt with STP at work (I work at an ISP) with Cisco equipment, and I've delt with Linux quite a bit ... makes me wonder how they enabled STP in Linux (because the WRT is just an embedded linux machine)... so I grepped "spanning tree" out of the satori source code, and lo and behold ... it was mentioned in the man page for the command brctl (bridge control) allows you to look at some things ... unless you know quite a bit I wouldn't mess with it, but when I performed this command on my WRT54G, here was the output:

    rtr:[~]# brctl showbr br0
    br0
    bridge id 8000.000f664717cb
    designated root 8000.000f664717cb
    root port 0 path cost 0
    max age 20.00 bridge max age 20.00
    hello time 2.00 bridge hello time 2.00
    forward delay 0.00 bridge forward delay 0.00
    ageing time 42.30 gc interval 4.00
    hello timer 0.39 tcn timer 0.00
    topology change timer 0.00 gc timer 0.39
    flags


    vlan0 (1)
    port id 8001 state forwarding
    designated root 8000.000f664717cb path cost 100
    designated bridge 8000.000f664717cb message age timer 0.00
    designated port 8001 forward delay timer 0.00
    designated cost 0 hold timer 0.39
    flags

    eth1 (2)
    port id 8002 state forwarding
    designated root 8000.000f664717cb path cost 100
    designated bridge 8000.000f664717cb message age timer 0.00
    designated port 8002 forward delay timer 0.00
    designated cost 0 hold timer 0.39
    flags


    Seems like the "hello time" is what you're concerned with...
     
  7. tom

    tom Network Guru Member

    Sets Hello Time to 10 seconds (instead of default 2 seconds):

    brctl sethello br0 10.00

    Kool... :D
     
  8. tom

    tom Network Guru Member

    It "appears" the WRT54G does a type of reset after 24 hours. I had set the STP timer to 10 seconds and now it is back to 2 seconds. Does anyone know if this is correct? And if so, is there a way around it?

    Thanks
     
  9. tom

    tom Network Guru Member

    Yep, 2 days in a row the WRT54G has reset itself from the STP Hello Time from my setting to the default 2 seconds all by itself. Anyone know a way to set it permanently? I use Sveasoft firmaware. It would be cool if the next version allowed for this to happen.
     

Share This Page