ā08-21-2015 03:23 AM - edited ā03-08-2019 01:27 AM
Hello all, hopefully someone knows exactly what this is. I have a couple of Catalyst 3650-48 switches implemented in our network and so far they have been great. After a power outage at one of our facilities, when everything came back up, the switch didn't...exactly. Yes it booted back up, but it dropped its config. As if none of it was ever there. I went out to it and reconfigured it on site and everything is working fine, but I remembered seeing this before and didn't think it was an issue until it "lost" its config, but when doing a wr mem or copy-run-start, it will say Building Configuration and then it says compressed configuration etc.
Is this actually saving the running config as the startup config? Is there an way to stop this whole compressing thing and just have it save like it is supposed to?
I appreciate any help. I do not want to have to keep reconfiguring switches every time there is a power blip.
Solved! Go to Solution.
ā08-21-2015 03:45 AM
if its compressing the config it may have this configured below
You could do a no in front of it if you don't want to do it doing this but I have never had a problem so far using it , in some platforms 4500s I think you cant disable it its on by default
I have seen power outages wipe switches before though quite a few times and routers
no service compress-config
did you check your nvram was that wiped?
Was the config definitely saved and you could try reproduce it by pulling the plug see if it happens again incase there's an issue with your nvram hardware
ā08-21-2015 03:45 AM
if its compressing the config it may have this configured below
You could do a no in front of it if you don't want to do it doing this but I have never had a problem so far using it , in some platforms 4500s I think you cant disable it its on by default
I have seen power outages wipe switches before though quite a few times and routers
no service compress-config
did you check your nvram was that wiped?
Was the config definitely saved and you could try reproduce it by pulling the plug see if it happens again incase there's an issue with your nvram hardware
ā08-21-2015 05:55 AM
edit: Also if I turn off the service, will I get the normal save dialogue?
I'll be going back out there today to see what happens.
I'm going to back it up before hand just to be sure.
ā12-03-2016 04:32 PM
I also have the same problem todat ,please tell me how to solve it as soon as.
thank you very much.
ā08-24-2015 05:29 AM
I have another question that perhaps you could help with as well. On the same switch it appears that the configuration is in fact saving, but if you reload the switch or turn it off and on, when it boots back up it doesn't pull the configuration back from where it is saved. Even after using wr mem or copy run start, the switch reloads and asks if I want to enter initial configuration.
ā08-24-2015 05:33 AM
Is the startup config saving to nvram when you save it using copy run start? Does it shpow the startup file
Core#dir nvram:
Directory of nvram:/
490 -rw- 14951 <no date> startup-config
491 ---- 5895 <no date> private-config
1 ---- 35 <no date> persistent-data
2 -rw- 0 <no date> ifIndex-table
3 -rw- 594 <no date> IOS-Self-Sig#3838.cer
524288 bytes total (500318 bytes free)
ā08-24-2015 05:35 AM
Here's what I get:
Directory of nvram:/
2049 -rw- 19137 <no date> startup-config
2050 ---- 5475 <no date> private-config
2051 -rw- 19137 <no date> underlying-config
1 ---- 0 <no date> rf_cold_starts
2 -rw- 1079 <no date> cpu_trap.eci
4 -rw- 1072 <no date> cpu_threshold_trap.eci
6 -rw- 886 <no date> memory_trap.eci
7 -rw- 858 <no date> rf_trap.eci
8 -rw- 3238 <no date> wireless_trap.eci
12 -rw- 263 <no date> ma_trap_keyword
13 ---- 105 <no date> persistent-data
14 -rw- 576 <no date> IOS-Self-Sig#1.cer
15 -rw- 0 <no date> ifIndex-table
2097152 bytes total (2057128 bytes free)
ā08-24-2015 05:47 AM
Try these commands see if the startup config is showing correctly
more nvram:startup-config or show startup-config
What does show boot provide does it suggest the config file will be booted like below
Is your configuration register set correctly in show version?
Access1#show boot
BOOT path-list : flash:/c2960s-universalk9-mz.122-55.SE8/c2960s-universalk9-mz.122-55.SE8.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : no
Manual Boot : no
HELPER path-list :
Auto upgrade : yes
ā08-24-2015 05:51 AM
More nvram:startup-config does show the correct configuration however,
show boot:
---------------------------
Switch 1
---------------------------
Current Boot Variables:
BOOT variable does not exist
Boot Variables on next reload:
BOOT variable = flash:packages.conf
Allow Dev Key = yes
Manual Boot = no
Enable Break = no
ā08-24-2015 05:58 AM
set the boot statement in conf t mode boot system flash:........
make sure your register is set to 0x2102
and save it
if its still the same after that there may be an issue with the hardware reading nvram and picking up the startup file during the boot process
ā08-24-2015 06:02 AM
You will have to forgive my ignorance on this subject, but do I need to specify something where the ellipses are?
And could you direct me on how to set my register?
(again, please forgive me for not knowing this, kind of got stuck doing something a bit over my head).
Thank you in advance.
ā08-24-2015 06:09 AM
Sorry not sure what you mean by elipses ? you just need to set which ios the switch picks while booting , if none specified it will pick the last one but its best to have it specified when possible and see it when you do a show boot
the config register is showing in the-- show version , it will be at the bottom of the output and will either be if right
Configuration register is 0xF
or
Configuration register is 0x2102
ā08-24-2015 06:15 AM
So for instance:
Switch(config)#boot system flash:?
flash:cat3k_caa-base.SPA.03.07.00E.pkg
flash:cat3k_caa-drivers.SPA.03.07.00E.pkg
flash:cat3k_caa-infra.SPA.03.07.00E.pkg
flash:cat3k_caa-iosd-universalk9.SPA.152-3.E.pkg
flash:cat3k_caa-platform.SPA.03.07.00E.pkg
flash:cat3k_caa-wcm.SPA.10.3.100.0.pkg
flash:dc_profile_dir
flash:nvram_config
flash:packages.conf
flash:runnin-config-backup
flash:running-config-backup
flash:virtual-instance
flash:vlan.dat
flash:wnweb_store
I would choose the nvram_config or one of the backups I did?
Show Version produces this for the register:
Configuration register is 0x142 (will be 0x102 at next reload)
ā08-24-2015 06:27 AM
yes but your picking the IOS version not the config file , the current image you want to boot that sets the boot parameter for the switch
is this a 3850 as you stated a 3650 earlier post just so have th right commands as its ios-xe not ios
try these commands
no system ignore startup-config switch all
switch all config-register 0x102
and save it, set the boot statement aswell , when it reloads it should not be on 0x142 from what I remember 142 is password recovery option
ā08-24-2015 06:31 AM
No it's a 3650.
So after those commands, I should be able to reload it and it come back up like normal?
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