11-24-2022 09:59 PM
Hello guys,
I'm facing an issue that, I'm unable to find config.text file to rename it.
Issue: I lose the credentials of the switch and I'm unable to login anymore.
below is dir flash result, can you help here please?
Thanks in advance
Solved! Go to Solution.
11-25-2022 08:49 AM
Hello @Abdel siddig ,
the configuration file is not saved in the flash but it is saved in nvram, this is why you cannot find it in flash.
You need to use a password recover procedure that is appropriate for your switch in order to change the config register so that it will ignore the configure file , reboot the switch make it to boot and then using the default credentials you will be able to get control of the switch configure a new enable secret.
The config register has to be set again to normal value at the end of the process
You can see the current value of the config register in the output of show version
Most of the times you need to keep pressed the more button at power on to make the switch to stop in rom monitor then you change the config register and you make it to boot the IOS / IOS XE image.
Read the following document from config guide for cat 3850
If you are not sure about your model feel free to post a show version in the thread
Hope to help
Giuseppe
11-24-2022 10:04 PM
11-24-2022 10:15 PM - edited 11-24-2022 10:16 PM
can anyone advise here is the config.text file to rename it?
11-25-2022 08:49 AM
Hello @Abdel siddig ,
the configuration file is not saved in the flash but it is saved in nvram, this is why you cannot find it in flash.
You need to use a password recover procedure that is appropriate for your switch in order to change the config register so that it will ignore the configure file , reboot the switch make it to boot and then using the default credentials you will be able to get control of the switch configure a new enable secret.
The config register has to be set again to normal value at the end of the process
You can see the current value of the config register in the output of show version
Most of the times you need to keep pressed the more button at power on to make the switch to stop in rom monitor then you change the config register and you make it to boot the IOS / IOS XE image.
Read the following document from config guide for cat 3850
If you are not sure about your model feel free to post a show version in the thread
Hope to help
Giuseppe
11-27-2022 10:33 PM
Hi Dear @Giuseppe Larosa
Thank you so much for the useful information. it's really helped me to address the issue I'm facing.
appreciated
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