Let’s Get Certified
Module 43 / 54 · Security fundamentals

Evaluate an access list in order

An inbound ACL first permits TCP from the training subnet to one server on port 443, then denies other traffic from that subnet. A training client sends HTTPS to that server. Which entry applies?

Evaluate an access list in order

The ACL lesson evaluates successive entries against a packet until one matches.

Work through the decision

An inbound ACL first permits TCP from the training subnet to one server on port 443, then denies other traffic from that subnet. A training client sends HTTPS to that server. Which entry applies?

Check your reasoning

Evaluate from the top and stop at the first matching entry. Verify both endpoints, the protocol, port, interface and direction. The later broader deny does not override the earlier match.

Jeremy’s IT Lab · 8:39 · Read the synchronized transcript

Interpret the evidence

First matching entry
ACL evaluation stops on the first statement whose conditions all match.
Implicit deny
Traffic reaching the end of an ACL with no match is denied.
Extended ACL
Can match protocol, source and destination addresses and TCP or UDP ports.
Standard ACL
Matches source IPv4 address using an address and optional wildcard mask.

Practice the guide skills

  1. Evaluate inbound and outbound traffic against a written ACL using source, destination, protocol and destination port. Apply wildcard masks bit by bit.
  2. Check interface and direction, entry order and match counters. Predict the implicit action for one unmatched packet.

Official objectives for this lesson

Trace the first match

Read this proposed inbound ACL for a practice user VLAN and evaluate each packet against the entries in order.

ip access-list extended TRAINING-IN
 10 permit tcp 192.0.2.0 0.0.0.255 host 198.51.100.8 eq 443
 20 deny ip any any

A packet from 192.0.2.7 to the server on TCP/443 matches line 10. A packet to TCP/22 continues to line 20. Use show ip access-lists and show ip interface to verify counters, attachment and direction.

Related lesson · Write an access policy that can be verified from each zone

Knowledge check

Evaluate an access list in order quiz

Answer 3 questions. Check each answer for an explanation.