Access list on VTY questions

in CCNA & CCENT
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.
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
showroute.net
Comments
-
forbesl Member Posts: 454
You guys studying for the CCNA really should visit cisco.com every once in a while....
Here's your answer