IOS and Security Device Manager - Technical MCQs

Q1:

Which of the following commands will configure all the default VTY ports on a router?

A Router#line vty 0 4

B Router(config)#line vty 0 4

C Router(config-if)#line console 0

D Router(config)#line vty all

ANS:B - Router(config)#line vty 0 4

From global configuration mode, use the line vty 0 4 command to set all five default VTY lines.