Network Design and Operations

Three switches, SW1, SW2 and SW3, are connected in a triangle with one link between each pair. The STP root bridge is SW1, and SW2 has a lower bridge ID than SW3. All links have the same path cost. Which port is blocked (does not forward frames)?

  1. AThe port on SW1 that connects to SW3
  2. BThe port on SW2 that connects to SW3
  3. CThe port on SW3 that connects to SW2
Show answer and explanation

Answer: C. The port on SW3 that connects to SW2

All ports on the root bridge are designated ports in the forwarding state. SW2 and SW3 each choose as their root port the port with the lowest cost to the root bridge, which is the port connected directly to SW1. On the remaining SW2–SW3 link, both switches have the same cost to the root bridge (one link), so the port on SW2, which has the lower bridge ID, becomes the designated port. The port on SW3 is neither a root port nor a designated port, so it is blocked and the triangular loop is broken.

  • A. Ports on the root bridge are always designated ports and forward frames; they are never blocked.
  • B. SW2 has the lower bridge ID, so its port is the designated port on this link and forwards frames.
  • C. Correct. It is neither a root port nor a designated port, so it is blocked.
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. 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?
  2. 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?
  3. 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?
  4. 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?
  5. 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?

Comparisons in this topic