ITNuvoAkademiya
Academy homePackagesPlaylistsToolsSubnet calculatorSearchGlossary
CiscoCCNA · CCNA: networking fundamentals1. Introduction2. Network Fundamentals3. Network Access4. IP Connectivity5. IP Services6. IPv67. Security Fundamentals8. AutomationCCNP: Enterprise networks · coming soon
LinuxLinux: system administrator üçün · Linux for system administrators1. Getting to know Linux2. Working with text3. Users and permissions4. Processes and packages5. Inside the system6. Monitoring and logs7. NetworkingRed Hat Enterprise Linux · Red Hat Enterprise Linux: from beginner to advanced1. Getting started2. Packages3. Users and permissions4. SELinux5. Services6. Storage7. Networking8. Building services9. Boot and recovery10. DevOps11. Security and monitoring
FortinetFortiGate Administrator · FortiGate Administrator: from first login to ZTNA1. Getting to know FortiGate2. Routing, policy and NAT3. Security profiles4. Users and logs5. Resilience, SD-WAN and automation6. VDOM7. VPN and ZTNA8. Proxy9. DMZ
MonitoringZabbix · Zabbix: from installation to alerts1. Introduction2. Installation and the database3. Basics: groups, templates, users4. Connecting devices5. Alerts, Grafana and the API
VirtualizationProxmox VE · coming soonVMware ESXi · coming soon
My account / Sign in
AZENRU
← itnuvo.com

Root bridge, root port and designated port: how STP decides

Lesson 3.1310 minIntermediateNovember 4, 2026

Sign in to read this lesson

STP first elects a root bridge: the switch with the lowest Bridge ID. When the priorities are equal, the lowest MAC wins. All root bridge ports are designated and forwarding. Then every non-root switch picks its cheapest path to the root bridge: the root port. The path cost is the sum of costs that depend on interface speed (10 Mbit = 100, 100 Mbit = 19, 1 Gbit = 4, 10 Gbit = 2). Every link has one designated port. The remaining port is non-designated (alternate) and is blocked. Tie-breakers, in order: lowest root path cost, lowest sender Bridge ID, lowest sender port ID.

What you will learn

  • Step 1: the root bridge. The switch with the lowest Bridge ID becomes the root bridge. The priority is 32768 on every switch by default, so the lowest MAC usually wins.
  • All root bridge ports are designated (D) and forwarding.
  • Step 2: the root port (R). Every non-root switch picks the port with the lowest total cost to the root bridge. Cost: 10 Mbit = 100, 100 Mbit = 19, 1 Gbit = 4, 10 Gbit = 2.
  • Step 3: one designated port per link. On each link, the port of the switch with the cheaper path to the root (on a tie, the lower Bridge ID) becomes designated. The other port becomes non-designated (alternate) and is blocked.
  • Tie-breakers: 1) lowest root path cost, 2) lowest sender Bridge ID, 3) lowest sender port ID (port priority + number).

The lesson has 5 key points, an explanation and 5 questions. It opens with a package.