Get the appInstall ExamDragon on any device: this computer, a phone or a tablet. Already installed here? Open it from your apps.
CCNA · Library
Decision diagrams
How to reason through each exam topic of the CCNA exam, one decision at a time: the situation, each step, where questions turn, and the takeaway. 29 diagrams, from the path's reviewed study guides, each linked to its section.
The domains and exam topics are from Cisco's 200-301 CCNA v2.0 exam topics; the worked examples are ours. Sources
Domain 1.01.1
Diagnose interface and cable (copper and fiber) issues such as collisions, errors, mismatched duplex, speed, distance, interface, signal levels, pin out, and cable types
1
The situationA switch port at 100 Mb/s shows Half-duplex, 2871 collisions and 412 late collisions. The router at the other end is set to speed 100 and duplex full, over a 5 m cable.
2
Step 1Rule out distance: a 5 m cable cannot cause late collisions, so look at duplex.
3
Step 2Compare the ends: the router is full duplex, the switch is half duplex, so it is a duplex mismatch.
4
Step 3Explain it: the router does not autonegotiate, so the switch sensed 100 Mb/s and fell back to half duplex.
5
Step 4Fix it on both ends at once: auto on both, or speed 100 and duplex full on both, then clear counters and watch.
6
Where questions turnBlaming the side with the CRC errors, or fixing duplex on one end only. In a duplex mismatch the CRC errors appear on the full-duplex side, which is configured correctly; the cause is that the two ends disagree.
✓
The takeawayLate collisions on a short link mean the port is half duplex against a full-duplex neighbour; the neighbour shows CRC errors and runts.
Describe the role and function of hypervisors, virtual machines, and containers
1
The situationA team must choose between virtual machines and containers for forty copies of a small web service on one Linux server, and separately for a Windows server and a Linux server on the same host.
2
Step 1For the forty copies: they share one application and one OS family, and need fast start and low overhead, so containers fit.
3
Step 2For the Windows and Linux servers: they need different operating systems, so they need virtual machines on a hypervisor.
4
Step 3Connect either set to the network through the host's virtual switch and physical NICs.
5
Where questions turnThinking that each container includes a full operating system, or that containers need a hypervisor. Containers share the host kernel and can run on a physical host or inside a VM.
✓
The takeawayA VM virtualizes hardware and carries its own OS; a container virtualizes the OS and shares the host kernel.
Troubleshoot IPv4 address configuration, assignment, and subnetting (public and private)
1
The situationA server needs a static address in 172.16.32.0/20, and the choices are 172.16.47.255, 172.16.48.1 and 172.16.40.0.
2
Step 1A /20 is 255.255.240.0, so the block size in the third octet is 16.
3
Step 2The block starting at 32 runs from 172.16.32.0 to 172.16.47.255.
4
Step 3172.16.47.255 is the broadcast address; 172.16.48.1 is in the next block.
5
Step 4172.16.40.0 is inside the block and is neither the first nor the last address, so it is a valid host address.
6
Where questions turnTreating any address ending in .0 or .255 as invalid. In a subnet larger than /24, such as a /20, addresses like 172.16.40.0 or 172.16.33.255 are ordinary host addresses.
✓
The takeawayWork out the block first; only its first and last addresses are reserved, whatever the last octet looks like.
Troubleshoot IPv6 address configuration, assignment, and prefix sizing (unicast and modified EUI 64)
1
The situationFind the EUI-64 address an interface with MAC 0050.56a1.2b3c gets from ipv6 address 2001:db8:acad:1::/64 eui-64.
2
Step 1Split the MAC: 0050.56 and a1.2b3c.
3
Step 2Insert FFFE: 0050:56ff:fea1:2b3c.
4
Step 3Invert the seventh bit of the first byte: 00 (0000 0000) becomes 02 (0000 0010).
5
Step 4Add the prefix: 2001:db8:acad:1:250:56ff:fea1:2b3c.
6
Where questions turnForgetting to flip the seventh bit, or flipping the wrong one. The universal/local bit is the second lowest bit of the first byte, so the first hex pair changes by exactly 2.
✓
The takeawayFFFE goes in the middle, and flipping the seventh bit changes the first byte by 2: 00 to 02, 02 to 00.
The situation2.4 GHz clients near a break room drop at lunchtime while 5 GHz clients stay connected.
2
Step 1Note the pattern: it follows the use of a device, and only 2.4 GHz suffers.
3
Step 2Name the source: a microwave oven emits around 2.45 GHz, in the 2.4 GHz Wi-Fi band.
4
Step 3Rule out co-channel interference and DFS: neither would follow the oven, and DFS is a 5 GHz feature.
5
Step 4Steer clients to 5 GHz and move the AP or the oven apart.
6
Where questions turnChoosing channels by number instead of spacing, such as 1, 4, 8 at 2.4 GHz, or assuming that more power always helps. Higher power on overlapping channels makes co-channel and adjacent channel interference worse.
✓
The takeawayInterference that follows a device's use and hits only one band is usually a non-Wi-Fi source in that band.
Troubleshoot wired and wireless client connectivity (IP configuration, network reachability, and wireless security parameters on Windows, MacOS, and Linux)
1
The situationA Linux workstation reaches local hosts but not the internet, and ip route shows only 192.168.50.0/24 dev eth0.
2
Step 1Check the address: ip addr shows 192.168.50.20/24, which is correct for the LAN.
3
Step 2Check routes: there is no line starting "default via", so remote traffic has nowhere to go.
4
Step 3Fix it now with sudo ip route add default via 192.168.50.1, then make it permanent in the network configuration.
5
Step 4Test with ping to a remote address, then a name.
6
Where questions turnJumping to DNS or the Wi-Fi password without reading the IP configuration. An APIPA address, a missing gateway and a wrong DNS server each give a distinct pattern of what works and what fails.
✓
The takeawayLocal works and remote fails: look at the default gateway before anything else.
Troubleshoot DHCPv4 client, server, and relay on IOS devices
1
The situationClients in VLAN 30 get no address. SW1's Vlan30 (10.30.0.1) has ip helper-address 10.99.0.10, and the server R2 has a VLAN30 pool but only its connected route to 10.99.0.0/24.
2
Step 1Follow the request: SW1 relays the Discover as a unicast to 10.99.0.10 with giaddr 10.30.0.1.
3
Step 2Follow the reply: R2 must send the Offer to 10.30.0.1, but it has no route to 10.30.0.0/24.
4
Step 3Fix the route on R2, for example ip route 10.30.0.0 255.255.255.0 10.99.0.1.
5
Step 4Then check the pool itself: default-router must be 10.30.0.1, the VLAN 30 gateway.
6
Where questions turnPutting ip helper-address on the interface that faces the server. It belongs on the interface that receives the clients' broadcasts.
✓
The takeawayA relay needs three things: the helper on the client-facing interface, a pool matching the giaddr subnet, and a route from the server back to giaddr.
Configure network infrastructure connectivity (switch-to-switch and switch-to-router)
1
The situationHosts in VLAN 40 on SW2 cannot reach the gateway, an SVI on distribution switch DS1, across Port-channel1. VLAN 40 exists on SW2.
2
Step 1Run show interfaces trunk on both switches: the trunk is up, but on DS1 VLAN 40 is allowed yet missing from the allowed and active list.
3
Step 2That means VLAN 40 does not exist on DS1, so the SVI Vlan40 shows up and down.
4
Step 3Create it with vlan 40 on DS1; the trunk then forwards VLAN 40 and the SVI comes up.
5
Where questions turnTyping switchport trunk allowed vlan 30 when the intent was to add VLAN 30: without add, the command replaces the whole list and cuts off every other VLAN on the trunk.
✓
The takeawayRead the three VLAN lists of show interfaces trunk in order: a VLAN that drops out between allowed and active is missing from that switch's VLAN database.
Step 3Add spanning-tree portfast and spanning-tree bpduguard enable, then confirm the phone and PC with show cdp neighbors or show lldp neighbors and show mac address-table interface Gi1/0/12.
5
Where questions turnGiving every access point a trunk, or every AP an access port. The deciding fact is where client traffic is switched: tunnelled to a controller needs one VLAN; switched locally by the AP needs a trunk.
✓
The takeawayA phone port is still an access port: one data VLAN, one voice VLAN, PoE on, and edge protection.
Validate the accuracy of network documentation using CDP and LLDP
1
The situationThe diagram says SW1 Gi1/0/1 connects to R1 Gi0/0/0, and a third-party firewall sits on Gi1/0/20.
2
Step 1show cdp neighbors on SW1 shows R1 on local Gig 1/0/1 with Port ID Gig 0/0/1, so the diagram's R1 port is wrong.
3
Step 2The firewall does not appear in CDP; show lldp neighbors returns LLDP is not enabled, so enter lldp run.
4
Step 3show lldp neighbors now lists the firewall on Gi1/0/20 with its port ID; update the diagram for R1's port.
5
Where questions turnReading Port ID as a port on the local switch. It is always the neighbor's interface; the local one is in the Local Intrfce column.
✓
The takeawayLocal interface is your side, Port ID is theirs; use CDP for Cisco neighbors and LLDP for everyone, remembering LLDP must be turned on first.
Troubleshoot basic Layer 2/Layer 3 connectivity and device operations using show commands (including show logs), ping, extended ping, trace route, and packet capture output
1
The situationLAN users behind R1 cannot reach 198.51.100.10, but a plain ping from R1 to the server succeeds.
2
Step 1The plain ping uses the outgoing interface's address as its source, so it proves only R1's own path.
3
Step 2Run an extended ping sourced from the LAN interface 10.10.10.1: it fails with timeouts.
4
Step 3Conclude that replies to 10.10.10.0/24 do not return: check the routes for that network on the far routers and any filter on the way.
5
Where questions turnStopping at a successful ping from the router itself. It sources from the exit interface, so it hides return path problems that only affect the users' subnet.
✓
The takeawayChange one thing at a time: if only the source address changed and the result changed, the return path for that source is the fault.
Step 2On DS1 and DS2 downlinks to access switches: spanning-tree guard root.
4
Step 3On access ports: spanning-tree portfast and spanning-tree bpduguard enable; check with show spanning-tree vlan 10 that access uplinks show Root FWD and Altn BLK.
5
Where questions turnConfusing the guards: BPDU guard err-disables and needs a manual or timed recovery, root guard and loop guard block the port and recover by themselves when the condition clears.
✓
The takeawayPlace the root on purpose, then protect it: root guard toward the edge, PortFast and BPDU guard on host ports, loop guard on uplinks that could see one-way faults.
Interpret a routing table to identify the next hop for a packet (routing protocol, prefix/mask, administrative distance, metric, and default route)
1
The situationR1 has O 10.1.0.0/16 [110/20], D 10.1.4.0/22 [90/3072] and S 10.1.5.0/24 [1/0]. A packet arrives for 10.1.6.9.
2
Step 1List the routes whose range contains 10.1.6.9: 10.1.0.0/16 covers 10.1.0.0 to 10.1.255.255, 10.1.4.0/22 covers 10.1.4.0 to 10.1.7.255, 10.1.5.0/24 covers only 10.1.5.x.
3
Step 2Keep the matches: the /16 and the /22 match, the /24 does not.
4
Step 3Choose the longest prefix: the /22 wins, so the packet follows the EIGRP route.
5
Where questions turnComparing administrative distance or metric before prefix length. A /24 static route and a /16 OSPF route are different routes, and the longer match wins whatever the source.
✓
The takeawayFind the matching ranges first and take the longest; administrative distance only matters between routes to the same prefix and length.
The situationR1 learns a default route by OSPF and needs a backup default through 203.0.113.9 that is used only when the OSPF route is lost.
2
Step 1Note the primary route's distance: an OSPF route has 110.
3
Step 2Configure the backup above it: ip route 0.0.0.0 0.0.0.0 203.0.113.9 115.
4
Step 3Confirm with show ip route that the default is still O*E2 [110/1] while the primary works, and that S* [115/0] appears when the OSPF route is removed.
5
Where questions turnGiving a floating static a low distance such as 5, which is still below OSPF's 110 and EIGRP's 90, so the backup link carries all the traffic. Another common slip is a link-local IPv6 next hop without its interface.
✓
The takeawayA floating static route needs a distance higher than the dynamic route's; below it, the backup becomes the primary.
Configure single area OSPFv2 for IPv4 and OSPFv3 for IPv6
1
The situationFour routers share a VLAN: R1 priority 1 ID 10.0.0.1, R2 priority 10 ID 10.0.0.2, R3 priority 0 ID 10.0.0.9, R4 priority 1 ID 10.0.0.4. All start together.
2
Step 1Remove routers with priority 0: R3 cannot be elected despite the highest router ID.
3
Step 2Pick the DR by highest priority: R2, with 10.
4
Step 3Pick the BDR among the rest: R1 and R4 tie on priority 1, so the higher router ID, R4, becomes BDR.
5
Step 4If R5 with priority 200 joins later, it becomes a DROTHER, because the election does not preempt: it becomes BDR only when the DR or the BDR fails, and DR only when the router then acting as DR also fails.
6
Where questions turnExpecting the router with the highest router ID or a newly raised priority to become DR at once. Priority beats router ID, and the DR election is not preemptive, so a change applies only at the next election.
✓
The takeawayPriority first, router ID second, priority 0 never, and no takeover once a DR exists.
Interpret the operational status of First Hop Redundancy Protocols (HSRP and VRRP)
1
The situationshow standby brief on R2 shows group 10 with priority 120, no P, state Standby and Active 192.168.10.2, while R1 has the default priority.
2
Step 1Compare priorities: R2's 120 is higher than R1's 100, so R2 would win an election.
3
Step 2Check the P column: it is empty, so R2 does not preempt.
4
Step 3Fix it with standby 10 preempt on R2, then confirm that R2 shows Active and local.
5
Where questions turnAssuming HSRP preempts like VRRP, or mixing up the names: HSRP uses Active and Standby, VRRP uses Master and Backup, and the virtual MAC prefixes differ.
✓
The takeawayIn HSRP a higher priority means nothing for a running group without preemption; in VRRP preemption is already on.
Configure network devices with local usernames and as an AAA client (TACACS+ and RADIUS) for management
1
The situationA router must check SSH administrators against the TACACS+ server 10.20.0.10, and still let the team in with a local account if that server is down.
2
Step 1Create the fallback account first: username netops privilege 15 secret, so a mistake cannot lock you out.
3
Step 2Enable AAA with aaa new-model and define tacacs server TAC1 with address ipv4 10.20.0.10 and the shared key.
4
Step 3Configure aaa authentication login default group tacacs+ local, so every line tries TACACS+ and then local.
5
Step 4Test a TACACS+ login, then test with the server unreachable and confirm the local account works.
6
Where questions turnExpecting the local account to work when the TACACS+ server is up and rejects it, or swapping the facts: TACACS+ is TCP 49 and encrypts the whole body, RADIUS is UDP 1812 and 1813 and encrypts only the password.
✓
The takeawayLocal in the method list is a fallback for an unreachable server, not for a rejected password.
Manage device configuration and software files using secure file transfer operations with SFTP/SCP
1
The situationAn engineer must push a new IOS XE image to R1 from a workstation with SCP, but the copy fails while SSH logins work.
2
Step 1Confirm SSH works and the account has privilege 15, with aaa authorization exec configured.
3
Step 2Look for ip scp server enable in the running configuration; it is missing.
4
Step 3Add ip scp server enable, repeat the transfer, then run verify /md5 on the file and compare the hash.
5
Where questions turnChoosing TFTP or FTP for a transfer that must be secure, or getting the copy direction backwards and merging a backup into the running configuration.
✓
The takeawayWorking SSH is necessary but not enough: SCP server mode needs its own command.
The situationAfter a new VLAN 20 is added, its hosts reach the inside network but not the internet, while VLAN 10 works.
2
Step 1Check show ip nat statistics: the inside and outside interfaces are correct.
3
Step 2Read the NAT rule: ip nat inside source list 1 interface Gi0/0/0 overload.
4
Step 3Read access-list 1: it permits only 192.168.10.0 0.0.0.255, so add a permit for 192.168.20.0 0.0.0.255.
5
Where questions turnMixing up inside global and outside local, or forgetting that a dynamic pool without overload gives one address per host and runs out.
✓
The takeawayWhen one subnet fails and another works, check the ACL the NAT rule names.
Diagnose issues with DNS records (A, AAAA, CNAME, MX, NS, and PTR) to support host, web application, and mail server access by name
1
The situationUsers cannot open portal.example.com, and dig returns NXDOMAIN with a CNAME to web07.example.com in the answer.
2
Step 1Note that the alias exists, so the problem is the target name.
3
Step 2Run dig web07.example.com A: NXDOMAIN, so the target has no record.
4
Step 3Add the A record (and an AAAA record if IPv6 clients need it) and test again once the negative cache time has passed.
5
Where questions turnFixing a forward lookup problem with a PTR record, or a reverse lookup problem with an A record, and thinking an MX record can hold an IP address.
✓
The takeawayFollow a CNAME to its end; the failure is usually at the target.
Describe IPsec remote access and site-to-site VPNs (protocols and transport modes)
1
The situationHeadquarters must accept a site-to-site tunnel from a branch router that sits behind its ISP's NAT device.
2
Step 1Recognise site-to-site with ESP in tunnel mode between the two gateways.
3
Step 2Open UDP 500 for IKE and UDP 4500 for NAT traversal from the branch's public address.
4
Step 3Do not plan on AH, because it cannot pass through NAT.
5
Where questions turnThinking AH encrypts, or that transport mode hides the original addresses; ESP encrypts, and only tunnel mode hides the inner header.
✓
The takeawayBehind NAT, IPsec needs UDP 500 and UDP 4500, and only ESP works.
Configure IPv4 access control lists (standard, extended, numbered, and named ACLs)
1
The situationHosts on 192.168.10.0/24 must not Telnet to server 10.0.0.10, and all other traffic must pass.
2
Step 1Choose an extended ACL, because the rule depends on the destination and port.
3
Step 2Write deny tcp 192.168.10.0 0.0.0.255 host 10.0.0.10 eq 23, then permit ip any any.
4
Step 3Apply it inbound on the interface where the hosts connect, near the source.
5
Step 4Test Telnet and another service, and read the match counts.
6
Where questions turnForgetting the implicit deny, writing the subnet mask instead of the wildcard, or adding a deny after a broader permit, where it is never reached.
✓
The takeawayMatch the most specific traffic first and always end with the permit that keeps everything else working.
The situationAfter DHCP snooping and DAI are turned on in VLAN 10, clients lose their addresses and a printer with a static address goes silent.
2
Step 1Check where offers are dropped: on the untrusted uplink, so configure ip dhcp snooping trust there.
3
Step 2Renew the clients and confirm bindings appear in show ip dhcp snooping binding.
4
Step 3Note that the printer has no binding, so add an ARP ACL for its IP and MAC and apply it with ip arp inspection filter.
5
Where questions turnAssuming restrict is the default violation mode (it is shutdown), trusting access ports instead of the uplink, or expecting DHCP snooping to stop rogue IPv6 router advertisements (that is RA guard).
✓
The takeawayDAI depends on DHCP snooping: fix the trusted ports first, then cover the static hosts.
Describe the role of agentic AI in network operations
1
The situationAn assistant says an interface is down because of a duplex mismatch and recommends `duplex full`.
2
Step 1Run the command the claim depends on: show interfaces for that interface.
3
Step 2Read the first line: "administratively down, line protocol is down" means the interface is shut down in the configuration.
4
Step 3Notice the output already shows full duplex, so the recommendation does not match the evidence.
5
Step 4Reject the recommendation, find out why the interface was shut down, and only then consider no shutdown through the normal change process.
6
Where questions turnAccepting an assistant's summary because it sounds confident or has access to the devices. If the summary says FULL but show ip ospf neighbor says INIT, the output wins.
✓
The takeawayTreat an AI recommendation as a hypothesis: the device output decides.
Select a prompt to send to a generative AI system to support network operations considering prompt components such as data classification, output format, persona, and instructions
1
The situationYou want help finding interfaces with errors in output from three routers that also contains SNMP communities.
2
Step 1Classify the data: community strings and other secrets are confidential, so replace them with placeholders.
3
Step 2Set a persona: "You are a network operations engineer."
4
Step 3Give the instruction and the redacted output as context: find every interface with CRC or input errors.
5
Step 4Fix the format: "Return a table with the columns Interface, Errors and Likely cause."
6
Where questions turnChoosing the prompt with the most detail even though it includes the full running configuration with passwords. Detail never outweighs data classification.
✓
The takeawayThe best prompt has a persona, a clear instruction, the context needed and a defined output format, and contains nothing policy forbids sending.
Describe network management approaches (device-based, cloud-based, controller-based, automation-based, and infrastructure as code)
1
The situationConfigurations for 120 routers live as YAML in Git; a pipeline tests and applies each approved merge request.
2
Step 1Ask where the configuration is defined: in files, as desired state, not typed at each CLI.
3
Step 2Ask how changes happen: by a reviewed merge request and a pipeline.
4
Step 3Ask what a second run does: nothing, because the devices already match.
5
Step 4Name it infrastructure as code. A one-off script that just sends commands would be automation-based.
6
Where questions turnSwapping northbound and southbound. Northbound faces the applications above the controller (REST); southbound faces the devices below it (NETCONF, OpenFlow).
✓
The takeawayThe deciding questions are where the configuration is defined, where it is managed from and whether a declared desired state is kept under version control.
Describe the function of SNMP in network operations
1
The situationA router has `snmp-server group NMS-GRP v3 priv` and a user in that group with auth sha and priv aes 128 keys.
2
Step 1See the version: v3, so users and groups, not community strings.
3
Step 2Read the group keyword: priv sets the level to authPriv.
4
Step 3Check the user: it has both an authentication and a privacy key, as authPriv needs.
5
Step 4Conclude: messages are authenticated with SHA and encrypted with AES.
6
Where questions turnMixing up the ports or the direction: queries go to the agent on 161, notifications go to the manager on 162, and it is the inform, not the trap, that is acknowledged.
✓
The takeawayThe group keyword (noauth, auth, priv) sets the SNMPv3 security level; only authPriv encrypts.
Use configuration management mechanisms such as Ansible to execute commands
1
The situationYou need `show ntp associations` from every branch router now, and a repeatable way to add an NTP server.
2
Step 1For the one-off check, use an ad hoc command: ansible branch_routers -m cisco.ios.ios_command -a "commands='show ntp associations'".
3
Step 2For the change, write a playbook task with cisco.ios.ios_config and lines: ntp server 192.0.2.10.
4
Step 3Run it with ansible-playbook; the first run reports changed on each router.
5
Step 4Run it again: every router reports ok, because the line is already there.
6
Where questions turnPicking ios_command to change configuration, or thinking Ansible needs an agent or Python on the switch. It runs from the control node over SSH.
✓
The takeawayios_command reads, ios_config changes, and idempotence makes a repeated run safe.
Interpret syslog message content, severity levels, and facilities
1
The situationA syslog server shows `*Nov 23 10:15:00.902: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/2, changed state to down` and the router has `logging trap notifications`.
2
Step 1Split the code: facility LINK, severity 3, mnemonic UPDOWN.
3
Step 2Name the severity: 3 is Error.
4
Step 3Compare with the threshold: notifications is 5, and 3 is lower, so the message is sent.
5
Step 4Note the leading asterisk: on IOS it marks a clock that is not synchronised, so configure NTP before trusting the time.
6
Where questions turnThinking `logging trap 4` sends only Warnings, or that it sends 4 to 7. It sends 0 to 4.
✓
The takeawayRead the number in the middle for severity, and remember that lower numbers are more severe and are always included by a threshold.