当前位置:主页   - 电脑 - 认证考试 - Cisco
CCNA(Stand-ALONE)Lab 18-Saving Router configurations
来源:网络   作者:redking   更新时间:2010-09-26
收藏此页】    【字号    】    【打印】    【关闭

  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)#

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

  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

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

  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

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

  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

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

  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

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

  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

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

  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

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

  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.

  本文出自 “王乾De技术Blog” 博客,请务必保留此出处http://redking.blog.51cto.com/27212/72324

其它资源
来源声明

版权与免责声明
1、本站所发布的文章仅供技术交流参考,本站不主张将其做为决策的依据,浏览者可自愿选择采信与否,本站不对因采信这些信息所产生的任何问题负责。
2、本站部分文章来源于网络,其版权为原权利人所有。由于来源之故,有的文章未能获得作者姓名,署“未知”或“佚名”。对于这些文章,有知悉作者姓名的请告知本站,以便及时署名。如果作者要求删除,我们将予以删除。除此之外本站不再承担其它责任。
3、本站部分文章来源于本站原创,本站拥有所有权利。
4、如对本站发布的信息有异议,请联系我们,经本站确认后,将在三个工作日内做出修改或删除处理。
请参阅权责声明