11-05-2020 12:46 AM
Hi guys.
I'm making a backup of multiple Switches in my LAN.
I'm doing it manually, like show run, then saving all information that I get on the screen to a text file.
I remember from past that show run does not show all configuration, and that there are also other commands that I need to run to get some in depth config information to. I don't know if that's still the case ? for example on Catalyst 2960G?
please advise, if show run contains all necessary info to restore a switch, if not what commands do I need to run additionally to make it 100% good backup.
thanks in advance.
Solved! Go to Solution.
11-05-2020 12:52 AM
- The running config provides all configuration settings to backup or restore the configuration :
https://www.cisco.com/c/m/en_us/techdoc/dc/reference/cli/n5k/commands/show-running-config.html
However the added option all will display also default configuration items (which you don't need to input when restoring a configuration).
M.
11-05-2020 12:54 AM
sh run all | append <FILENAME>
11-05-2020 01:04 AM
#show run all ( complete hidden config will show)
11-05-2020 12:52 AM
- The running config provides all configuration settings to backup or restore the configuration :
https://www.cisco.com/c/m/en_us/techdoc/dc/reference/cli/n5k/commands/show-running-config.html
However the added option all will display also default configuration items (which you don't need to input when restoring a configuration).
M.
11-05-2020 12:54 AM
sh run all | append <FILENAME>
11-05-2020 01:04 AM
#show run all ( complete hidden config will show)
11-05-2020 01:11 AM
the "all" part does it I guess, I see now much more information, also important info which was configured but not showing in show run.
Thanks allot guys.
11-05-2020 08:04 AM
As the other posters have noted, "show run", alone (and its output saved somewhere off the device) is generally sufficient. This is generally true if you're going to restore to the same platform and IOS version.
The "show run all" variant (also described by others) also shows hidden configuration commands. Do note, what's hidden can change between IOS versions, further, defaults can also change between IOS versions, and lastly, commands can come and go or change between IOS versions.
Such changes have some implications. For example, after an IOS upgrade, a comparison between the startup config and the running config may show differences. Generally, a newer IOS will automatically handle command changes, but if you need to revert to an older IOS, an older IOS may have issues with a config file from a newer IOS. So, when doing IOS upgrades, you may want to also insure you have a copy of the prior config file.
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