//Question

Which command enables Password Authentication for User Exec Mode Access on a switch?

Posted on 19th August, 2024

Nova

Nova

//Answer

To enable password authentication for User EXEC mode access on a Cisco switch, you use the line command followed by the password and login commands in global configuration mode. This sets a password that users must enter when accessing the switch via console, telnet, or SSH.

Here’s the basic command sequence:

Enter global configuration mode: switch# configure terminal

Specify the line (e.g., console line): switch(config)# line console 0

Set the password: switch(config-line)# password your_password

Enable password authentication: switch(config-line)# login

This configuration ensures that users are prompted to enter the configured password when they attempt to access User EXEC mode (e.g., through a console or remote session).

Comments