Computer Networks
[Day 10] 5. Named ACL
D
DITISS AdminNamed Access Control Lists (ACLs) make it easier to manage and modify router rules. They use descriptive names to identify specific rules, making it easier to troubleshoot network issues and improve network performance.
Commands:
-
Named ACL creation:
A(config)# ip access-list extended blockweb- This command creates an Extended ACL named .
blockweb - Extended ACLs allow filtering based on various factors like source/destination IP, protocols, port numbers, etc.
- This command creates an Extended ACL named
-
Permit rule for TCP traffic:
A(config-ext-nacl)# permit tcp any host 172.16.30.100 eq 80- This allows TCP traffic from any source to the specific destination IP address on port 80 (HTTP).
172.16.30.100
- This allows TCP traffic from any source to the specific destination IP address
-
Deny rule for all IP traffic:
A(config-ext-nacl)# deny ip any host 172.16.30.100- This blocks all other IP traffic (regardless of protocol) from reaching the same destination IP .
172.16.30.100
- This blocks all other IP traffic (regardless of protocol) from reaching the same destination IP
-
Permit all remaining traffic:
A(config-ext-nacl)# permit ip any any- This ensures that all remaining traffic is permitted after the previous deny rule. It prevents unintended traffic blocking.
-
Applying the ACL:
A(config-if)# ip access-group blockweb in- The ACL is applied inbound on the interface
blockweb, meaning it filters traffic entering the interface.g0/0
- The ACL
-
Summary: This Named ACL (
) is designed to allow HTTP traffic (port 80) to a server atblockwebwhile blocking all other traffic to that server, and permitting all other traffic. Named ACLs make it easier to manage and modify access rules by using descriptive names instead of numbers.172.16.30.100
Read Next
8/26/2026
[Day 10] 6. Monitoring commands
- `A#show access-list`: Displays all configured access control lists (both named and numbered) on the device. - `A#show access-list 120`: Shows the d...
8/26/2026
[Day 10] 7. ACL for Telnetting
Access Control Lists (ACLs) are used to permit or deny traffic based on IP addresses, protocols, or port numbers. In the case of **Telnet**, which use...