Difficulty: Easy
Correct Answer: access-list 110 permit tcp any host 1.1.1.1 eq smtp
Explanation:
Introduction / Context:
Extended ACLs can filter traffic based on Layer-3 and Layer-4 criteria such as protocol and port numbers. SMTP uses TCP port 25. To allow only SMTP traffic to a specific destination while denying other protocols by default, you write a precise extended ACL entry and apply it in the proper direction.
Given Data / Assumptions:
Concept / Approach:
The canonical extended ACL format is: access-list <100–199|2000–2699> {permit|deny} tcp
Step-by-Step Solution:
Verification / Alternative check:
After applying, verify counters with show access-lists 110 while generating SMTP test traffic and ensure other protocols are blocked by implicit deny if no other permits follow.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
access-list 110 permit tcp any host 1.1.1.1 eq smtp
Discussion & Comments