Access list on VTY questions

rakemrakem Posts: 800Member
Question:
You have written an access list to define who can and cannot telnet ot your router. Which of the following is the correct way to apply.


A
Router(confg)#line vty 0 4
Router(config-line)access-class 78 in

B
Router(confg)#line vty 0 4
Router(config-line)ip access-group 78 in


the answer is A. I thought it was B. Is it A because you are applying the ACL to the vty lines?

thanks.
CCIE# 38186
showroute.net

Comments

Sign In or Register to comment.