CS FundamentalsVery hardGATE CS

Six bridges B1-B6 (bridge IDs B1 < B2 < ... < B6, equal priorities) run the spanning tree protocol over these links with costs: B1-B2 4, B1-B3 19, B2-B3 4, B2-B4 19, B3-B5 4, B4-B5 4, B4-B6 19, B5-B6 19. The root is the lowest bridge ID; each other bridge picks as root port the port on its lowest-cost path to the root (ties: lower neighbouring bridge ID); on each link the bridge with the lower root path cost (ties: lower ID) has the designated port; every remaining port is blocked. On which bridges are ports blocked?

  1. A. B3, B5 and B6
  2. B. B3 and B6 only
  3. C. B3, B4 and B6
  4. D. B2, B4 and B6

Correct answer: C. B3, B4 and B6

Root path costs: B2 = 4, B3 = 8 (via B2, not the direct 19), B5 = 12, B4 = 16 (via B5), B6 = 31 (via B5). B3's port to B1 is blocked (B1 is designated there), B4's port to B2 is blocked (B2 has the lower cost) and B6's port to B4 is blocked (B4 has the lower cost): 3 blocked ports.

More Computer Networks questions

Exams that ask this topic