Soru

Zorluk: OrtaAccess Control Lists (Standard and Extended IPv4 ACLs)

A network administrator is creating an IPv4 extended named Access Control List (ACL) called `MGMT_FILTER` to enforce security policies on a router interface. The policy mandates the following conditions:
- Permit HTTP (8080) and SSH (2222) traffic originating from subnet 192.168.1.0/24192.168.1.0/24 destined to a specific management server at 10.0.5.1010.0.5.10.
- Deny all other IP traffic from subnet 192.168.1.0/24192.168.1.0/24 destined to subnet 10.0.5.0/2410.0.5.0/24.
- Allow all remaining IPv4 traffic traversing the interface to reach other destinations.

Which TWO statements or configuration requirements are necessary to correctly fulfill this policy? (Select TWO.)

  1. Place `permit tcp 192.168.1.0 0.0.0.255 host 10.0.5.10 eq 80` and `permit tcp 192.168.1.0 0.0.0.255 host 10.0.5.10 eq 22` prior to the subnet deny entry.Cevap
  2. Add an explicit `permit ip any any` entry at the end of the access list sequence.Cevap
  3. C
    Omit any statement at the end of the ACL because the default implicit clause automatically permits all unmatched IPv4 traffic.
  4. D
    Use the wildcard mask `0.0.0.0` for subnet 192.168.1.0/24192.168.1.0/24 and wildcard mask `0.0.0.255` for host 10.0.5.1010.0.5.10.

Cevap

The policy requires placing specific TCP permit statements for HTTP and SSH to host 10.0.5.10 before the broader subnet deny rule, and appending an explicit 'permit ip any any' at the end of the ACL to override the default implicit deny.
The solution requires two essential steps: placing specific permit statements for HTTP and SSH to host 10.0.5.10 ahead of the broader subnet deny rule (so specific allowed traffic is processed first), and adding an explicit 'permit ip any any' statement at the bottom of the ACL to override the invisible implicit 'deny ip any any' clause that would otherwise block all other traffic.

Adım Adım Çözüm

1
Evaluate Top-Down Sequential Processing
Specific host rules must be placed above general subnet rules.
Cisco IOS processes ACL entries sequentially. If the subnet deny rule for 10.0.5.0/24 were placed first, traffic to 10.0.5.10 on ports 80 and 22 would match the deny rule and be dropped before hitting the permit rules.
2
Account for Implicit Deny Behavior
An explicit 'permit ip any any' line must be added to the end of the ACL.
All Cisco ACLs end with an invisible implicit 'deny ip any any' statement. To permit traffic destined for other subnets outside 10.0.5.0/24, an explicit permit all rule is required at the end.

Anahtar Kavram

Access Control List (ACL) Evaluation Order and Implicit Deny Behavior
Bu soruyu puanla