Network Design and Operations

With default timers, classic STP (IEEE 802.1D) takes about 30 to 50 seconds after a failure before a previously blocked port starts forwarding. Which mechanism lets RSTP switch over faster?

  1. AIt adds a TTL-like field to frames and discards looping frames after a set number of hops, so ports no longer need to be blocked
  2. BNeighboring switches exchange a proposal and an agreement to move ports to forwarding immediately, and alternate ports that can replace the root port are chosen in advance
  3. CIt uses all links at once to spread frames, so that if any link fails the remaining links keep carrying traffic
Show answer and explanation

Answer: B. Neighboring switches exchange a proposal and an agreement to move ports to forwarding immediately, and alternate ports that can replace the root port are chosen in advance

Classic STP moves ports to the forwarding state cautiously, waiting on timers so that no loop forms. With the default values, the max age of 20 seconds plus two forward delays of 15 seconds, one each for the listening and learning states, add up to as much as 20 + 15 × 2 = 50 seconds. RSTP has switches connected point-to-point exchange a proposal and an agreement, so a port can start forwarding without waiting for timers. It also chooses in advance an alternate port that takes over when the root port fails, so in many cases the switchover takes a few seconds or less. The basic idea of preventing loops by blocking redundant ports is the same as in classic STP.

  • A. Ethernet frames have no TTL-like field, and RSTP also prevents loops by blocking redundant ports.
  • B. Correct. It starts forwarding quickly through exchanges between neighbors, without waiting for timers.
  • C. That is closer to the idea of link aggregation. RSTP blocks some of the redundant links.
Practice this topic Back to topic

Related calculators

Books on Network Design and Operations Ad

As an Amazon Associate I earn from qualifying purchases.

More Network Design and Operations questions

  1. Four 1 Gbps links between two switches are bundled into one logical link with link aggregation. Frames are distributed with the common method that chooses the link for each combination of source and destination addresses and port numbers (each flow). Which is closest to the maximum throughput a single TCP connection can achieve?
  2. A router is to be connected with a single link to an L2 switch that has VLAN 10 (192.168.10.0/24) and VLAN 20 (192.168.20.0/24), so that the two VLANs can communicate with each other. Which configuration is appropriate for this setup?
  3. Two routers, R1 (192.168.1.2) and R2 (192.168.1.3), are configured with VRRP using the virtual IP address 192.168.1.254. Normally R1 forwards traffic as the master. Which address should be set as the default gateway on the LAN hosts?
  4. 192.168.10.0/24 is to be split into subnets for site A (100 hosts), site B (50 hosts) and site C (25 hosts). Starting with the site that needs the most hosts, each site is given the smallest subnet that holds its hosts, packed in from the lowest addresses. Which subnet is assigned to site C?
  5. Each of the following three sets consists of four consecutive /24 networks. For which set can the four routes be summarized into exactly one /22 route without including any addresses outside the set?

Comparisons in this topic