Difficulty: Easy
Correct Answer: access-list 1 deny 172.16.10.1 0.0.0.0
Explanation:
Introduction / Context:Standard IPv4 ACLs (numbered 1–99 and 1300–1999) filter traffic based solely on the source IPv4 address. They do not check destination addresses, ports, or protocols. Identifying valid syntax is essential when writing quick filters at the edge or near a destination interface.
Given Data / Assumptions:
Concept / Approach:
A valid standard ACL entry looks like: access-list <1–99|1300–1999> {permit|deny}
Step-by-Step Solution:
Check the ACL number range to ensure it is standard, not extended.Verify only a source address (and wildcard) is used.Confirm there are no protocol or port qualifiers.Select the line that meets all three conditions.Verification / Alternative check:
Replacing 0.0.0.0 with the keyword host yields the same match: access-list 1 deny host 172.16.10.1.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
access-list 1 deny 172.16.10.1 0.0.0.0
Discussion & Comments