www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / SWITCH / Module 4 / Advanced STP – RSTP Synchronization

Advanced STP – RSTP Synchronization

RSTP uses an explicit handshake mechanism between switches via the use of the proposal and agreement flags. This handshake is performed as follows:

  1. When a designated port is in a discarding or learning state, and only in either of these two states, it sets the proposal bit on the BPDUs it sends out. This is so that the switch can become a designated bridge for that segment. This proposal includes the BID and port role of the sending switch, which would be Switch 1. This is illustrated below in Figure 4-7:

    The RSTP Proposal
    Fig. 4-7. The RSTP Proposal

    Figure 4-8 below shows an RTSP BDPU with the proposal flag set:

    The RSTP Proposal BPDU Format
    Fig. 4-8. The RSTP Proposal BPDU Format

  2. Upon receiving the BPDU with the proposal flag set, the receiving switch (Switch 2) begins a sync to verify that all of its ports are in-sync with this new information. A port is in sync if it is either in a Blocking state or in an edge port. In other words, the sync mechanism places all other non-edge ports into the Blocking state and inspects the received BPDU with the proposal flag set to ensure that it does not conflict with the port roles on the local switch.
  3. The receiving switch (Switch 2) places the port on which the BPDU with the proposal flag set was received into the Forwarding state and responds to the sender (Switch 1) with a BPDU with the agreement flag set. This is illustrated below in Figure 4-9:The RSTP Agreement
    Fig. 4-9. The RSTP Agreement
  4. When a BPDU with the agreement flag set is received by the switch that initially sent out the BPDU with the proposal flag set (Switch 1), it moves the designated port into the Forwarding state. Figure 4-10 below illustrates the port roles once the proposal and agreement exchange between the two switches is complete:

    RSTP Synchronization after the Proposal and Agreement Exchange
    Fig. 4-10. RSTP Synchronization after the Proposal and Agreement Exchange


NOTE:
 It should be noted that if the switch port does not receive an agreement after it sends a proposal, it slowly transitions to the Forwarding state and falls back to traditional 802.1D operation. This typically happens when the neighboring switch does not understand RSTP BPDUs, or if its port is in the Blocking state.

Because of the fact that the proposal agreement mechanism is very fast, as it does not rely on any STP timers, these exchanges are propagated very quickly throughout the RSTP network, which allows for quick network convergence following a topology change.

Additionally, it is important to remember that the receiving switch must agree to the proposal prior to the port being placed into a Forwarding state. If the proposal is rejected, the receiving switch sends out its own proposal and the steps above are repeated.

Superior BPDUs and RSTP Synchronization

When running RSTP, if a port receives superior Root Bridge information, such as a lower Bridge ID, or a lower Path Cost than currently stored for the port, RSTP triggers a network reconfiguration. If the new port is selected as the new Root Port, then RSTP forces all the other ports to synchronize. If the BPDU received is an RSTP BPDU that has the proposal flag set, the switch sends a BPDU with the agreement flag set after all other ports have been synchronized.

However, if the BPDU is an 802.1D BPDU, the switch does not set the proposal flag. Instead, it defaults back to traditional STP operation and starts the Forward Delay timer for the port.

Finally, if the superior information received on the port causes the port to become a backup or alternate port, RSTP sets the port to the Blocking state but does not send the agreement message. Instead, the Designated Port continues sending BPDUs with the proposal flag set until the Forward Delay timer expires, at which time the port transitions to the Forwarding state.

Inferior BPDUs and RSTP Synchronization

If a Designated Port receives an inferior BPDU with a Designated Port role, it immediately replies with its own information in a proposal.

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.