200-301 · Question #244
Refer to the exhibit. What configuration on RTR-1 denies SSH access from PC-1 to any RTR-1 interface and allows all other traffic? A. B. C. D.
The correct answer is B. access-list 100 deny tcp host 172.16.1.33 any eq 22 access-list 100 permit ip any any line vty 0 15 access-class 100 in. Option B is correct because it uses port 22 (SSH) in the ACL to block PC-1's IP (172.16.1.33) from SSHing to any destination, and applies it with 'access-class 100 in' on the VTY lines (line vty 0 15). Applying the ACL to the VTY lines is the proper method to restrict management
Question
Exhibits
Options
- Aaccess-list 100 deny tcp host 172.16.1.33 any eq 22 access-list 100 permit ip any any interface GigabitEthernet0/0 ip access-group 100 in
- Baccess-list 100 deny tcp host 172.16.1.33 any eq 22 access-list 100 permit ip any any line vty 0 15 access-class 100 in
- Caccess-list 100 deny tcp host 172.16.1.33 any eq 23 access-list 100 permit ip any any interface GigabitEthernet0/0 ip access-group 100 in
- Daccess-list 100 deny tcp host 172.16.1.33 any eq 23 access-list 100 permit ip any any line vty 0 15 access-class 100 in
How the community answered
(30 responses)- A20% (6)
- B70% (21)
- C7% (2)
- D3% (1)
Explanation
Option B is correct because it uses port 22 (SSH) in the ACL to block PC-1's IP (172.16.1.33) from SSHing to any destination, and applies it with 'access-class 100 in' on the VTY lines (line vty 0 15). Applying the ACL to the VTY lines is the proper method to restrict management access (SSH/Telnet) to the router itself, regardless of which interface the traffic arrives on - ensuring all RTR-1 interfaces are protected.
Topics
Community Discussion
No community discussion yet for this question.









