11-06-2018 03:46 AM - edited 03-08-2019 04:33 PM
good day.
i have a Catalyst 3650 that i was going to delete the config file from. and for som reason it was set up previously with the wrong enable password. so i went to ROMMON to delete the config file from there, but then i noticed that flash: was in read only mode and i cant delete the file because of it. so my question is. is there a way to change it to read write, and if so, how? or is there another way i can delete the config file?
switch: delete flash:nvram_config Are you sure you want to delete "flash:nvram_config" (y/n)?y File "flash:nvram_config" not deleted -- read only file system
switch: dir List of filesystems currently registered: xmodem[0]: (read-only) null[1]: (read-write) bs[3]: (read-only) flash[18]: (read-only) tftp[19]: (read-write)
Solved! Go to Solution.
11-06-2018 04:59 AM - edited 11-06-2018 05:16 AM
Hi,
Go to ROMMON and give a try with below commands
switch: flash_init
switch: load_helper
switch: set BYPASS_STARTUP_CONFIG=1
after entering boot command you will get the initial config dialog and do the basic configuration and save. Then reload the switch and go to ROMMON and change the variable.
set BYPASS_STARTUP_CONFIG=0
If the above command didnt works try with the below
switch: set SWITCH_IGNORE_STARTUP_CFG=1
switch: set SWITCH_IGNORE_STARTUP_CFG=0
HTH
Abheesh
11-06-2018 04:59 AM - edited 11-06-2018 05:16 AM
Hi,
Go to ROMMON and give a try with below commands
switch: flash_init
switch: load_helper
switch: set BYPASS_STARTUP_CONFIG=1
after entering boot command you will get the initial config dialog and do the basic configuration and save. Then reload the switch and go to ROMMON and change the variable.
set BYPASS_STARTUP_CONFIG=0
If the above command didnt works try with the below
switch: set SWITCH_IGNORE_STARTUP_CFG=1
switch: set SWITCH_IGNORE_STARTUP_CFG=0
HTH
Abheesh
11-06-2018 11:42 PM
12-25-2018 04:12 AM
08-12-2019 06:52 AM
Sorry for the almost year later reply. In hopes that any one else come here looking for why the '=' doesn't work.
Use this command first...
set SWITCH_IGNORE_STARTUP_CFG then use
set SWITCH_IGNORE_STARTUP_CFG 1
The first command adds it to the Set Directory and the second command adds the value. You may be able to get away with doing it together in the same command but I separate them for practical use.
09-04-2019 04:21 AM
I have same Problem .But when i try to enter flash_init command it displays the following :
monitor: command "flash_init" not found.
09-28-2020 09:10 PM
Hi Frds,
i have 3650 in which i am not able to get the login screen on console and also via Telnet. see below logs
C3650 con0 is now available
Press RETURN to get started.
% Authentication failed
% Authentication failed
% Authentication failed
2 - when i am trying to do Password recovery Switch boots in READ ONLY MODE and Load_HELPER is not available.
Booting...
Interface GE 0 link down***ERROR: PHY link is down
The system has been interrupted prior to initializing some
filesystems and loading the operating system software.
Console will be reset to 9600 baud rate, need to change terminal setting first.
The following commands will initialize the remaining filesystems,
and finish loading the operating system software:
flash_init
boot
switch:
3 ---- there is no Config.text file instead nvram_config file is available.
switch: dir flash:
Directory of flash:/
15489 drwx 4096 .
2 drwx 4096 ..
15490 -rw- 81992100 cat3k_caa-base.SPA.03.07.04E.pkg
15491 -rw- 5667516 cat3k_caa-drivers.SPA.03.07.04E.pkg
15492 -rw- 36656136 cat3k_caa-infra.SPA.03.07.04E.pkg
15493 -rw- 46349632 cat3k_caa-iosd-universalk9.SPA.152-3.E4.pkg
15494 -rw- 28904332 cat3k_caa-platform.SPA.03.07.04E.pkg
15495 -rw- 128582464 cat3k_caa-wcm.SPA.10.3.141.0.pkg
15496 -rw- 1236 packages.conf
46465 drwx 4096 virtual-instance
54209 drwx 4096 vman_fdb
69697 drwx 4096 dc_profile_dir
15497 -rw- 2097152 nvram_config
69699 drwx 4096 wnweb_store
15498 -rw- 1600 vlan.dat
1288658944 bytes available (359235584 bytes used)
switch:
4 ---- cannot delete NVram_config.
please let me know how to do the PAssword recovery in this CASE.
12-25-2018 04:10 AM
12-25-2018 04:24 AM
12-25-2018 04:42 AM
12-25-2018 04:45 AM
12-25-2018 04:47 AM
12-25-2018 04:50 AM
12-25-2018 04:51 AM
12-25-2018 04:56 AM
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