cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5226
Views
0
Helpful
4
Replies

Cisco Switch not promote login username and password

yaredo70
Level 1
Level 1

Cisco Switch does not prompt login username and password when connecting console cable. it directly goes privilege mode. 

 

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame
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.

 

https://community.cisco.com/t5/networking-documents/configuring-telnet-console-and-aux-port-passwords/ta-p/3126628

https://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/ios-software-releases-110/45843-configpasswords.html

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

 

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

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

 

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Martin L
VIP
VIP

 

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 **

 

Review Cisco Networking for a $25 gift card