cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
174
Views
5
Helpful
5
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#

5 Replies 5

Leo Laohoo
VIP Community Legend VIP Community Legend
VIP Community Legend

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
VIP Mentor VIP Mentor
VIP Mentor

 

 - 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.

lagerplane
Beginner
Beginner

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

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers