CCNA(Stand-ALONE)Lab 18-Saving Router configurations

简介:
Objective: Learn how to back up a router’s configuration in case the configuration is accidentally deleted or the router fails.
Lab Equipment: Router 4 from the eRouters menu and PC 1 from the eStations menu
1. Connect to Router 4, and change the host name to Tampa.
Router>enable
Router#conf t
Router(config)#hostname Tampa
Tampa(config)#

2. Assign the IP address of 24.37.2.1 255.255.255.0 to the Ethernet 0 interface, and then enable the interface.
Tampa(config)#interface ethernet 0
Tampa(config-if)#ip address 24.37.2.1 255.255.255.0
Tampa(config-if)#no shutdown

3. Connect to PC 1 by selecting it from the eStations menu. Type the command that will allow you to configure PC 1’s IP address and default gateway. Set the IP address to 24.37.2.252 with a subnet mask of 255.255.255.0. Set the default gateway to Tampa’s Ethernet 0 IP address (24.37.2.1).
C:> winipcfg

4. From PC 1, ping Tampa’s Ethernet 0 interface to make sure connectivity exists to the default gateway.
C:> ping 24.37.2.1

5. Connect to Tampa again, exit interface configuration mode, and then exit global configuration mode. Copy the running configuration to the TFTP server on PC 1.
Tampa(config-if)#exit
Tampa(config)#exit
Tampa# copy running-config tftp

6. When prompted for the address or name of the TFTP server, provide PC 1’s IP address (24.37.2.252), press ENTER, and then provide the name of the configuration file that will be stored on PC 1. Name the configuration file Tampa_config.
24.37.2.252
Tampa_config

After you press ENTER, the router will take a few seconds to establish the connection;then you will see it copy the configuration file and tell you how long it took.

7. Next, connect back to PC 1 and type the show tftp-configs command in order to display the configurations that are stored on the TFTP server. (Note: This command does not work on real PCs, just in the NetSim program.)
C:>show tftp-configs

If you see the configuration in the list, you have successfully completed the lab.
Note: Lab 19 builds on this lab’s configuration. To complete Lab 19, please continue with the instructions for Lab 19 in this lab. If you load another lab from the Lab Navigator,your changes will be lost and Lab 19 will not work properly.
**********************************************




本文转自redking51CTO博客,原文链接: http://blog.51cto.com/redking/72324 ,如需转载请自行联系原作者

相关文章