CompTIA Network+ Exam Review

Category - Networking

You wish to limit telnet access into your Cisco router to only a single host. In order to accomplish this, access list 1 has been written to allow host 172.16.1.224 access to the router vty lines. What command would assign this access list to the Virtual Terminal Lines?
  1. router(config-line)# ip access-group 1 in
  2. router(config-line)# ip access-list 1 in
  3. router(config-line)# access-class 1 in
  4. router(config-line)# access-line 1 in
Explanation
Answer - C - To assign the access list to the Virtual Terminal Lines, you must use the router (config-line) # access-class 1 in.

Key Takeaway: To restrict incoming and outgoing connections between a particular vty and the addresses in an access list, use the access-class command in line configuration mode.
Was this helpful? Upvote!
Login to contribute your own answer or details

Top questions

Related questions

Most popular on PracticeQuiz