I'm new CCNA learner here. If I have the following access list:

access-list 101 permit ip any

access-list 101 deny tcp host eq 443 any

access-list 101 deny tcp host eq 25 any

Am I correct to say the last 2 entries will be ignored since the top entry would permit all source in the subnet?

I'm trying to follow the article : https://www.petenetlive.com/KB/Article/0000533

The article instructed to add deny entries after there's already existing permit entry that would allow all the hosts. Can somebody shade light on this? thanks!

  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide and accept your own answer.
    – Ron Maupin
    Feb 19, 2018 at 20:43

1 Answer 1


The access list is evaluated in order, and it is exited on the first match.

In your particular example, if the address being evaluated is in the range, it will match the first entry, and the ACL evaluation will stop, so that the following ACL entries are not considered.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.