12-12-2016 01:46 PM - edited 03-08-2019 08:32 AM
hello:
I configure a stack of 2960 xr switches with a username and password (using the secret password)
Username XXXXX privilege 15 secret
but forgot to enter the : enable secret xxxxx as part of the configuration
the problem is that I have console port enable to use the secret password for authentication. and so I cannot access the switch
how can I get access to the stack , if it asking for a password , yet I forgot to put in the enable secret password
how do I set the switch to factory default
thanks,
12-12-2016 04:05 PM
Hi,
You don't need to erase the config. Just use the link to do a password recovery:
http://www.rogerperkin.co.uk/cisco/switching/password-recovery-cisco-2960x/
HTH
12-13-2016 07:35 AM
Hello, Reza:
I try that option.. the problem is that there is no password configured
Username XXXXX privilege 15 secret
the above local username is using the enable secret to be able to log in :
the line consol is using login local
so when I connect via console its going to ask for the username / enable secret password in order to put me straight into priv mode.. but the problem is that I didn't configured the enable secret
so there is no password to authenticate against
12-13-2016 07:45 AM
if your doing a password recovery it should bypass all passwords secret and aaa , and then you reset the passwords when it breaks you back into running-config.
12-13-2016 07:58 AM
It doesn't take me into a running-config
when I do the flash_init
then the next option is to boot:
after the boot , it just reboots normaly and comes up asking for username/ password prompts
it doesn't ask me if i want to config the switch.
I followed the same procedure in the password recovery mechanism. and rename the config file.
thanks..
01-10-2017 11:06 AM
the problem that I was having was that when I did step 5 below, as indicated in the document it didn't work, but when I rename the file to config.old.text the procedure worked..instead of config.text.old
thanks,
Step 5 Rename the configuration file to config.text.old This file contains the password definition. Switch: rename flash: config.text flash: config.text.old
12-13-2016 07:50 AM
Hi,
The password recovery procedure should make you bypass all passwords. It should look as the device has no password/username, etc.. anymore.
HTH
12-13-2016 07:57 AM
Hi,
Have a look at this doc for 2960 xr series:
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960xr/software/15-0_2_EX1/system_manage/configuration_guide/b_sm_152ex1_2960-xr_cg/b_sm_152ex1_2960-xr_cg_chapter_0111.html#task_544E27675C2748079213063119729B7A
HTH
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