CCNA Interview Questions and Answers

30 questions with short, clear answers · Updated December 2026

These questions cover what interviewers ask for network engineer, NOC, network support and system administrator roles, at the level of the Cisco CCNA (200-301) exam: networking fundamentals, switching, routing, IP services, security, IPv6, wireless and the basics of network automation.

Subnetting comes up in almost every networking interview, so practise it until you can do it in your head; the commands mentioned are Cisco IOS commands.

Networking fundamentals

Q1. Explain the OSI model and where common devices work.

Seven layers: Physical (cables, signals), Data Link (MAC addresses, frames; switches), Network (IP addresses, packets; routers), Transport (TCP/UDP, ports), Session, Presentation and Application (HTTP, DNS). The TCP/IP model groups them into four or five layers. In troubleshooting you usually work from the bottom up: is the cable and link up, is there a MAC and IP, can you route, is the port open.

Q2. What is the difference between TCP and UDP?

TCP is connection-oriented: it sets up a session with a three-way handshake (SYN, SYN-ACK, ACK), numbers and acknowledges segments, retransmits lost data and controls flow, so it is reliable but has more overhead; HTTP, SSH and email use it. UDP sends datagrams without a connection or guarantees, so it is faster and lighter; DNS queries, DHCP, VoIP and video streaming use it.

Q3. What is the difference between a collision domain and a broadcast domain?

A collision domain is a segment where frames can collide; every switch port is its own collision domain, and with full duplex collisions no longer happen. A broadcast domain is the area a broadcast reaches; a switch forwards broadcasts within a VLAN, while a router (or a different VLAN) separates broadcast domains.

Q4. How does ARP work?

When a host knows the destination IP on its local network but not the MAC address, it broadcasts an ARP request ("who has 192.168.1.10?"), and the owner replies with its MAC address, which is stored in the ARP cache. For a destination on another network, the host ARPs for its default gateway's MAC instead. IPv6 uses Neighbor Discovery instead of ARP.

Q5. Subnet 192.168.10.0/26. How many subnets and hosts do you get?

A /26 mask is 255.255.255.192, so in the last octet the block size is 64. From 192.168.10.0/24 you get four subnets: .0, .64, .128 and .192. Each has 2^6 − 2 = 62 usable hosts; for the first subnet the hosts are .1 to .62 and the broadcast is .63.

Q6. What are private IP address ranges?

RFC 1918 reserves 10.0.0.0/8, 172.16.0.0/12 (172.16.0.0 to 172.31.255.255) and 192.168.0.0/16 for private networks; they are not routed on the internet and reach it through NAT. 127.0.0.0/8 is loopback and 169.254.0.0/16 is link-local (APIPA), which a host gives itself when DHCP fails.

Switching and VLANs

Q7. How does a switch forward frames?

It learns the source MAC address of each incoming frame and the port it came from into its MAC address table. For a known destination MAC it forwards out of that one port; for an unknown unicast, broadcast or multicast it floods out of all ports in the VLAN except the incoming one. show mac address-table shows what it has learned.

Q8. What is a VLAN, and what is the difference between an access port and a trunk port?

A VLAN splits one physical switch into separate broadcast domains, for example for staff, guests and voice, improving security and reducing broadcasts. An access port carries one VLAN untagged, for end devices. A trunk port carries many VLANs between switches or to a router, tagging frames with IEEE 802.1Q; frames on the native VLAN are sent untagged.

Q9. How do devices in different VLANs communicate?

Through inter-VLAN routing: either a router with one trunk link and a sub-interface per VLAN ("router on a stick"), or, more commonly today, a Layer 3 switch with a switched virtual interface (SVI, interface vlan 10) per VLAN and ip routing enabled. Each SVI is the default gateway for its VLAN.

Q10. What is Spanning Tree Protocol, and how is the root bridge chosen?

STP prevents Layer 2 loops (which cause broadcast storms) by blocking redundant links and unblocking them if the active path fails. The switch with the lowest bridge ID (priority, default 32768, plus VLAN, then the lowest MAC address) becomes the root bridge; set the priority deliberately on your core switch. Rapid PVST+ (based on 802.1w RSTP) converges much faster than classic 802.1D.

Q11. What are PortFast and BPDU Guard?

PortFast puts an access port connected to an end device straight into forwarding, skipping the STP listening and learning delay. BPDU Guard shuts the port down (err-disabled) if it receives a BPDU, which protects the network if someone plugs a switch into a port meant for a PC. They are used together on access ports.

Q12. What is EtherChannel?

EtherChannel bundles several physical links between two switches into one logical link, adding bandwidth and redundancy without STP blocking any of them. It is negotiated with LACP (IEEE standard, modes active and passive) or Cisco's PAgP, or set statically; all member ports must have matching speed, duplex and VLAN settings.

Routing

Q13. How does a router choose the best route?

First by longest prefix match: a /24 route beats a /16 route for an address both contain. Among routes to the same prefix from different sources, the lowest administrative distance wins; among routes from the same protocol, the lowest metric wins. show ip route shows the result.

Q14. What are the default administrative distances?

Connected 0, static 1, eBGP 20, EIGRP (internal) 90, OSPF 110, IS-IS 115, RIP 120, iBGP 200. A lower value is more trusted. A floating static route is a static route given a higher AD (for example 130) so it is used only as a backup when the dynamic route disappears.

Q15. How does OSPF work?

OSPF is a link-state protocol: routers form neighbour adjacencies with hello packets, exchange link-state advertisements so every router in an area has the same map, and run the SPF (Dijkstra) algorithm to find the lowest-cost paths. Cost is based on bandwidth (reference bandwidth divided by interface bandwidth). Large networks are split into areas connected to backbone area 0.

Q16. Why might two OSPF routers not become neighbours?

Hello and dead timers, area ID, subnet and mask, authentication settings or MTU do not match; the network types differ; both have the same router ID; the interface is passive; or an ACL blocks OSPF packets. show ip ospf neighbor and show ip ospf interface help narrow it down.

Q17. What are DR and BDR in OSPF?

On multi-access networks such as Ethernet, OSPF elects a Designated Router and a Backup DR so that every router forms a full adjacency only with them instead of with every other router, which cuts the number of adjacencies and LSA flooding. The highest interface priority wins, then the highest router ID; a priority of 0 means the router never becomes DR.

Q18. What is a first-hop redundancy protocol?

HSRP (Cisco), VRRP (open standard) and GLBP (Cisco, with load balancing) let two or more routers share a virtual IP and MAC address used as the hosts' default gateway. One router is active; if it fails, the standby takes over the virtual IP, so hosts keep working without changing their gateway.

IP services and security

Q19. Explain DHCP and the DHCP relay.

A client gets an address in four steps (DORA): Discover (broadcast), Offer, Request and Acknowledge, receiving an IP, mask, default gateway, DNS servers and lease time. Because Discover is a broadcast, a router does not forward it; ip helper-address on the router interface relays it as unicast to a DHCP server on another subnet.

Q20. What are static NAT, dynamic NAT and PAT?

Static NAT maps one private address to one public address permanently, for servers that must be reachable from outside. Dynamic NAT maps private addresses to a pool of public addresses as needed. PAT (NAT overload) maps many private addresses to one public address using different source ports; it is what almost every office and home router does.

Q21. What is the difference between standard and extended ACLs?

A standard ACL (numbers 1–99 and 1300–1999) filters only by source IP, so it is placed close to the destination. An extended ACL (100–199 and 2000–2699) filters by source, destination, protocol and port, so it is placed close to the source. Rules are checked top to bottom, the first match applies, and every ACL ends with an implicit deny any.

Q22. How do you secure switch ports and device access?

Port security limits the number of MAC addresses per port and shuts the port down on a violation; DHCP snooping blocks rogue DHCP servers and Dynamic ARP Inspection blocks ARP spoofing; unused ports are shut down and put in an unused VLAN. For device access use SSH instead of Telnet, strong enable secret passwords, AAA with RADIUS or TACACS+, and login banners.

Q23. What are the main wireless security and architecture concepts?

Use WPA3 (or at least WPA2 with AES); WPA3-Enterprise authenticates each user through 802.1X and a RADIUS server, while Personal uses a passphrase (SAE in WPA3). Enterprise networks use lightweight access points managed by a wireless LAN controller over CAPWAP tunnels, instead of configuring each autonomous AP separately. Wi-Fi uses the 2.4, 5 and 6 GHz bands.

IPv6 and network automation

Q24. What are the key differences between IPv4 and IPv6?

IPv6 addresses are 128 bits written in hexadecimal (2001:db8::1), giving a practically unlimited address space so NAT is not needed. There is no broadcast (multicast is used instead), hosts can configure themselves with SLAAC, every interface has a link-local address in FE80::/10, and Neighbor Discovery replaces ARP. The header is simpler, and routers do not fragment packets.

Q25. How do you shorten an IPv6 address?

Remove leading zeros in each 16-bit group, and replace one run of consecutive all-zero groups with "::" (only once per address). For example 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1.

Q26. What is controller-based networking (SDN)?

Software-defined networking separates the control plane (deciding where traffic goes) from the data plane (forwarding it) and centralises control in a controller, such as Cisco Catalyst Center (formerly DNA Center). Applications talk to the controller through northbound REST APIs, and the controller programs devices through southbound interfaces such as NETCONF, RESTCONF or SSH. The result is central policy and automation instead of box-by-box configuration.

Q27. Which automation tools and data formats should a network engineer know?

JSON (and YAML and XML) for structured data, REST APIs with HTTP methods (GET, POST, PUT, DELETE), Python with libraries such as Netmiko or NAPALM, and configuration tools such as Ansible (agentless, YAML playbooks) and Terraform. Version-controlling device configurations in Git is the first step most teams take.

Troubleshooting scenarios

Q28. A user cannot reach the internet. How do you troubleshoot?

Go layer by layer: check the cable and link light; run ipconfig to see whether the PC has a valid IP, mask and gateway (a 169.254.x.x address means DHCP failed); ping the default gateway, then a public IP such as 8.8.8.8, then a domain name. If the IP works but the name does not, it is DNS; if the gateway does not answer, check the VLAN and switch port.

Q29. Two PCs in the same VLAN on different switches cannot ping each other. What do you check?

That both access ports are in the right VLAN (show vlan brief); that the link between the switches is a trunk (show interfaces trunk) and the VLAN is allowed and active on it; that the native VLANs match; that STP is not blocking the path; that the PCs' IPs are in the same subnet; and that a host firewall is not blocking ICMP.

Q30. A switch port has gone into err-disabled state. What does it mean, and how do you fix it?

The switch shut the port because of an error such as a port-security violation, a BPDU received on a BPDU Guard port, or a link flap. show interfaces status err-disabled and the logs show the cause. Fix the cause first, then bring the port back with shutdown and no shutdown, or configure errdisable recovery for automatic recovery.

Learn CCNA hands-on

Knowing the answers is half the job; interviewers also ask what you have built. Technical Guftgu's CCNA training is taught in Hindi with live classes, labs and project work, plus resume and mock-interview help. We do not promise or guarantee job placement.

CCNA training near you

More interview questions

TECHNICAL GUFTGU

© 2026 Technical Guftgu. All rights reserved.