For a long time did not write blog, today to write an article to fill the number, ha ...
Now let's use a TFTP server to backup and restore Cisco device Files!!
The tools we want to prepare are:
Cisco TFTP tool (please download the attachment)
GNS3/CRT (this please find your own Niang)
When you have the tools on top, we're going to start!
1, configure GNS3 Road by the TFTP device connected:
Below we will prepare the following three (routing, switch 2 layer, cloud) in the GNS3 and connect them together.
650) this.width=650; "title=" 1.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/50/E3/ Wkiom1riy8hagq4saaa-d-hp1f8322.jpg "alt=" Wkiom1riy8hagq4saaa-d-hp1f8322.jpg "/>
Now you need to configure the route.
In the case of the end of the route, double-click the route icon, the following window will pop up, press the arrow toward, add plug-in port.
650) this.width=650; "Width=" 718 "height=" 265 "title=" 2.png "style=" width:718px;height:265px; "src="/HTTP/ S3.51cto.com/wyfs02/m01/50/e1/wkiol1rizc6amq9waaetzasquta195.jpg "border=" 0 "vspace=" 0 "hspace=" 0 "alt=" Wkiol1rizc6amq9waaetzasquta195.jpg "/>
Because I am here tftp is on this machine to open, so to make way from the GNS3 connected to the local, so we want to use to the cloud, the following is the method to configure the cloud:
650) this.width=650; "title=" 3.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/50/E3/ Wkiom1riy8kr-jcpaahqhtqgi0i976.jpg "alt=" Wkiom1riy8kr-jcpaahqhtqgi0i976.jpg "/>
After adding a good network card to the cloud, we then open the route and configure the IP address.
650) this.width=650; "Width=" 718 "height=" 255 "title=" 4.png "style=" width:718px;height:255px; "src="/HTTP/ S3.51cto.com/wyfs02/m01/50/e4/wkiom1rizyrrh6eqaanxhps_uq0307.jpg "border=" 0 "vspace=" 0 "hspace=" 0 "alt=" Wkiom1rizyrrh6eqaanxhps_uq0307.jpg "/>
We can test the connectivity of the device.
650) this.width=650; "title=" Tftp.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/50/E2/ Wkiol1rizqjanp7zaabvydkovck965.jpg "alt=" Wkiol1rizqjanp7zaabvydkovck965.jpg "/>
650) this.width=650; "Width=" 718 "height=" 155 "title=" Ping.png "style=" width:718px;height:155px; "src="/HTTP/ S3.51cto.com/wyfs02/m01/50/e3/wkiol1rizvlg6tgnaagjt0ckcos858.jpg "border=" 0 "vspace=" 0 "hspace=" 0 "alt=" Wkiol1rizvlg6tgnaagjt0ckcos858.jpg "/>
As we can see, now the GNS3 in the routing device with the native TFTP is able to communicate properly!!
2. Now we are going to start backing up the configuration file
What we must do before we make a backup: Ping the connectivity of the device, make sure the device is able to communicate properly, we will start the backup
650) this.width=650; "Width=" 718 "height=" 299 "title=" 4.png "style=" WIDTH:718PX;HEIGHT:299PX; "src="/HTTP/ S3.51cto.com/wyfs02/m02/50/eb/wkiom1ri0vwsz_xraaqsxddsoe0731.jpg "border=" 0 "vspace=" 0 "hspace=" 0 "alt=" Wkiom1ri0vwsz_xraaqsxddsoe0731.jpg "/>
650) this.width=650; "title=" 7.png "src=" Http://s3.51cto.com/wyfs02/M02/50/EA/wKioL1Ri093zH7zLAACijg5ONeM797.jpg " alt= "Wkiol1ri093zh7zlaacijg5onem797.jpg"/>
From that, we can see that the configuration files in the Cisco device have been backed up to the TFTP server!!! The second step completes the task successfully.
3. Restore the configuration file from the TFTP server to the Cisco router.
Sometimes we change the configuration of the router or use the new device to replace the old device, and so on, we can not be a series of new devices to configure it? So we're not doing anything for ourselves? So we need to backup and restore the configuration files, it makes our work easier, but also can quickly solve the problem.
Let's restore our router configuration file: (In fact, this is very simple, just a few lines of command bar, see effect)
650) this.width=650; "Width=" 718 "height=" 155 "title=" Ping.png "style=" width:718px;height:155px; "src="/HTTP/ S3.51cto.com/wyfs02/m02/50/ec/wkiom1ri1yms6bplaagjt0ckcos160.jpg "border=" 0 "vspace=" 0 "hspace=" 0 "alt=" Wkiom1ri1yms6bplaagjt0ckcos160.jpg "/>
In the same vein, we first make sure that our devices can communicate properly ....
650) this.width=650; "Width=" 718 "height=" 430 "title=" 6.png "style=" width:718px;height:430px; "src="/HTTP/ S3.51cto.com/wyfs02/m00/50/eb/wkiol1ri1fwhg8swaafgog9vate219.jpg "border=" 0 "vspace=" 0 "hspace=" 0 "alt=" Wkiol1ri1fwhg8swaafgog9vate219.jpg "/>
As we can see, the configuration has been restored properly!!!
Note: The device that needs to restore the configuration file must be the same device as the source Backup!!!
This article is from the "Last Bus" blog, so be sure to keep this source http://hznethome.blog.51cto.com/722914/1575636
Using a TFTP server to back up and restore Cisco configuration files