An administrator has configured an access list on R1 to allow SSH administrative access from host 172.16.1.100. Which command correctly applies the ACL?

ccna2-answer
ccna2-exam

#1

An administrator has configured an access list on R1 to allow SSH administrative access from host 172.16.1.100. Which command correctly applies the ACL?

  1. R1(config-if)# ip access-group 1 in
  2. R1(config-if)# ip access-group 1 out
  3. R1(config-line)# access-class 1 in*
  4. R1(config-line)# access-class 1 out

Explanation: Administrative access over SSH to the router is through the vty lines. Therefore, the ACL must be applied to those lines in the inbound direction. This is accomplished by entering line configuration mode and issuing the access-class command.