A network engineer configures an extended IPv4 access control list named `CORP_SEC` on a Cisco IOS router to regulate access from the branch network () to an internal web server (). The security requirement specifies that host in the IT subnet () must be allowed HTTPS access (TCP port 443) to the web server, while all other traffic from to the network must be denied. Additionally, non-matching traffic must reach external destinations freely.
The engineer enters the following configuration commands:
text
ip access-list extended CORP_SEC
10 deny ip 10.40.0.0 0.0.255.255 192.168.50.0 0.0.0.255
20 permit tcp host 10.40.4.15 host 192.168.50.10 eq 443
30 permit ip any any
!
interface GigabitEthernet0/0/1
ip access-group CORP_SEC in
During testing, HTTPS traffic from to is unexpectedly dropped. Which modification corrects the access control list logic to satisfy all requirements?
- Reorder the ACL so sequence 20 is processed before sequence 10, while leaving sequence 30 in place.Cevap
- BChange sequence 10 to `deny ip 10.40.0.0 0.0.3.255 192.168.50.0 0.0.0.255` to narrow the denied source subnet.
- CRemove sequence 30 so that the ACL relies on the default implicit deny clause for unmatched traffic.
- DApply `ip access-group CORP_SEC out` on interface GigabitEthernet0/0/1 instead of inbound.