Configuring Rapid PVST+
Rapid PVST+ is IEEE 802.1w the default STP protocols enabled on all newly created VLAN on nexus 7K switches.
RSTP increase the traditional STP convergence time from almost 50 sec to less than 1 Sec. As soon as Rapid PVST+ is configured, it is enabled on per-VLAN basis and it can also be disabled on per-VLAN basis.
RSTP running on each VLAN has one Root Bridge and the selection criteria of Root Bridge, Root Port and designated port is same as traditional STP. Here we are not going to recalculate these ports as we assume that readers are well aware of these concepts in traditional Ethernet switch segments.
In RSTP, each designated ports sends out BPDU every 2 sec and if these BDDU are missed consecutive three times or if MAX age expires, the port immediately flushes all protocol information stored on it. Due to this short time BPDU loss allows quick failure detection and RSTP starts re-convergence. The BPDU version of RSTP is version 2 which means it can easily detects the connected legacy 802.1D Bridges.
Following are the ports used in RSTP:
Edge Ports: these ports transition immediately to forwarding states and is configured to those ports where end host are connected. These ports does not generate the TCN when topology changes.
Root Ports: It has shortest distance or cost to root bridge and when a new Root port is selected it blocks the old root ports and immediately transition new root port to forwarding state.
Point-to-Point Links: If a new port connected and becomes the DP port then it uses the proposal and agreement handshake to ensure loop free topology.
RSTP gets the rapid transition to forwarding states only on edge ports and Point to point link and only designated ports and root port generates TCN BPDU when they don’t receives the three consecutive BPDU from directly connected neighbor or after expiration of MAX age timer. And these ports send the configuration BPDU with TC bit set and these TCN BPDU is sent out all DP or Root port to reach to Root Bridge. The Port will send the BPDU with TC bit set as long as TC while timer runs on that port which is Hello time + 1 Sec.
When RSTP detects a topology change the RSTP takes the following action:
- It starts the TC while Timer whose value is equal to 2*Hello time for non-edge ports and DP ports.
- Flushes the MAC address associated with all these ports.
- Switch after receiving the TC BPDU, floods to all switch causes dynamic MAC address entries flush immediately on per port basis.