Access Control Lists (ACLs) lab practice
Write standard, extended and named ACLs, apply them in the right direction on the right interface, and read their match counters.
12 labs · 8 lessons · 3 commands · 4 projects
An access control list is an ordered set of permit and deny entries. The router checks a packet against each entry in turn, acts on the first match, and drops anything that matches nothing because of the implicit deny at the end.
Writing the entries is half the job. The other half is placing the list: which interface, which direction, and whether a standard list (source only) or an extended list (protocol, source, destination and port) fits the policy.
Hands-on labs
- Cisco Standard ACLs (Pro)
- Cisco Extended ACLs (Pro)
- Applying ACLs to Interfaces (Pro)
- Standard ACL Applied Inbound (Pro)
- Choosing the Right ACL Direction (Pro)
- Extended ACL Blocking Telnet (Pro)
- Extended ACL Permitting HTTPS Only (Pro)
- Different Lists on Two Interfaces (Pro)
- Rule Order Inside an Access List (Pro)
- Restricting Management Access With an ACL (Pro)
- ACL Filtering Logic Debug (Pro)
- Reapplying an ACL in the Right Direction (Pro)
To practise for free, build the topology in the free Sandbox.
Lessons, in order
- Standard Access Control Lists (5. Security Fundamentals, 8 min)
- Extended Access Control Lists (5. Security Fundamentals, 11 min)
- ACLs & Security (5. Security Fundamentals, 24 min)
- Apply a standard IPv4 ACL at the intended interface (5. Security Fundamentals, 12 min)
- Write a named standard ACL (5. Security Fundamentals, 13 min)
- Permit web traffic with an ordered extended ACL (5. Security Fundamentals, 13 min)
- Restrict who can reach the VTY lines with access-class (5. Security Fundamentals, 12 min)
- Read an ACL as an ordered policy, not a list of intentions (5. Security Fundamentals, 11 min)
Commands
- show access-lists — Lists every access list with its entries in order, their sequence numbers and how many packets each has matched.
- show ip interface — Shows an interface’s Layer 3 settings, including which access list is applied inbound and outbound.
- ping — Sends ICMP echo requests to an address and reports how many replies came back and the round-trip times.
Related projects
- Departmental ACL Policy Design — Oakhurst Recruitment's data-protection officer has written a one-page policy: only the payroll PC may reach the HR server, everyone may reach the web. Turn that policy into named access lists, put them in the right place, and prove they do what it says.
- Home Office with an Isolated Guest Network — A two-person consultancy works from a converted garage. Clients visiting for meetings use the Wi-Fi, which today is the same flat network as the NAS holding every contract and the admin PC that runs the accounts. The router (OFFICE-GW) has its broadband handoff configured and nothing else; SW-1 is factory-fresh. Split the office into a CORP VLAN and a GUEST VLAN on one router-on-a-stick, hand out addresses by DHCP, get both onto the internet through the one public address, and stop guests reaching anything internal.
- Layered Security for a Trading Office: VLANs, Port Security and an Information Barrier — A small investment firm's compliance officer needs three controls in place before an audit: the trading desks and the back office on separate networks, trading-desk sockets that accept only the desk phone and PC, and an information barrier so the trading floor cannot reach back-office records. FIN-GW already routes both VLANs (router-on-a-stick) and translates to the internet; FIN-SW is factory-fresh. Build the switch side, lock the desk ports, and write the barrier as an access list on the gateway that also refuses any source address that does not belong on the trading VLAN.
- Hospital Segmentation and Resilience — St Aldric's Community Hospital has patient monitors that cannot be patched, nurses' workstations, corporate staff, guest Wi-Fi and building systems on one campus. Separate them hard, keep the monitors reachable only from clinical workstations, and make sure no single core failure takes a ward offline.