Soru

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

A network administrator applies the following standard IPv4 access control list (ACL) to a VTY line on a Cisco IOS switch to secure remote management access:

text
ip access-list standard VTY_ACCESS
permit host 192.168.10.25
permit 192.168.20.0 0.0.0.255

A monitoring server with IPv4 address 192.168.10.50192.168.10.50 attempts to initiate an SSH session to the switch. Based on this configuration, what action does the switch take on this traffic, and why?

  1. A
    The traffic is permitted because unlisted packets default to an implicit permit in standard IPv4 ACLs.
  2. B
    The traffic is permitted because the host address 192.168.10.50 shares the /24 network prefix with host 192.168.10.25.
  3. The traffic is dropped because it does not match any explicit permit entry, triggering the implicit deny clause at the end of the ACL.Cevap
  4. D
    The traffic is dropped because standard access control lists process rules from bottom to top and evaluate wildcard masks in reverse order.

Cevap

The traffic is dropped because it does not match any explicit permit entry, triggering the implicit deny clause at the end of the ACL.
Cisco IOS Access Control Lists process statements in sequential order from top to bottom. The source IP address 192.168.10.50 does not match the first entry (which strictly permits only host 192.168.10.25) nor the second entry (which permits the 192.168.20.0/24 subnet). As a result, the packet reaches the end of the ACL where the invisible implicit 'deny any' statement blocks the connection attempt.

Adım Adım Çözüm

1
Evaluate line 1 of the ACL: 'permit host 192.168.10.25'
No match (192.168.10.50 does not equal 192.168.10.25)
The 'host' keyword implies a wildcard mask of 0.0.0.0, matching only that exact single IP address.
2
Evaluate line 2 of the ACL: 'permit 192.168.20.0 0.0.0.255'
No match (192.168.10.50 is in the 192.168.10.0/24 subnet, not 192.168.20.0/24)
The wildcard mask 0.0.0.255 requires the first three octets to match 192.168.20.
3
Evaluate the implicit final clause of the ACL
Match on implicit 'deny any' clause; traffic is dropped.
All IPv4 ACLs in Cisco IOS feature an invisible default statement at the end of the list that blocks all remaining packets.

Anahtar Kavram

Cisco IPv4 ACL sequential top-down evaluation and implicit deny behavior
Tahmini Süre:1m 15s
Bu soruyu puanla