cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6968
Views
9
Helpful
6
Replies

loosing configuration after switch 9200 reloading

Dears

Please check below , in my switch 9200 is loosing configuration once restart the switch , this issue started only after upgraded ios. 

 

 

FF-SW1#show boot
---------------------------
Switch 1
---------------------------
Current Boot Variables:
BOOT variable = flash:cat9k_lite_iosxe.17.06.03.SPA.bin;

Boot Variables on next reload:
BOOT variable = flash:cat9k_lite_iosxe.17.06.03.SPA.bin;
Manual Boot = no
Enable Break = no
Boot Mode = DEVICE
iPXE Timeout = 0
FF-SW1#
FF-SW1#
FF-SW1#
FF-SW1#
FF-SW1#show
FF-SW1#show di
FF-SW1#show dir
FF-SW1#show dir
^
% Invalid input detected at '^' marker.

FF-SW1#dis
FF-SW1#dir
FF-SW1#dir fl
FF-SW1#dir flash:
Directory of flash:/

40492 -rw- 2097152 Jul 3 2022 06:26:13 +00:00 nvram_config_bkup
40491 -rw- 2097152 Jul 3 2022 06:26:13 +00:00 nvram_config
72865 drwx 4096 Jul 2 2022 15:20:04 +00:00 .installer
40488 -rw- 15524 Jul 2 2022 15:19:28 +00:00 rdope_out.txt
40502 -rw- 0 Jul 2 2022 15:19:28 +00:00 dope_hist
40489 -rw- 89 Jul 2 2022 15:19:25 +00:00 rdope.log
64770 drwx 4096 Jul 2 2022 15:19:21 +00:00 license_evlog
40493 -rw- 10240 Jul 2 2022 15:19:19 +00:00 vlan.dat
89057 drwx 4096 Jul 2 2022 15:19:12 +00:00 .prst_sync
40486 -rw- 134899 Jul 2 2022 15:18:18 +00:00 memleak.tcl
40482 -rw- 2148 Jul 2 2022 15:18:18 +00:00 boothelper.log
34 drwx 4096 Jul 2 2022 15:18:15 +00:00 dc_profile_dir
40483 -rw- 851 Jul 2 2022 15:17:52 +00:00 bootloader_evt_handle.log
40490 -rw- 2148 Jul 2 2022 14:18:53 +00:00 boothelper.log.old
40494 -rw- 526556147 Jul 2 2022 13:49:28 +00:00 cat9k_lite_iosxe.17.06.03.SPA.bin
40501 -rw- 5183 Jul 2 2022 12:41:26 +00:00 running-config
40499 -rw- 1261 Jun 25 2022 12:13:20 +00:00 Baltimore.ca
40498 -rw- 1606 Jun 25 2022 12:13:20 +00:00 StarfieldServicesRootCA.ca
40497 -rw- 1338 Jun 25 2022 12:13:20 +00:00 DigiCertGlobalRootCA.ca
40495 drwx 4096 Jun 25 2022 12:13:17 +00:00 .rommon_sync
40485 drwx 4096 Jun 25 2022 12:13:17 +00:00 fp_cc_crash
72876 drwx 4096 Jun 23 2022 15:25:12 +00:00 pnp-tech
80961 drwx 4096 Oct 16 2021 12:13:33 +00:00 .rollback_timer
72870 drwx 4096 Oct 16 2021 12:03:44 +00:00 .dbpersist
72868 drwx 4096 Oct 16 2021 12:01:02 +00:00 core
48580 drwx 4096 Oct 16 2021 12:01:00 +00:00 guest-share
8099 drwx 4096 Oct 16 2021 12:00:41 +00:00 pnp-info
56673 drwx 4096 Oct 16 2021 12:00:41 +00:00 onep
48577 drwx 4096 Oct 16 2021 11:59:34 +00:00 Tbot
36 drwx 4096 Oct 16 2021 11:59:28 +00:00 sys_report
11 drwx 4096 Oct 16 2021 11:59:26 +00:00 tech_support
105249 drwx 4096 Oct 16 2021 11:59:26 +00:00 ss_disc
40484 -rw- 5242880 Oct 16 2021 11:59:26 +00:00 ssd

1956839424 bytes total (1256128512 bytes free)
FF-SW1#

6 Replies 6

Leo Laohoo
Hall of Fame
Hall of Fame

Post the complete output to the command "sh rom-variable".

this command is not working sh rom-variable" in cisco 9200 series

 

 


---------------------------
Switch 1
---------------------------
Current Boot Variables:
BOOT variable = flash:cat9k_lite_iosxe.17.06.03.SPA.bin;

Boot Variables on next reload:
BOOT variable = flash:cat9k_lite_iosxe.17.06.03.SPA.bin;
Manual Boot = no
Enable Break = no
Boot Mode = DEVICE
iPXE Timeout = 0
FF-SW1#

 

How about this command:  sh romvar

marce1000
Hall of Fame
Hall of Fame

 

 - Verify these settings  https://www.cisco.com/c/en/us/support/docs/switches/catalyst-9300-series-switches/216850-configuration-register-equivalent-clis-i.html  , especially make sure that Ignore startup , is not set.

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

lagerplane
Level 1
Level 1

It seems your Switch has the SWITCH_IGNORE_STARTUP_CFG ROMMON variable set to 1.

As @Leo Laohoo and @marce1000 were about to mention, the show romvar command should show you that variable set as SWITCH_IGNORE_STARTUP_CFG=1.

You want that variable set to 0, SWITCH_IGNORE_STARTUP_CFG=0.

You can toggle the variable status with the following CLI, then reload your Switch to confirm it is able to boot with the startup-config.

Switch#
Switch# configure terminal
Switch(config)#
Switch(config)# system ignore startupconfig switch all
Switch(config)#
Switch(config)# no system ignore startupconfig switch all
Switch(config)#
Switch(config)# end
Switch#
Switch# write memory

Switch#
Switch# reload

 

I checked for this and my config did *NOT* have that command "system ignore startupconfig switch all" set, but I went ahead anb set it and then no'd it out and saved the config and reloaded and this worked for me.  I'm not sure why the var wasn't set  or the config line wasn't there showing it. (I used "show run all | in ignore"), but this fixed my issue!  Thanks to all!!!!