01-06-2014 04:04 AM - edited 03-07-2019 05:23 PM
Dear Sir,
Kindly send me How to change the password for my Cisco Devices:
Enable Secret & Telnet.
Thank You.
01-06-2014 04:48 AM
Michael,
For the enable secret
conf t
!
enable secret NEW-WORD
!
For telnet
conf t
!
line vty 0 4
password NEW-WORD
!
*** On switches you may have up to 16 vty sessions
line vty 0 15
password NEW-WORD
!
Regards,
Alex.
Please rate useful posts.
01-06-2014 05:43 AM
Alex has given a good response which assumes that the original poster has not enabled aaa new-model. If aaa new-medel has been enabled then the telnet password is no longer the password configured on the vty. The result of enabling aaa new-model is equivalent to configuring login local and now the IOS will look for user ID and password to authenticate a telnet session. We also need to consider the possibility that the device has been configured with aaa authentication login in which the telnet password is determined by the parameters specified in the aaa authentication login command. And we need to consider the possibility that aaa authentication enable might have been configured in which case its parameters determine what password is used to authenticate login to enable mode.
So we need some clarification from the original poster about how the device is configured.
HTH
Rick
06-01-2020 10:57 AM
If you have the 9300 series Cisco switches you on boot you have to press the mode button 3 times. basically toggle on the button 3 times.
Switch:
Add the following variables.
Switch: SWITCH_IGNORE_STARTUP_CFG=1
Then boot the switch.
Switch: boot
Once the switch has booted you can copy the saved config back into the running config.
Switch# copy start runn
Next set your password(s). Finally we want to remove the variables we set while in Boot Loader.
Switch# no system ignore startupconfig switch all
Save your new config.
Switch# copy runn start
For all the older models you must press and hold the button while the switch is booting up.
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