CCNA #019: Spanning Tree CCNA Exam Questions: Root Bridge, Root Port and more: CCNA 200-125 exam
Key Takeaways
Configures a DHCP server using Cisco IOS
Full Transcript
[Music] [Music] in this vlog we're going to discuss a spanning tree have a look at this topology which which is the root of this topology and why okay so how is the spanning tree root of selected it's based on the bridge ID which consists of the priority and MAC address of the switch and if you want to get more technical it's the priority plus extended system ID plus the MAC address so having a look at the bridge IDs of these switches let's start with the priorities so for zero nine seven four zero nine seven three two seven six nine three two seven six nine so the two switches with the lowest priority of switch one and switch two now we can't use the priority as a tiebreaker so we need to look at to the MAC addresses of the switches so first for hex values are zero zero zero four stay the same then we have one 8d two and on this side we have one eight one C so I would say that the switch is the root because it has the lowest priority and MAC address so on switch to shows spanning tree notice the roots which has a priority of four zero nine seven MAC address is this that is the priority and MAC address of the local bridge or local switch and that is the values for switch two so switch two is the root in this topology now in the old days the switches would have a priority of 4 0 9 6 as an example but these days the extended system ID is used in combination with the priority so the priority for VLAN 1 is 4 0 9 7 on the switch which is a combination of the priority plus the extended system ID have a look at my CCNA course for more details of that we'll have a look online for extended system IDs so this switch is the root of the topology so here's another question in the spanning tree calculation what is determined next once you have the roots which of the topology what is selected next and the answer is root ports every switch in the topology needs to choose a route port which is its best port to get to the root bridge so as an example on switch for gigabit zero zero is going to be the root port because that's the best port to use to get to the root switch or root bridge we can confirm that by typing show spanning tree and VLAN and the VLAN number which is VLAN 1 in this case root as you can see the root port on the local switch to get to the root bridge is gigabit 0/0 the path cost to get to the root bridge is 4 root pods are determined based on four criteria lowest path cost if that's the same then it's the lowest neighbor bridge ID if that's the same then it's the lowest port priority if that's the same then it's the lowest port ID so which port on switch 1 will be the root port which port do you think will be the root port on switch one is at gigabit zero one or gigabit zero zero the answer is most likely gigabit zero zero assuming that we've got default values typically in the exam they will let you know if they've changed something so show spanning tree on switch one shows us that gigabit is zero zero is the root port gigabit zero one is an alternate port we could also use the command once again show spanning tree VLAN one root we can see that gigabit to zero zero is the root port of switch 1 now the reason why gigabit to zero zero is chosen before gigabit to zero one is because the priorities of the ports are the same but notice the port number of gigabit to zero zero is 1 and the port number of gigabit to zero 1 is 2 so gigabit to zero zero has a lower port number so that is selected as the root port so gigabit zero zero will be the root port of switch 1 now what about switch 3 which port is its root port path costs are going to be the same let's assume that all these links are gigabit links path costs haven't been changed so we can't use a path cost to determine the best path to the root bridge we need to use something else and that's a lowest neighbor bridge ID so look at switch one bridge ID look at search for sprig ID which one is the lowest it's going to be such one so the root port on switch 3 is gigabit as 0 0 let's confirm that though so on switch three shows spanning tree VLAN 1 root port root port is gigabit 0/0 so this is going to be the root port of switch 3 so once we've determined with the root switches of the topology or root bridge of the topology is we then select root ports which we've done now what gets selected next in the spanning tree calculation what's the next option so the next step is to choose designated ports designated ports are chosen per segment so you need to look on every segment and determine which port is the best port to use to get to the root bridge so this is going to be the best port to use to get to the root bridge on switch 2 I would say and I would say the same on these ports generally all ports on a root to switch are designated ports except in some cases as an example if you loop cables on the route switch so show spanning tree gigabit 0 0 0 1 and 0 2 are designated ports they are forwarding the switch does have other ports shown in the output here that the only ones connected in our topology or gigabit 0 to 0 1 and 0 0 so those are the best ports on the segment to use to get to the root bridge so on this segment which port is the designated port put your mouse in the middle of this cable and work out is this a quicker path or is this a quick upon the pot costs of all these links are the same so this is one and a half links this is half one and a half two and a half so it's going to be quicker to go via this port so this will be the ignited port on switch for to confirm that show spanning-tree on switch for Lotus gigabit zero one is the designated port it's the best port to use to get to the root bridge on the segment what about the segment we could go this way or we could go this way so the quickest way is going to be via that port on switch one let's confirm that shows spanning tree gigabit to 0-2 is a designated port it's forwarding so we've now worked out to the route bridges we've worked out to the route ports and we've worked out the designated ports all other ports in the topology become blocking or discarding ports so blocking blocking let's prove that on stage one again gigabit zero one is what's called an alternate port it's blocking notice the state is blocking so this is an alternate port and it's blocking on switch three show spanning tree this is an alternate port and it's blocking so gigabit zero one is also blocking as an alternate port so we've successfully determined who the route switches or route bridge which puts our route ports which ports are designated ports and which ports are blocking now remember that physically the topology looks as follows but logically this link is disconnected it's not sending user traffic at all and logically this link is disconnected it's also not sending user traffic so for PC on switch three were sending traffic to a PC on switch for it would have to traverse this link this link and this link to get there in my CCNA course I talk about a campus topology and how to optimize the campus topology so have a look at the course for more information or have a look online for ways to optimize spanning tree I'll also talk about some of the options and the vlogs so thank you for watching if you've enjoyed this video please like it and please subscribe I wish you all the very best [Music]
Original Description
Which switch becomes the root switch? Why? Which ports are Root Ports, Designated Ports and Alternate Ports? Which ports are forwarding? How much do you know about Spanning Tree? Will you be able to answer these questions?
My full course is here: http://www.ccnax.com
#CCNA #CCENT #CCNP
Subscribe to learn how to pass the CCNA 200-125 exam. Also includes content for the ICND1 100-105 and ICND2 200-105 exams.
What do you want to learn? Let me know via the comments.
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from David Bombal · David Bombal · 18 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
▶
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
RYU SDN Controller Part 4: Graphical User Interface (GUI): Practical GNS3 SDN and OpenFlow
David Bombal
HPE Network Protector SDN Application Part 1 - Introduction
David Bombal
HPE Network Protector SDN Application Part 2 : DNS Interception using OpenFlow
David Bombal
HPE Network Protector SDN Application Part 3 - Lab Setup using Physical Switches
David Bombal
HPE Network Protector SDN Application Part 4 - Demo of malicious websites blocked
David Bombal
HPE Network Protector SDN Application Part 5 - Demo OpenFlow table interception flows
David Bombal
HPE Network Protector SDN Application Part 6 - Demo of Physical Switch configuration
David Bombal
HPE Network Protector SDN Application Part 7 - Demo Service Insertion Tunnel / GRE Tunnel
David Bombal
HPE Network Protector SDN Application Part 8 - Demo SDN OpenFlow Reporting
David Bombal
HPE Network Protector SDN Application Part 9 - Demo switches interception of DNS traffic
David Bombal
GNS3 Talks: GNS3 version 1.5.X Appliance Tips
David Bombal
CCNA 200-125 Exam: AAA demo: TACACS+ with GNS3
David Bombal
GNS3 2.0.0 beta 2 install
David Bombal
CCNA #012: Learn SNMP with GNS3, Wireshark and Solarwinds NPM - CCNA 200-125 exam
David Bombal
CCNA #013: Spanning Tree CCNA Exam Questions: Know the answer? CCNA 200-125 exam
David Bombal
GNS3 2.0.0 beta : GNS3 VM integration with GNS3 GUI
David Bombal
CCNA #018: Routing exam questions: Who wins? OSPF, EIGRP or RIP? Sure? CCNA 200-125 exam
David Bombal
CCNA #019: Spanning Tree CCNA Exam Questions: Root Bridge, Root Port and more: CCNA 200-125 exam
David Bombal
GNS3 Download, installation and configuration - GNS3 1.5.3 and Windows 10
David Bombal
CCNA #023 EIGRP Neighbor Troubleshooting (DUAL Issues) for the CCNA 200-125 Exam
David Bombal
GNS3 2.0 Architecture and schema Part 1: What is the GNS3 Controller?
David Bombal
GNS3 2.0 Architecture and schema Part 2: Emulators and virtualization
David Bombal
CCNA #028 VTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
CCNA #029 VTP & DTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
CCNA #030 VTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
GNS3 : How to download Cisco IOS images and VIRL images. Which is the best? How do you get them?
David Bombal
GNS3 ASA setup: Import and configure Cisco ASAv with GNS3
David Bombal
GNS3 switching setup and options: Cisco and other switching options in GNS3
David Bombal
GNS3 switching setup and options Part 2: GNS3 unmanaged built-in switch
David Bombal
GNS3 switching setup and options Part 3: Router on a sick with GNS3 unmanaged built-in switch
David Bombal
GNS3 switching setup and options Part 4: Etherswitch Router for Cisco Dynamips Part 1
David Bombal
GNS3 switching setup and options Part 5: Etherswitch Router for Cisco Dynamips Part 2
David Bombal
GNS3 switching setup and options Part 6: Etherswitch, Wireshark, 802.1Q, InterVLAN routing
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 1: GNS3 Switching Part 7
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 2: GNS3 Switching Part 8
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 3: GNS3 Switching Part 9
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 4: GNS3 Switching Part 10
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 5: GNS3 Switching Part 11
David Bombal
GNS3 Nexus (NX-OSv) switch setup and configuration Part 1: GNS3 switching options Part 12
David Bombal
GNS3 Nexus (NX-OSv) switch setup and configuration Part 2: GNS3 switching options Part 13
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 6: GNS3 Switching Part 14
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 7: GNS3 Switching Part 15
David Bombal
GNS3 Cisco CSR 1000v setup and configuration Part 1: GNS3 NFV
David Bombal
GNS3 Cisco CSR 1000v setup and configuration Part 2: GNS3 NFV
David Bombal
GNS3 Talks: Use the NAT node to connect GNS3 to the Internet easily!
David Bombal
GNS3 Talks: GNS3 2.0 RC1 is now available
David Bombal
GNS3 Talks: GNS3 2.0 Portable Projects - easily export and import GNS3 projects
David Bombal
GNS3 Talks: Multiple clients sharing projects in real time, plus console session shadowing!
David Bombal
CCNA #035 NAT Troubleshooting Scenario 1 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
CCNA #036 NAT Troubleshooting Scenario 2 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
GNS3 Talks: ESXi, GNS3 VM and KVM support Part 1: leverage servers and the cloud
David Bombal
CCNA #037 OSPF Troubleshooting - can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
GNS3 Talks: ESXi, GNS3 VM and KVM support Part 2: leverage servers and the cloud
David Bombal
CCNA #038 NAT Troubleshooting Scenario 3 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
CCNA #039 - OSPF DR, BR and DROTHER Election - do you know the answers?
David Bombal
CCNA #040 NAT Troubleshooting Scenario 4 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
GNS3 Talks: Arista vEOS GNS3 import and configuration Part 1
David Bombal
CCNA #041 - OSPF DR, BR and DROTHER Election - do you know the answers?
David Bombal
GNS3 Talks: Arista vEOS GNS3 import and configuration Part 2
David Bombal
GNS3 Talks: ipterm: Linux, Docker, Python, SDN and more! Part 1
David Bombal
Related AI Lessons
⚡
⚡
⚡
⚡
Security Belongs on the Blueprint
Medium · Cybersecurity
# A 4-Line HTML File Stole the Admin’s Secret — Intigriti LeakyJar CTF Writeup
Medium · Cybersecurity
The Digital Gateway to Arabic Cybersecurity
Medium · Cybersecurity
Cybersecurity vs Cloud Computing – Which Career Will Dominate 2026? ☁️
Medium · Cybersecurity
🎓
Tutor Explanation
DeepCamp AI