300-410 · Question #90
Refer to the exhibit. The ACL is placed on the inbound Gigabit 0/1 interface of the router. Host 192.168.10.10 cannot SSH to host 192.168.10.0 even though the flow is permitted. Which action…
The correct answer is A. Move the SSH entry to the beginning of the ACL. The SSH connection fails due to an incorrect ACL order where a general deny statement for port 22 precedes a more specific permit statement for SSH traffic.
Question
Exhibit
Options
- AMove the SSH entry to the beginning of the ACL
- BTemporarily move the permit ip any any line to the beginning of the ACL to see if the flow works
- CTemporarily remove the ACL from the interface to see if the flow works
- DRun the show access-list FILTER command to view if the SSH entry has any hit statistic associated with it
How the community answered
(68 responses)- A72% (49)
- B4% (3)
- C9% (6)
- D15% (10)
Why each option
The SSH connection fails due to an incorrect ACL order where a general deny statement for port 22 precedes a more specific permit statement for SSH traffic.
Access Control Lists are processed sequentially from top to bottom. The existing configuration has a broad `deny tcp 192.168.10.0 0.0.0.255 192.168.10.0 0.0.0.255 eq 22` statement which matches and drops all SSH traffic within the subnet before the specific `permit tcp host 192.168.10.10 host 192.168.10.0 eq ssh` statement can be evaluated. Moving the specific `permit` entry to the beginning of the ACL ensures it is processed first, allowing the desired SSH connection.
Moving `permit ip any any` to the beginning would open full access, violating the requirement to resolve the issue 'without opening full access to this router'.
Temporarily removing the ACL from the interface would open full access, which contradicts the requirement to resolve the issue 'without opening full access to this router'.
Running `show access-list FILTER` is a diagnostic step to verify hit counts, not an action that resolves the configuration issue itself.
Concept tested: ACL processing order
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/sec_data_acl/configuration/xe-16/sec-data-acl-xe-16-book/sec-acl-overview.html
Topics
Community Discussion
No community discussion yet for this question.
