Which ACL entry permits only hosts in 10.1.2.0/24 to reach server 10.9.9.9 on HTTPS?
- Aaccess-list 110 permit ip host 10.9.9.9 10.1.2.0 0.0.0.255
- Baccess-list 110 permit tcp any host 10.9.9.9 eq 80
- Caccess-list 10 permit 10.1.2.0 0.0.0.255
- Daccess-list 110 permit tcp 10.1.2.0 0.0.0.255 host 10.9.9.9 eq 443
Show answer and rationale
Correct: D. An extended ACL matches protocol, source, destination and port. The wildcard 0.0.0.255 covers the /24 source, 'host 10.9.9.9' is the destination and 'eq 443' is HTTPS. The implicit deny drops everything else.
- C — A standard ACL cannot match destination or port.
- A — Source and destination are reversed, and 'ip' allows all protocols.
- B — 'any' allows every source and 80 is HTTP.