CCNA 7.3.a: Backup and restore device configuration

Overview:

Backing up device configurations is good practice and can save a lot of downtime should a device need to be upgraded or swapped out.

 

Study Notes:

There are multiple ways to backup and restore configurations.  TFTP and FTP are covered below.

 

Use a TFTP server to backup a router configuration

  1. Start the TFTP server on your PC
  2. Connect your PC to the router being backed up
  3. Configure your PC in the same subnet as your router
  4. Ping the router from your PC to verify IP connectivity
  5. Console into the router
  6. Copy the running configuration file from the router to the TFTP server

 

Router#
Router#copy running-config tftp:
Address or name of remote host []? 172.16.10.2
Destination filename [Router-confg]? 

Writing running-config....!!
[OK - 497 bytes]

497 bytes copied in 3.011 secs (165 bytes/sec)
Router#

 

 

Use a TFTP server to restore a router configuration

  1. Start the TFTP server on your PC
  2. Connect your PC to the router being backed up via a network cable
  3. Configure your PC in the same subnet as your router
  4. Ping the router from your PC to verify IP connectivity
  5. Console into the router
  6. Copy the running configuration file from the TFTP server to the router

 

Router#copy tftp run
Address or name of remote host []? 172.16.10.2
Source filename []? Router-confg
Destination filename [running-config]? 

Accessing tftp://172.16.10.2/Router-confg...
Loading Router-confg from 172.16.10.2: !
[OK - 497 bytes]

497 bytes copied in 0.01 secs (49700 bytes/sec)
Router#
%SYS-5-CONFIG_I: Configured from console by console

 

 

Use an FTP server to backup a configuration

  1. Start the FTP server on your PC
  2. Connect your PC to the router being backed up
  3. Configure your PC in the same subnet as your router
  4. Ping the router from your PC to verify IP connectivity
  5. Console into the router
  6. Configure the FTP username and password on the router
  7. Copy the running configuration file from the router to the FTP server

 

Router#
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip ftp username cisco
Router(config)#ip ftp password cisco
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#copy running-config ftp:
Address or name of remote host []? 172.16.10.2
Destination filename [Router-confg]? 

Writing running-config...
[OK - 541 bytes]

541 bytes copied in 0.022 secs (24000 bytes/sec)
Router#

 

Use an FTP server to restore a configuration

  1. Start the FTP server on your PC
  2. Connect your PC to the router being backed up via a network cable
  3. Configure your PC in the same subnet as your router
  4. Ping the router from your PC to verify IP connectivity
  5. Console into the router
  6. Configure the FTP username and password on the router
  7. Copy the running configuration file from the FTP server to the router

 

Router#
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip ftp username cisco
Router(config)#ip ftp password cisco
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#copy ftp running-config
Address or name of remote host []? 172.16.10.2
Source filename []? Router-confg
Destination filename [running-config]? 

Accessing ftp://172.16.10.2/Router-confg...
[OK - 541 bytes]

541 bytes copied in 0.012 secs (45083 bytes/sec)
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#

 

PacketTracer Lab: CCNA-7.3.a-Backup-and-restore-device-configurations.pkt

Subscribe Now for access to the labs!

 

Leave a Reply
s2Member®
Built by TrailSix