11-05-2014 02:44 AM - edited 03-07-2019 09:23 PM
Dear Team.
i have one cisco 3560 switch and i want to store multiple config files in same switch.
share the steps how to do.
Solved! Go to Solution.
11-05-2014 03:46 AM
Just copy the startup config to a new file on the flash
copy startup-config flash:/somefilename
When you want to activate the new config:
copy flash:/somefilename running-config
11-05-2014 08:24 AM
If you want to just manually keep different configuration files on the switch for testing, @harriuljas has got your answer, though I would activate the new configuration by using "copy flash:/somefilename startup-config" and rebooting instead. Copying a configuration directly into the running-config merges the old configuration with the new one, which may not be what you want.
If you want the switch to keep an archive of the last configuration changes, so that you can roll back when you're making changes, there's an even easier way to do that.
do mkdir flash:/startup-config ! archive path flash:/startup-config/ maximum 8 write-memory
This will automatically save a copy of the configuration to the flash:/startup-config directory every time the "copy running-config startup-config" command (or its equivalents such as "wr" or "write memory") is issued and will keep up to eight previous configurations, making it very easy to roll back to one of the previous ones.
11-05-2014 03:46 AM
Just copy the startup config to a new file on the flash
copy startup-config flash:/somefilename
When you want to activate the new config:
copy flash:/somefilename running-config
11-05-2014 08:24 AM
If you want to just manually keep different configuration files on the switch for testing, @harriuljas has got your answer, though I would activate the new configuration by using "copy flash:/somefilename startup-config" and rebooting instead. Copying a configuration directly into the running-config merges the old configuration with the new one, which may not be what you want.
If you want the switch to keep an archive of the last configuration changes, so that you can roll back when you're making changes, there's an even easier way to do that.
do mkdir flash:/startup-config ! archive path flash:/startup-config/ maximum 8 write-memory
This will automatically save a copy of the configuration to the flash:/startup-config directory every time the "copy running-config startup-config" command (or its equivalents such as "wr" or "write memory") is issued and will keep up to eight previous configurations, making it very easy to roll back to one of the previous ones.
11-07-2014 04:06 AM
Thanks Jody Lemoine
11-25-2014 09:45 PM
Thanks Harri Uljas
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