Rules are evaluated top down; the first match wins.
Implicit deny
Traffic matching no rule is dropped.
Standard and extended ACLs
Standard ACLs match only the source address; extended ACLs also match the protocol, destination and ports.
Numbered and named ACLs
Named ACLs are easier to read, and entries can be inserted or removed by sequence number.
Wildcard masks
Zero bits must match and one bits are ignored, so 0.0.0.255 matches a /24.
ACL placement
Extended ACLs go near the source of the traffic; standard ACLs go near its destination.
Sample question
Try it, then open the answer. Our questions are written by AI and checked independently before they are published.
MediumSingle choice
Refer to the exhibit. An engineer must permit host 10.10.20.77 to access server 10.10.50.100 on TCP port 443. Which sequence number must the engineer assign to the permit statement?
show access-lists SECURE_IN
Seq Action Protocol Source Destination Port Hits
10 permit tcp 10.10.20.0 0.0.0.63 10.10.50.0 0.0.0.255 eq 443 240
20 deny tcp 10.10.20.64 0.0.0.63 10.10.50.64 0.0.0.63 eq 443 58
30 deny ip 10.10.20.0 0.0.0.127 10.10.50.0 0.0.0.255 112
40 permit ip any any 1845
A. 25
B. 35
C. 15
D. 45
Show the answer
Answer: C. 15
Cisco IOS processes access lists sequentially from top to bottom and stops evaluation at the first matching entry. Sequence 10 matches source addresses 10.10.20.0 through 10.10.20.63, which does not include host 10.10.20.77. Sequence 20 matches source addresses 10.10.20.64 through 10.10.20.127 and destination addresses 10.10.50.64 through 10.10.50.127 on TCP port 443; both host 10.10.20.77 and server 10.10.50.100 fall inside these ranges, so sequence 20 is the first matching rule and denies the traffic. To permit this specific flow, the new permit statement must be placed before sequence 20, which requires assigning sequence number 15.