What is an IPv4 access control list (ACL)?
An IPv4 ACL is an ordered set of rules a router or Layer 3 switch checks to permit or deny packets. It takes effect only after being applied to an interface or another ACL-using feature.
Study 1 Access Control Lists with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.
What is an IPv4 access control list (ACL)?
An IPv4 ACL is an ordered set of rules a router or Layer 3 switch checks to permit or deny packets. It takes effect only after being applied to an interface or another ACL-using feature.
What does a standard ACL match?
A standard ACL matches a packet’s source IPv4 address.
What can an extended ACL match beyond source address?
An extended ACL can match protocol, source and destination addresses, and TCP or UDP port numbers.
What do 0 and 1 bits mean in an ACL wildcard mask?
In a wildcard mask, each 0 bit must match the corresponding address bit; each 1 bit may vary.
What do host and any mean in ACL address matching?
host 192.0.2.25 matches one address, equivalently 192.0.2.25 0.0.0.0. The keyword any is equivalent to 0.0.0.0 255.255.255.255.
How does an ACL choose which matching rule to apply?
The device checks entries from top to bottom. The first matching entry determines the packet’s result; later entries are not checked.
What happens when a packet matches no ACL entry?
If no ACL entry matches, an implicit deny any at the end denies the packet.
When are inbound and outbound ACLs checked?
Inbound ACLs check packets as they arrive, before routing. Outbound ACLs check packets as they leave, after routing.
In the example TCP ACL rule, what does eq 443 match?
In an extended TCP rule, eq 80 or eq 443 matches the destination port when it follows the destination address.
What should you verify when troubleshooting an ACL?
Inspect rules, interface application, direction, and match counters with show access-lists, show ip access-lists, show ip interface, and show running-config. Test both permitted and denied traffic.
What address range behavior does wildcard 0.0.0.255 represent?
The wildcard mask 0.0.0.255 allows the final octet to vary, so the first three octets must match the specified address.
How do you calculate a wildcard mask from a subnet mask?
Subtract the subnet mask from 255.255.255.255 to calculate its wildcard mask.