GambleSolutions
asked on
All 3 of my Cisco switches (SG2010P) lose their configuration after power cycling
Greetings all,
First let me start by saying that I am not a Cisco savvy person and that I am only familiar with configuring the switch through the web interface... now with that said...
I have 3 Cisco SG2010P switches that lose their configurations after each powercycle. I'm sure there is something I need to do but cannot see where in the web interface. I save everything but nothing sticks. My guess is there's a more deep level way of saving the config file etc. but I simply don't know how to do this.
Any help on this is appreciated in advance!
Thanks!
First let me start by saying that I am not a Cisco savvy person and that I am only familiar with configuring the switch through the web interface... now with that said...
I have 3 Cisco SG2010P switches that lose their configurations after each powercycle. I'm sure there is something I need to do but cannot see where in the web interface. I save everything but nothing sticks. My guess is there's a more deep level way of saving the config file etc. but I simply don't know how to do this.
Any help on this is appreciated in advance!
Thanks!
ASKER
Thanks for the reply but that's kind of my question..... how do I SAVE the config file so it sticks during the next power cycle?
Well, I'll look it up. Usually it's someting like "save to NVRAM" or the like.
Some models have the running program in volative RAM and the program to be loaded at boot in NVRAM. Other models, and it appears yours, have a Startup Config file, a Running Config file and a Backup Config file. I think you want to save the Running Config file TO the Startup Config file .. subject to any backup you deem necessary. And, by that, I don't think the local Backup is the place to do it as it may get overwritten in time.
Startup Configuration File — Contains the commands required to reconfigure
the device to the same settings as when the device is powered down or
rebooted. The Startup file is created by copying the configuration commands
from the Running Configuration file or the Backup Configuration file.
• Running Configuration File — Contains all configuration file commands, as
well as all commands entered during the current session. After the device is
powered down or rebooted, all commands stored in the Running Configuration
file are lost. During the startup process, all commands in the Startup file are
copied to the Running Configuration File and applied to the device. During the
session, all new commands entered are added to the commands existing in the
Running Configuration file. Commands are not overwritten. To update the
Startup file, before powering down the device, the Running Configuration file
must be copied to the Startup Configuration file. The next time the device is
restarted, the commands are copied back into the Running Configuration file
from the Startup Configuration file.
• Backup Configuration File — Contains a backup copy of the device
configuration. The Backup file is generated when the Running Configuration file
or the Startup file is copied to the Backup file. The commands copied into the
file replaces the existing commands saved in the Backup file. The Backup file
contents can be copied to either the Running configuration or the Startup
Configuration files.
************************** ********** ********
Save Configuration
The configuration files control the operation of the switch, and contain the
functional settings at the device and the port level. Configuration files are one of
the following types:
• Factory Default — Contains preset default parameter definitions which are
downloaded with a new or upgraded version.
• Running Configuration — Contains the parameter definitions currently defined
on the device. This includes any configuration changes made since the device
was started or rebooted. When the device shuts down or reboots the next time,
this configuration becomes the Starting Configuration.
• Starting configuration — Contains the parameter definitions which were valid
in the Running Configuration when the system last rebooted or shut down.
• Backup configuration — Contains a copy of the system configuration for
protection against system shutdown, or for maintenance of a specific operating
state.
File names cannot contain slashes (\ or /), the leading letter of the file name should
not be a period (.), and the maximum length for file names on the TFTP server is
127 characters or 31 characters for files on the switch. (Valid characters: A-Z, a-z,
0-9, “.”, “-”, “_”). In the Save Configuration Page, define the parameters of the
system configuration files.
STEP 1 Click Admin > File Management > Save Configuration. The Save Configuration
Page opens:
Save Configuration Page
From Cisco's web site.....
I hope this helps
Some models have the running program in volative RAM and the program to be loaded at boot in NVRAM. Other models, and it appears yours, have a Startup Config file, a Running Config file and a Backup Config file. I think you want to save the Running Config file TO the Startup Config file .. subject to any backup you deem necessary. And, by that, I don't think the local Backup is the place to do it as it may get overwritten in time.
Startup Configuration File — Contains the commands required to reconfigure
the device to the same settings as when the device is powered down or
rebooted. The Startup file is created by copying the configuration commands
from the Running Configuration file or the Backup Configuration file.
• Running Configuration File — Contains all configuration file commands, as
well as all commands entered during the current session. After the device is
powered down or rebooted, all commands stored in the Running Configuration
file are lost. During the startup process, all commands in the Startup file are
copied to the Running Configuration File and applied to the device. During the
session, all new commands entered are added to the commands existing in the
Running Configuration file. Commands are not overwritten. To update the
Startup file, before powering down the device, the Running Configuration file
must be copied to the Startup Configuration file. The next time the device is
restarted, the commands are copied back into the Running Configuration file
from the Startup Configuration file.
• Backup Configuration File — Contains a backup copy of the device
configuration. The Backup file is generated when the Running Configuration file
or the Startup file is copied to the Backup file. The commands copied into the
file replaces the existing commands saved in the Backup file. The Backup file
contents can be copied to either the Running configuration or the Startup
Configuration files.
**************************
Save Configuration
The configuration files control the operation of the switch, and contain the
functional settings at the device and the port level. Configuration files are one of
the following types:
• Factory Default — Contains preset default parameter definitions which are
downloaded with a new or upgraded version.
• Running Configuration — Contains the parameter definitions currently defined
on the device. This includes any configuration changes made since the device
was started or rebooted. When the device shuts down or reboots the next time,
this configuration becomes the Starting Configuration.
• Starting configuration — Contains the parameter definitions which were valid
in the Running Configuration when the system last rebooted or shut down.
• Backup configuration — Contains a copy of the system configuration for
protection against system shutdown, or for maintenance of a specific operating
state.
File names cannot contain slashes (\ or /), the leading letter of the file name should
not be a period (.), and the maximum length for file names on the TFTP server is
127 characters or 31 characters for files on the switch. (Valid characters: A-Z, a-z,
0-9, “.”, “-”, “_”). In the Save Configuration Page, define the parameters of the
system configuration files.
STEP 1 Click Admin > File Management > Save Configuration. The Save Configuration
Page opens:
Save Configuration Page
From Cisco's web site.....
I hope this helps
I'm not familiar with the web interface but there should be option to save configuration to memory.
Alternatively, open a command line and type copy run start
which basically says copy the running config to the startup config. Also, it an older command but usually just a plain simple "write" will do the same thing, which means write the config to memory.
Alternatively, open a command line and type copy run start
which basically says copy the running config to the startup config. Also, it an older command but usually just a plain simple "write" will do the same thing, which means write the config to memory.
1 of 2 things.
1) the easier of the two fixes. you aren't saving the configuarition after you make the changes. Within the web setup there should be a save button. It's as simple as that. As sysreg mentions, you should have the option to access a command line via the browser interface. All you need to do there would be enter the command write mem
2) the configueration register is set wrong so its ignoring the config you are saving at bootup. You can see this article for a detailed description of what I'm talking about and how to change it.
http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a008022493f.shtml
This you must do from a command line. You cant change this via the gui.
The config register should be set to 0x2102. If you open that command line area and enter the command show ver look at that last line. it will tell you what the register is at.
1) the easier of the two fixes. you aren't saving the configuarition after you make the changes. Within the web setup there should be a save button. It's as simple as that. As sysreg mentions, you should have the option to access a command line via the browser interface. All you need to do there would be enter the command write mem
2) the configueration register is set wrong so its ignoring the config you are saving at bootup. You can see this article for a detailed description of what I'm talking about and how to change it.
http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a008022493f.shtml
This you must do from a command line. You cant change this via the gui.
The config register should be set to 0x2102. If you open that command line area and enter the command show ver look at that last line. it will tell you what the register is at.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
That did it.
.... I think you're running into a "feature".
I think you have to SAVE the configuration before it will survive a power cycle. This allows you to power cycle in order to get back to where you started if you were trying things......