Security Concepts, Device Hardening, VPNs & ACLs
CCNA 200-301 · Security Fundamentals
Security is 15% of the CCNA, and it is the domain where the exam most often tests judgement rather than memorisation: given a threat, what is the right mitigation? Given a requirement, which access list achieves it? The concepts are straightforward, but the ACL questions in particular reward careful reading — a single word in an access list (a wildcard mask, a port number, an inbound versus outbound direction) changes the answer. This guide covers the security concepts, device hardening, VPNs, ACLs, and AAA; the next guide covers Layer 2 security and wireless security.
Security concepts
Three words anchor the whole topic, and the exam tests their definitions precisely. A threat is any potential danger to a network or its data — a hacker, a piece of malware, a disgruntled employee, a flood. A vulnerability is a weakness that a threat could exploit — an unpatched server, a default password, an open port. An exploit is the actual act of taking advantage of a vulnerability, such as running code that uses a known software flaw to gain access. A mitigation technique is anything that reduces the risk: patching the vulnerability, blocking the attack with a firewall, or limiting the damage if the attack succeeds. The relationship is a chain — a threat exploits a vulnerability to cause harm — and security work is about breaking that chain at the cheapest link, which is usually the vulnerability.
A security program is the organisational side of the same idea: it is not just technology, but people and process. User awareness means users know what phishing looks like and why they should not share passwords. Training keeps that awareness current as threats change. Physical access control means server rooms and network closets are locked, because a person with physical access to a device can bypass most logical controls — resetting a router's password takes minutes with console access. The exam's point is that technology alone is not a security program.
Device access control and password policy
Securing a Cisco device starts with its passwords. The enable secret command sets the privileged-mode password using a strong MD5-based hash, and it is the correct choice; the older enable password stores the password weakly and should never be used when enable secret is available. service password-encryption encrypts plaintext passwords in the configuration file, but only with the weak, reversible Type 7 algorithm — it hides passwords from a casual glance at the config, not from anyone determined. Local user accounts should be created with username admin privilege 15 secret StrongPass123, which stores the password with a strong hash, and remote access should use login local so those accounts are actually checked. Console and VTY lines should have passwords (or login local), an exec timeout (exec-timeout 5 0 logs out an idle session after five minutes), and a login banner warning unauthorised users away.
Password policy elements the exam names include management (how passwords are stored, changed, and retired), complexity (length and character requirements), and password alternatives: multifactor authentication (MFA), which combines something you know (a password) with something you have (a phone app code) or something you are; certificates, which authenticate a device or user cryptographically; and biometrics, such as fingerprints or facial recognition. The exam's message is that passwords alone are the weakest option, and MFA is the single most effective improvement most organisations can make.
VPNs
A VPN (Virtual Private Network) carries private traffic across a public network such as the internet, encrypted so that only the intended endpoints can read it. A site-to-site VPN connects two networks permanently — for example, a branch office router and a headquarters router — so devices at either site communicate as if they were on one private network; users do nothing, the routers handle the tunnel. A remote access VPN connects an individual user to a network on demand, typically with client software on a laptop, so a travelling employee can reach internal resources securely. The underlying protocol is usually IPsec, which has two modes of protection: AH (Authentication Header), which authenticates packets but does not encrypt them, and ESP (Encapsulating Security Payload), which authenticates and encrypts — ESP is what real deployments use. SSL/TLS VPNs are the browser-based alternative, needing no client software beyond a web browser.
Access control lists
Access control lists (ACLs) filter traffic on a router or Layer 3 switch. A standard ACL (numbered 1-99 or 1300-1999) filters only on the source IP address: access-list 10 permit 192.168.1.0 0.0.0.255 permits traffic from that subnet. An extended ACL (numbered 100-199 or 2000-2699) filters on source and destination address, protocol, and port: access-list 100 permit tcp 192.168.1.0 0.0.0.255 any eq 80 permits HTTP traffic from that subnet to anywhere. Named ACLs do the same thing with names instead of numbers and allow individual entries to be edited.
Three rules govern every ACL question. First, the implicit deny: every ACL ends with an invisible deny ip any any, so anything not explicitly permitted is dropped — an ACL that only denies traffic blocks everything. Second, top-down processing: the router checks entries in order and stops at the first match, so a specific permit must come before a general deny, or it will never be reached. Third, direction matters: an ACL applied in on an interface filters traffic entering the router through that interface, and one applied out filters traffic leaving it. A standard ACL should be placed as close to the destination as possible (because it can only match the source, placing it near the source would block that source from reaching everything), while an extended ACL should be placed as close to the source as possible (because it can match precisely, so unwanted traffic is dropped early). Note the wildcard mask: it is the inverse of a subnet mask, so 0.0.0.255 means "the first three octets must match, the last can be anything".
AAA
AAA stands for Authentication (proving who you are), Authorization (deciding what you are allowed to do), and Accounting (recording what you did). Local authentication on each device works for a small network but does not scale — every password change must be repeated on every device. Centralised AAA uses a server, and the two protocols are RADIUS and TACACS+. RADIUS is an open standard using UDP ports 1812 (authentication) and 1813 (accounting); it encrypts only the password in the packet and combines authentication and authorization into one step. TACACS+ is Cisco-proprietary, uses TCP port 49, encrypts the entire packet, and separates authentication, authorization, and accounting into independent steps, which gives finer control — for example, allowing one administrator to run show commands but not configuration commands. The exam tests the comparison directly: TACACS+ for device administration (full encryption, granular authorization), RADIUS for general network access such as wireless and VPN authentication.
Exam traps to watch for
- Forgetting the implicit deny at the end of every ACL. An ACL with only deny statements blocks all traffic.
- Placing a standard ACL near the source. Standard ACLs filter only on source address, so they belong near the destination.
- Using a subnet mask instead of a wildcard mask in an ACL. A wildcard mask is the inverse: 0 means match, 255 means ignore.
- Saying RADIUS encrypts the whole packet. RADIUS encrypts only the password; TACACS+ encrypts the entire packet.
Practice questions
Test yourself on this guide. Answers are checked instantly, with a full explanation for each question.
Q1.A server is running an unpatched operating system with a known vulnerability. A hacker writes code to exploit that vulnerability and gain access. Which term describes the unpatched operating system?
Explanation: A vulnerability is a weakness in a system that a threat could exploit — the unpatched operating system is the weakness. Option A is wrong because the threat is the hacker (the potential danger). Option B is wrong because the exploit is the code the hacker writes to take advantage of the weakness. Option D is wrong because a mitigation is a countermeasure that reduces risk, such as patching the server.
Exam objective: 200-301 5.1: Define key security concepts (threats, vulnerabilities, exploits, and mitigation techniques)
Q2.Which command sets the privileged-mode password on a Cisco device using a strong hash?
Explanation: enable secret stores the privileged-mode password with a strong MD5-based hash and is the correct way to protect privileged access. Option A is wrong because enable password stores the password with weak or no encryption and should not be used when enable secret is available. Option B is wrong because service password-encryption only applies the weak reversible Type 7 encryption to plaintext passwords in the config. Option C is wrong because username ... password stores the password weakly (username ... secret is the strong version) and creates a user account rather than setting the enable password.
Exam objective: 200-301 5.3: Configure and verify device access control using local passwords
Q3.What is the difference between a site-to-site VPN and a remote access VPN?
Explanation: A site-to-site VPN is a permanent tunnel between two routers joining two networks, while a remote access VPN is an on-demand tunnel between one user's device and a network. Option B reverses the two: browser-based access is a feature of SSL remote access VPNs, and routers sit at each end of a site-to-site VPN. Option C is wrong because both VPN types encrypt their traffic. Option D swaps the definitions.
Exam objective: 200-301 5.5: Describe IPsec remote access and site-to-site VPNs
Q4.An engineer creates an ACL with a single entry: access-list 10 deny 192.168.1.0 0.0.0.255. The ACL is applied inbound on an interface. What happens to traffic from 10.1.1.5 arriving at that interface?
Explanation: Every ACL ends with an implicit deny ip any any, so traffic that matches no explicit permit is dropped — an ACL containing only a deny statement blocks everything, including traffic from 10.1.1.5. Option A is wrong because it ignores the implicit deny. Option C is wrong because standard ACLs filter in whichever direction they are applied. Option D is wrong because the router does not forward ACL decisions to another device.
Exam objective: 200-301 5.6: Configure and verify access control lists — implicit deny
Q5.Which ACL entry permits HTTP traffic from the 192.168.1.0/24 network to any destination?
Explanation: HTTP is TCP port 80, so the correct extended ACL entry is access-list 100 permit tcp 192.168.1.0 0.0.0.255 any eq 80, with the wildcard mask 0.0.0.255 matching the /24 source network. Option B is a standard ACL entry, which can only match the source address — it cannot specify a protocol or port. Option C is wrong twice: HTTP uses TCP, not UDP, and 255.255.255.0 is a subnet mask, not the wildcard mask 0.0.0.255. Option D is wrong because it denies traffic to the network rather than permitting traffic from it, and it has the source and destination reversed.
Exam objective: 200-301 5.6: Configure and verify access control lists — extended ACLs
Q6.Where should a standard ACL be placed, and why?
Explanation: A standard ACL filters only on the source address, so placing it near the source would block that source from reaching every destination. Placing it near the destination limits the filtering to traffic actually heading there. Option A describes the correct placement for an extended ACL, which can match destination and port precisely. Option B is wrong because ACLs are configured on routers and Layer 3 switches, not on hosts. Option D is wrong because one well-placed ACL is sufficient and applying the same ACL everywhere is unnecessary and error-prone.
Exam objective: 200-301 5.6: Configure and verify access control lists — standard ACL placement
Q7.In AAA, what is the difference between authentication and authorization?
Explanation: Authentication proves identity (username and password), authorization determines what the authenticated user is permitted to do (which commands, which resources), and accounting records what they actually did. Option B describes accounting, not authentication. Option C is wrong because AAA functions are about access control, not packet encryption. Option D is wrong because the three As are distinct functions — TACACS+ even implements them as separate steps.
Exam objective: 200-301 5.8: Compare authentication, authorization, and accounting concepts
Q8.An organisation wants centralised AAA for router administration, with the entire packet encrypted and separate control over which commands each administrator can run. Which protocol fits?
Explanation: TACACS+ encrypts the entire packet (RADIUS encrypts only the password), runs over TCP port 49, and treats authentication, authorization, and accounting as separate functions, which allows per-command authorization — exactly what device administration needs. Option A is wrong because RADIUS encrypts only the password and combines authentication with authorization. Option C is wrong because SNMPv3 is a network management protocol, not an AAA protocol for administrator access. Option D is wrong because Kerberos is not one of the AAA protocols in the CCNA blueprint.
Exam objective: 200-301 5.8: Compare authentication, authorization, and accounting concepts — TACACS+ vs RADIUS
Q9.Which of the following is a password alternative that strengthens authentication beyond something the user knows?
Explanation: Multifactor authentication adds a second factor — something the user has (a phone app generating a code) — to the password (something the user knows), so a stolen password alone is not enough to gain access. Option A is wrong because a longer password is still only one factor. Option B is wrong because writing a password down does not add an authentication factor. Option D is wrong because more frequent changes are a password management policy, not an alternative to passwords.
Exam objective: 200-301 5.4: Describe security password policy elements — password alternatives (MFA, certificates, biometrics)
Q10.A company runs regular phishing simulations and training sessions so employees can recognise suspicious emails. Which element of a security program does this describe?
Explanation: User awareness and training is the security program element that addresses the human side of security: teaching employees to recognise phishing, handle passwords safely, and report suspicious activity. Option A is wrong because physical access control covers locks, badges, and securing server rooms — not employee behaviour. Option B is wrong because vulnerability scanning is a technical assessment of systems, not a people programme. Option C is wrong because incident response is the process followed after an attack occurs, not the training that helps prevent one.
Exam objective: 200-301 5.2: Describe security program elements (user awareness, training, and physical access control)