Cisco CCNA Packet Tracer Ultimate labs: Backup and Restores: Answers Part 2

Packet Tracer file (PT Version 7.1) : https://goo.gl/nAuusV
Get the Packet Tracer course for only $10 by clicking here: https://goo.gl/vikgKN
Get my ICND1 and ICND2 courses for $10 here: https://goo.gl/XR1xm9 (you will get ICND2 as a free bonus when you buy the ICND1 course).

For lots more content, visit http://www.davidbombal.com – learn about GNS3, CCNA, Packet Tracer, Python, Ansible and much, much more.

Use a TFTP Server to Backup and Restore a Configuration
This is a step-by-step approach to copy a configuration from a router to a TFTP server, and back to another router. Before you proceed with this method, make sure you have a TFTP server on the network to which you have IP connectivity.

At the Router prompt, issue the enable command, and provide the required password when prompted.

The prompt changes to Router#, which indicates that the router is now in privileged mode.

Copy the running configuration file to the TFTP server:

CE_2#copy running-config tftp:
Address or name of remote host []? 64.104.207.171
Destination filename [ce_2-confg]? backup_cfg_for_my_router
!!
1030 bytes copied in 2.489 secs (395 bytes/sec)
CE_2#
Open the configuration file with a text editor. Search for and remove any line that starts with “AAA”.

Note: This step is to remove any security commands that can lock you out of the router.

Copy the configuration file from the TFTP server to a new router in privileged (enable) mode which has a basic configuration.

Router#copy tftp: running-config
Address or name of remote host []? 64.104.207.171
Source filename []? backup_cfg_for_my_router
Destination filename [running-config]?
Accessing tftp://10.66.64.10/backup_cfg_for_my_router…
Loading backup_cfg_for_router from 64.104.207.171 (via FastEthernet0/0): !
[OK – 1030 bytes]

1030 bytes copied in 9.612 secs (107 bytes/sec)
CE_2#

https://www.cisco.com/c/en/us/support…

Transcription:

The first task in part 2 is to create a loopback on the router.
So on the router interface loopback 0 IP address and I’ll create it as follows.

So show run
shows us the loopback interface and IP address on the router

show start at the moment, it doesn’t show us that.
We don’t have a loopback interface configured but if I save the configuration and type
show start again notice we can see that the loopback is now part of the startup configuration.

We’re now told to copy the startup configuration from the TFTP server to the startup configuration of the router.

So copy tftp start
Before I do that remember that shows start or show startup config shows us the loopback in the configuration. But when I copy the configuration from the TFTP server will the configuration be overwritten?

So the source file is R1-start-config
I’m going to copy it to the startup config of the router.

So now when I type show start

notice the loopback has been removed.
Startup configurations are overwritten. So the running config currently has the loopback configured.

If I save the running configuration, in other words do a copy running config startup config.
The startup configuration is overwritten with the running configuration.
So the startup config now contains the loopback interface.

But if I copy the configuration from the TFTP server to the startup config of the router, that original config on the TFTP server doesn’t contain a loopback.

So now when I type show startup config
the loopback interface has been removed because the configuration on the TFTP server has overwritten the startup config of the router.

So step 5 verify that the startup config no longer has the loopback interface. We’ve verified that, that is true.

Startup configurations are overwritten but what happens was the current configuration.
So we’re told to copy the current config to the TFTP server.

So copy running-config tftp and I’m going to call this R1-runv2-config

So now, on the TFTP server, I have both the original running configuration and the running configuration that I’ve just copied.

Now we’re told to delete the loopback interface on the router at the moment the router has a loopback interface configured.

So no interface loopback 0
show ip interface brief

loopback interface has been removed.

show run
there’s no loopback interface on router but let’s copy the configuration from the TFTP server to the running configuration of the router.

The file that we’re going to copy is R1 v2 config .

So R1-runv2-config
copy that to the running configuration. That’s now being done and notice the loopback interface has come up…………

subscribe
  • David Bombal