Backup and Restore Router Configuration in just few simple steps

Posted: 18 Dec 2020 in CCNA
Tags: , ,

Backup and Restore Router Configuration in just few simple steps.

Backup and Restore Router Configuration using TFTP.


This tutorial is all about how to take your Routers configurations backup in case of Power failure and How to restore it Back.

For Backup and Restore we will use TFTP server here in this Lab,But if You want you can take FTP Server too for Backup and Restore.

 

 

linuxtiwary.com

Backup and restore Router Configuration using TFTP Server

Step 1: draw the topology Diagram as mentioned in above image.


Step 2: Assign the IP Address Each Devices including Router and Server.


Step 3: Configure TFTP Server on ip 1.0.0.100 machine for this see image below.


  Router Configuration Backup


Step4:Configure something on your Router just to test Configuration Backup.

 

Let’s Configure HOSTNAME on Router:


Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname ISP
ISP(config)#int fa0/0
ISP(config-if)#ip add 1.0.0.1 255.0.0.0
ISP(config-if)#no shut

 

 Also configure telnet on Router and also console password


 

 

ISP(config)#username satish password redhat

ISP(config)#username tiwary password redhat123

ISP(config)#

ISP(config)#line vty 0 5

ISP(config-line)#login local

ISP(config-line)#exit

ISP(config)#

ISP(config)#line console 0

ISP(config-line)#password ccna

ISP(config-line)#login

ISP(config-line)#exit

 

Step 5:Copy RAM data on Startup


 

ISP#copy run start

Destination filename [startup-config]?

Building configuration...

[OK]

 

 

Step 6: Copy RAM data on TFTP server:


 

ISP#copy run tftp

Address or name of remote host []? 1.0.0.100

Destination filename [ISP-confg]?

Writing running-config....!!

[OK - 678 bytes]

678 bytes copied in 3.007 secs (225 bytes/sec)

ISP#

 

Step 7: Copy Startup File  Data on TFTP server.


 

ISP#copy start tftp

Address or name of remote host []? 1.0.0.100

Destination filename [ISP-confg]? s-config

Writing startup-config...!!

[OK - 678 bytes]

678 bytes copied in 0 secs

 

Delete Router configuration


Step 1: First Delete Startup data(startup-config)


ISP#erase start

Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]y[OK]

 

Step 2: Now also delete data loaded on RAM.(running-config)


 

ISP#reload

Proceed with reload? [confirm]ySystem Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)

Initializing memory for ECC

..

c2811 processor with 524288 Kbytes of main memory

Main memory is configured to 64 bit mode with ECC enabled

Readonly ROMMON initialized

Self decompressing the image :

########################################################################## [OK]

 

 Restore Router Configuration:


Step1: First Assign the IP Address on router and test Communication with TFTP server.


Step 2: then Just copy data from TFTP Server to running-config or RAM using below command:


Router#copy tftp run

Address or name of remote host []? 1.0.0.100

Source filename []? ISP-confg

Destination filename [running-config]?

Accessing tftp://1.0.0.100/ISP-confg...

Loading ISP-confg from 1.0.0.100: !

[OK - 678 bytes]

678 bytes copied in 0.001 secs (678000 bytes/sec)

ISP#

%SYS-5-CONFIG_I: Configured from console by console

 

Thats all!

Advertisement

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.