A network engineer applies the following IPv4 extended named Access Control List (ACL) inbound on interface GigabitEthernet0/0 of a Cisco IOS router:
text
ip access-list extended SERVER_ACCESS
permit tcp 172.16.10.0 0.0.0.255 host 192.168.50.10 eq 443
permit tcp 172.16.10.0 0.0.0.255 host 192.168.50.10 eq 80
A workstation with IPv4 address 172.16.10.45 attempts to establish an SSH management session (TCP port 22) to the server at 192.168.50.10. Which result describes how the router processes this SSH traffic?
- The router drops the traffic because it fails to match any explicit permit entry and is caught by the implicit deny any clause at the end of the ACL.Cevap
- BThe router permits the traffic because extended ACLs implicitly permit all unlisted IP traffic unless an explicit deny statement is added.
- CThe router permits the traffic because line 10 permits all TCP protocol traffic originating from subnet 172.16.10.0/24 regardless of destination port.
- DThe router drops the traffic because IPv4 extended named ACLs cannot filter traffic by specific L4 port numbers when applied inbound.
Cevap
The router drops the traffic because it fails to match any explicit permit entry and is caught by the implicit deny any clause at the end of the ACL.
Cisco IPv4 extended ACLs process rules sequentially from top to bottom. The ACL contains explicit permit entries for TCP port 443 (HTTPS) and TCP port 80 (HTTP). SSH traffic uses TCP port 22, which does not match either line. Because Cisco IOS automatically appends an unwritten implicit deny rule (deny ip any any) to the bottom of every ACL, any packet that reaches the end of the list without matching an explicit permit rule is dropped.
Adım Adım Çözüm
Anahtar Kavram
Sequential evaluation and implicit deny behavior in Cisco IPv4 Extended ACLs
Tahmini Süre:1m 15s