Access Control Lists (ACL) Lab
Protect enterprise routers and internal LAN resources using Cisco IPv4 Access Control Lists. Practice Standard numbered ACLs for VTY remote access, Extended named ACLs for web and DNS isolation, and troubleshoot rule sequence order in hands-on Packet Tracer scenarios.
Interactive Lab Exercises
Complete each lab exercise in order. Your CLI configurations are evaluated against real-time scoring criteria.
Standard Numbered ACL for VTY Remote Access
Create Standard ACL 10 to restrict SSH and Telnet management access so only the designated administrator PC can connect to the router.
Scoring Checkpoints (Evaluated by Engine):
- Standard ACL 10 configured with permit statement for Admin-PC
- Implicit deny tested against unauthorized guest endpoints
- Access-class 10 applied in the inbound direction on line vty 0 4
- Remote administration verified from authorized management IP
Layer 2 Switchport Security & Rogue Device Defense
Lock down access switch S1 using port security on active employee ports, dynamic sticky MAC learning, violation frame dropping with alert notifications, and shut down all unused switchports to block rogue devices.
Scoring Checkpoints (Evaluated by Engine):
- Port security enabled on active workstation ports Fa0/1 and Fa0/2
- Maximum host limit set to 1 and sticky MAC learning configured
- Security violation mode set to restrict on both active switchports
- All unused interfaces (Fa0/3-24, Gi0/1-2) administratively shut down
- Sticky MAC registration verified through baseline communication
- Rogue device frame drop and violation counter verified
Enterprise DMZ & Inter-VLAN Extended Named ACL Filtering
Protect the Corporate Server Farm DMZ using Extended Named ACLs: PCVLAN for desktop web/DNS isolation with ping reply suppression, VLAN for mobile laptop FTP/web access, and SERVER for established session verification.
Scoring Checkpoints (Evaluated by Engine):
- VLAN sub-interfaces configured on Office and Main with 802.1Q encapsulation
- Extended Named ACL PCVLAN applied inbound on Gi0/0.10 filtering Web, DNS, and echo-replies
- Extended Named ACL VLAN applied inbound on Gi0/0.15 permitting FTP and Web management
- Extended Named ACL SERVER applied inbound on Gi0/0.20 verifying established TCP sessions
- VTY remote management restricted with standard ACL 100 on both routers
- Inter-VLAN reachability and policy drops verified across all 889 assessment checkpoints
Network security begins at the packet level. An Access Control List (ACL) is a sequential list of permit or deny statements applied to router interfaces or virtual terminal lines to filter network traffic based on packet headers.
Without ACLs, routers forward all valid packets between connected networks by default. Using Cisco ACLs allows security engineers to block unauthorized users, isolate sensitive database servers, and safeguard device administration.
Standard vs Extended ACL Comparison
Cisco IOS supports two main types of IPv4 access lists with distinct inspection capabilities:
| Type | Number Range | Inspection Criteria | Best Placement Rule |
|---|---|---|---|
| Standard ACL | 1-99 & 1300-1999 | Source IPv4 address only | Place as close to the destination as possible |
| Extended ACL | 100-199 & 2000-2699 | Source & destination IP, protocol (TCP/UDP/ICMP), and port numbers | Place as close to the source as possible |
Understanding the Golden Rules of ACLs
Keep these core operational rules in mind when designing and applying access lists:
- Top-Down Evaluation: The router evaluates access rules in strict sequential order from the top down. As soon as a packet matches a rule, the search stops immediately.
- Implicit Deny Any: Every access list ends with an invisible default rule:
deny ip any any. If a packet matches no statements, it is silently dropped. Always include at least one permit rule! - Inbound vs Outbound: An inbound ACL filters packets before they enter the routing engine. An outbound ACL filters packets after routing decisions are made, right before exiting the interface wire.
- One ACL Per Interface, Per Protocol, Per Direction: An interface can have at most one IPv4 ACL inbound and one IPv4 ACL outbound.
Configuring Standard ACL for VTY Management Protection
To secure router remote management, create a standard access list that permits only your admin station IP address, then attach it to the virtual terminal lines using the access-class command:
R1# configure terminal
R1(config)# access-list 10 remark Permit IT Administrator PC Only
R1(config)# access-list 10 permit host 192.168.10.10
! R1 - Apply ACL to Virtual Terminal (VTY) Lines
R1(config)# line vty 0 4
R1(config-line)# access-class 10 in
R1(config-line)# transport input ssh
R1(config-line)# exit
Configuring Extended Named ACL for Web & DNS Isolation
Extended named ACLs give you full control over ports and protocols. Here is how to permit HTTP, HTTPS, and DNS queries toward an isolated DMZ server:
R1(config)# ip access-list extended DMZ-FILTER
R1(config-ext-nacl)# permit tcp 192.168.1.0 0.0.0.255 host 172.16.50.10 eq 80
R1(config-ext-nacl)# permit tcp 192.168.1.0 0.0.0.255 host 172.16.50.10 eq 443
R1(config-ext-nacl)# permit udp 192.168.1.0 0.0.0.255 host 172.16.50.10 eq 53
R1(config-ext-nacl)# exit
! R1 - Attach Filter Inbound on LAN Interface
R1(config)# interface GigabitEthernet 0/0/0
R1(config-if)# ip access-group DMZ-FILTER in
R1(config-if)# exit
Verification and Packet Matching Inspection
Verify that packets are hitting your rules by running:
Extended IP access list DMZ-FILTER
10 permit tcp 192.168.1.0 0.0.0.255 host 172.16.50.10 eq www (42 matches)
20 permit tcp 192.168.1.0 0.0.0.255 host 172.16.50.10 eq 443 (18 matches)
30 permit udp 192.168.1.0 0.0.0.255 host 172.16.50.10 eq domain (9 matches)
