Question

Difficulty: MediumAccess Control Lists (Standard and Extended IPv4 ACLs)

A network security policy requires allowing database traffic to a server while restricting other communications. An engineer applies the following named extended IPv4 Access Control List (ACL) inbound on interface GigabitEthernet0/0/1 of a Cisco router:

text
ip access-list extended RESTRICT_DB
permit tcp 10.20.10.0 0.0.0.255 host 10.20.30.50 eq 1433
deny ip 10.20.10.0 0.0.0.255 host 10.20.30.50

Users on subnet 10.20.10.0/2410.20.10.0/24 report that they cannot reach a web server located at 10.20.30.8010.20.30.80 over HTTP (TCP port 80). Which statement explains why the router drops the HTTP traffic destined for 10.20.30.8010.20.30.80?

  1. The unwritten implicit deny any statement at the end of the ACL drops all unpermitted IPv4 traffic.Answer
  2. B
    The second rule contains a wildcard mask of 0.0.0.255 that blocks access to the entire 10.20.30.0/24 destination subnet.
  3. C
    The router processes the deny statement before evaluating the permit statement due to named ACL priority rules.
  4. D
    Extended ACLs applied inbound on an interface are only capable of filtering traffic destined for hosts on that local interface.

Answer

The unwritten implicit deny any statement at the end of the ACL drops all unpermitted IPv4 traffic.
Cisco IOS IPv4 Access Control Lists evaluate rules sequentially from top to bottom. If a packet does not match any explicit permit or deny statement in the list, it hits the invisible implicit deny statement (`deny ip any any`) at the end of the ACL and is dropped. Since HTTP traffic to 10.20.30.8010.20.30.80 matches neither line 1 (which targets 10.20.30.50:143310.20.30.50:1433) nor line 2 (which targets host 10.20.30.5010.20.30.50), it is dropped by the implicit deny.

Step-by-Step Solution

1
Analyze the sequential processing of the ACL for traffic destined to 10.20.30.80 on TCP port 80.
Line 1 matches destination 10.20.30.50 on port 1433 (No match). Line 2 matches destination 10.20.30.50 (No match).
Traffic to host 10.20.30.80 port 80 does not satisfy the criteria of either explicit rule.
2
Determine the default behavior when a packet reaches the end of an ACL without matching any explicit entry.
The packet encounters the implicit 'deny ip any any' rule.
All Cisco IOS IPv4 ACLs have an invisible final statement that drops any packet not explicitly permitted.

Key Concept

ACL Sequential Evaluation and Implicit Deny Any
Rate this question