11-30-2021 11:23 AM
Cisco Switch does not prompt login username and password when connecting console cable. it directly goes privilege mode.
11-30-2021 11:46 AM
Cisco Switch does not prompt login username and password when connecting console cable. it directly goes privilege mode.
Looks like you have not setup any config, follow below guide for setting up username and password.
12-01-2021 06:40 AM
I have set username and password for login and enable secret password, now it prompts username and password at the initial login but it just jumps to privilege mode before it asks me enable password.
Thanks,
Yared
11-30-2021 12:45 PM
Hello
How have you enabled local access, below is example of local AAA which will encompass vty and console access by default
Example AAA local authentication
conf t
username <username> privilege 15 algorithm-type scrypt secret <password>
aaa new-model
aaa authentication login default local
aaa authorization console
aaa authorization exec default local if-authenticated
11-30-2021 03:03 PM
Console is not only your initial "out-of-box" access to set up a device but also is your "emergency" backup access if you got locked out remotely (no telnet/ssh access). To gain access to Console you must be present locally at a device (unless u use fancy telnet server) so cisco put no security configs on almost all out-of-box devices. So, maybe not a good idea to set up password to brand new device. anyway, you can change those defaults settings in many ways.
Issue show run and look at Console section and username line that says your name; You can have privilege level at 2 places; if you have privilege level 15 set up, you will go straight to that privilege mode. this is good in the Home lab settings.
To add Password asking at Console access, you need 2 commands. First add following line: username Martin password cisco then change at console line level where you add login local Be careful now, test it before saving changes (write or save run start) so u can reboot device in case it does not work.
Final configs should look like:
username Martin password 0 cisco
line con 0
login local
Regards, ML
**Please Rate All Helpful Responses **
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide