An ACL is applied inbound on a router interface. The ACL consists of a single entry:
access-list 210 permit tcp 172.18.20.0 0.0.0.31 172.18.20.32 0.0.0.31 eq ftp .
If a packet with a source address of 172.18.20.14, a destination address of 172.18.20.40, and a protocol of 21 is received on the interface, is the packet permitted or denied?
- permitted
- denied
Explanation & Hint:
Access Control Lists (ACLs) operate by matching packet information against entries in the ACL. If a packet matches an entry, the corresponding action (permit or deny) is taken. If no match is found, the implicit default is to deny the packet. The ACL entry provided is as follows:
This entry specifies the following conditions for permitting traffic:
The packet in question has:
Since the packet matches all the specified conditions in the ACL entry, it is permitted. |