Well our switches support STP, RSTP, and MSTP standards (RSTP is default)
You need to decide which flavor works best for your topography and other equipment.
And yes they are all designed to work together but depending on what you use in what configuration settings might need changed to achieve your desired outcome.
Since our switches follow the standard there is plenty of documentation on the protocols readily available on the net.
Spanning-tree
-
sirhc - Employee
- Posts: 7416
- Joined: Tue Apr 08, 2014 3:48 pm
- Location: Lancaster, PA
- Has thanked: 1608 times
- Been thanked: 1325 times
Re: Spanning-tree
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.
-
sirhc - Employee
- Posts: 7416
- Joined: Tue Apr 08, 2014 3:48 pm
- Location: Lancaster, PA
- Has thanked: 1608 times
- Been thanked: 1325 times
Re: Spanning-tree
RSTP vs. STP
RSTP needs backwards compatibility with STP switches. Thus Discarding state merges Disabled, Blocking, Listening into one. Ideally if running a complete RSTP topology then discarding becomes practically unneeded due to the explanation below.
In STP BPDU will only be sent from root bridge > down, therefore non-root bridges would only forward on BPDUs that are received from the root-bridge via their root port. Therefore topology change will mean a longer convergence time as the TCN has to be propagated to the root bridge first then from the root bridge out to all remaining bridges in the switching domain.
For STP Hello(2 secs), max age timer (10 x hello time, by default 20s), then 15s each for Listening and Learning. If no timers are touched for STP and you haven't enabled any add-on features like backbonefast or uplinkfast then you can be looking at ~50s for convergence time.
In RSTP all switches can send BPDUs every hello time period not just the root bridge, the BPDUs carry up to date information. This enables faster convergence as the switch that determines the failure can advise the rest of the switching domain(bridge) of the TCN(Topology Change Notification) immediately. As the failure detection time becomes 3 x hello timer. Therefore if the hello timers are left at the default of 2 secs, detection of a failure can happen within ~6 secs.
RSTP also has two additional port states:
Alternate port : Technically in discarding state but is allocated as a alternate best path to the root-bridge. If the current root port fails the alternate port will take over.
Backup port : This port is allocated as a redundant designated port. If there is already a designated port forwarding for that segment then this port will remain backup until it is needed. Technically this port is in discard state until needed.
One more point RSTP marks edge ports as ports connected to end devices (No BPDUs expected on this port). This enables STP 'portfast' features to ensure the host port comes up as quickly as possible to avoid dropping DHCP packets etc.
These are the main differences - Hope this helps.
RSTP needs backwards compatibility with STP switches. Thus Discarding state merges Disabled, Blocking, Listening into one. Ideally if running a complete RSTP topology then discarding becomes practically unneeded due to the explanation below.
In STP BPDU will only be sent from root bridge > down, therefore non-root bridges would only forward on BPDUs that are received from the root-bridge via their root port. Therefore topology change will mean a longer convergence time as the TCN has to be propagated to the root bridge first then from the root bridge out to all remaining bridges in the switching domain.
For STP Hello(2 secs), max age timer (10 x hello time, by default 20s), then 15s each for Listening and Learning. If no timers are touched for STP and you haven't enabled any add-on features like backbonefast or uplinkfast then you can be looking at ~50s for convergence time.
In RSTP all switches can send BPDUs every hello time period not just the root bridge, the BPDUs carry up to date information. This enables faster convergence as the switch that determines the failure can advise the rest of the switching domain(bridge) of the TCN(Topology Change Notification) immediately. As the failure detection time becomes 3 x hello timer. Therefore if the hello timers are left at the default of 2 secs, detection of a failure can happen within ~6 secs.
RSTP also has two additional port states:
Alternate port : Technically in discarding state but is allocated as a alternate best path to the root-bridge. If the current root port fails the alternate port will take over.
Backup port : This port is allocated as a redundant designated port. If there is already a designated port forwarding for that segment then this port will remain backup until it is needed. Technically this port is in discard state until needed.
One more point RSTP marks edge ports as ports connected to end devices (No BPDUs expected on this port). This enables STP 'portfast' features to ensure the host port comes up as quickly as possible to avoid dropping DHCP packets etc.
These are the main differences - Hope this helps.
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.
-
mike99 - Associate
- Posts: 837
- Joined: Tue Nov 25, 2014 10:53 am
- Location: Quebec, Canada
- Has thanked: 95 times
- Been thanked: 245 times
Re: Spanning-tree
mducharme wrote:Yes, we enable spanning tree on our UBNT radios.
Why ? Any good reason to enable it ? Else you should disable it.
mducharme wrote:We had numerous cases where a customer connected a hub into their radio, and then plugged the hub into itself, which would bring down the entire VLAN of customers.
That what the broadcast storm protection is for. No need of STP. Anyway, a non-managed switch will broke the spanning-tree and create a loop so it's not a good option for what you describe. STP should NEVER be activated on ports facing customer device that could interact with you spanning tree. Just think what would happen if a customer would plug a STP switch with a lower priority and become root switch ? All shortest path would be calculated to uplink to this customer switch instead of the switch you configured as root and maybe pass through path not planned for so much traffic.
P.S.: Cisco as a propritary per vlan stp (PVST+) but also support MSTP.
http://www.cisco.com/c/en/us/td/docs/sw ... wmstp.html
Who is online
Users browsing this forum: No registered users and 77 guests