How to backup configuration in networking devices ?

Hola !

Fellas this article is for explaining the step to step process of taking a log file from a router , firewall or any other networking devices as a backup before any kinda of major activity occurs which may potentially lead to loss of configurations.

Periodically certain activities like power shutdown or mass rebooting of networking devices will take place for maintenance purpose, In these kind of situations taking backup of important configurations is must as we can re config if any kind of loss takes place.

The first stage in the process of taking logs is initializing the logging session. to do so follow the  following steps !

Step 1 —> Login into device

Step 2 —> Right click on the window and click on change setting

Step 3 —>Go to Session>Login and checkout “All session output”  in  the available session login options and choose                      your preferred directory to store the log file.

Step 4 —> Ready to go ! click apply.

Now what ever output appears in the command line interface will be recorded in the log file till the session ends.

Before going to the command part we shall discuss different configuration available in switches.

The commands are stored in configuration file.Suppose if we type a command in global config mode it will be stored as running configuration in volatile RAM. when the power goes down the data stored in the RAM will be erased completely, thus we should move configurations present in RAM to startup configuration ,where commands are stored in a non volatile memory like NVRAM. To copy configuration from running to start up configuration the command is copy running-configuration startup-configuration 

Below are some set of commands used to take backup of complete device configurations



terminal length 0

sh run

sh ver

sh cdp neighbours detail

sh int status

sh ip int br

sh log




terminal page 0

sh run

sh ver

sh int ip br


Thanks !

Kavine Ace




2 thoughts on “How to backup configuration in networking devices ?

Leave a Reply

Your email address will not be published. Required fields are marked *