Difficulty: Medium
Correct Answer: access-list 100 permit tcp any 196.15.7.0 0.0.0.255 eq www
Explanation:
Introduction / Context:
To allow only HTTP into a subnet, create a single extended ACL line that permits TCP port 80 to the destination network and rely on the implicit deny to block everything else. Extended ACLs provide the required Layer-4 match capability via port numbers (such as www for 80).
Given Data / Assumptions:
Concept / Approach:
The correct extended ACL entry is: access-list 100 permit tcp any 196.15.7.0 0.0.0.255 eq www. Because an ACL ends with an implicit deny ip any any, other protocols (HTTPS, FTP, ICMP, etc.) will be blocked unless explicitly permitted by additional lines.
Step-by-Step Solution:
Verification / Alternative check:
Generate HTTP traffic to a host in the subnet and observe show access-lists 100 counters increment. Try non-HTTP traffic to verify it is blocked by implicit deny.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
access-list 100 permit tcp any 196.15.7.0 0.0.0.255 eq www
Discussion & Comments