Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Spanning Tree Protocol
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Rapid Spanning Tree operation==== RSTP adds new bridge port roles in order to speed convergence following a link failure: *'''Root'''{{dash}}A forwarding port that is the best port from non-root bridge to root bridge *'''Designated'''{{dash}}A forwarding port for every network segment *'''Alternate'''{{dash}}An alternate path to the root bridge. This path is different from using the root port *'''Backup'''{{dash}}A backup/redundant path to a segment where another bridge port already connects *'''Disabled'''{{dash}}Not strictly part of STP, a network administrator can manually disable a port The number of switch port states a port can be in has been reduced to three instead of STP's original five: *'''Discarding'''{{dash}}No user data is sent over the port *'''Learning'''{{dash}}The port is not forwarding frames yet, but is populating its MAC address table *'''Forwarding'''{{dash}}The port is fully operational RSTP operational details: * Detection of root switch failure is done in 3 hello times, which is 6 seconds if the default hello times have not been changed. * Ports may be configured as edge ports if they are attached to a LAN that has no other bridges attached (depending on vendor, ''admin-edge'' or ''portfast'' mode). These edge ports transition directly to the forwarding state, avoiding problems with hosts expecting an upcoming link to work right away, e.g. with [[DHCP]]. RSTP still continues to monitor the port for BPDUs in case a bridge is connected. RSTP can also be configured to automatically detect edge ports. As soon as the bridge detects a BPDU coming to an edge port, the port becomes a non-edge port. * RSTP calls the connection between two or more switches as a "link-type" connection. A port that operates in full-duplex mode is assumed to be point-to-point link, whereas a half-duplex port (through a hub) is considered a shared port by default. This automatic link type setting can be overridden by explicit configuration. RSTP improves convergence on point-to-point links by reducing the Max-Age time to 3 times Hello interval, removing the STP listening state, and exchanging a handshake between two switches to quickly transition the port to forwarding state. RSTP does not do anything differently from STP on shared links. * Unlike in STP, RSTP will respond to BPDUs sent from the direction of the root bridge. An RSTP bridge will ''propose'' its spanning tree information to its designated ports. If another RSTP bridge receives this information and determines this is the superior root information, it sets all its other ports to discarding. The bridge may send an ''agreement'' to the first bridge confirming its superior spanning tree information. The first bridge, upon receiving this agreement, knows it can rapidly transition that port to the forwarding state bypassing the listening/learning state transition. This essentially creates a cascading effect away from the root bridge where each designated bridge proposes to its neighbors to determine if it can make a rapid transition. This is one of the major elements that allows RSTP to achieve faster convergence times than STP. * As discussed in the port role details above, RSTP maintains backup details regarding the discarding status of ports. This avoids timeouts if the current forwarding ports were to fail or BPDUs were not received on the root port in a certain interval. * RSTP will revert to legacy STP on an interface if a legacy version of an STP BPDU is detected on that port.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Spanning Tree Protocol
(section)
Add topic