CCNA(Stand-ALONE)Lab 20-Copying and Pasting configurations

简介:
Objective: Learn to save, reload, and paste modified configurations from within the Simulator.
Lab Equipment: Router1 from the eRouters menu
    Cisco Routers use a command-line parsing routine. Each time you press a carriage return, the router parses that command and executes the code that is required to carry out the command.
    The Simulator works the same way. When you are working with the Simulator, you can easily switch between devices using the menus across the top of the main window. The Simulator offers some built-in saving and loading options.
1. Set the host name of Router 1 to Router1.
Router>enable
Router(config)#hostname Router1

2. Select the Save Single Device config option from the File menu. The program will ask for a file name; use Router1, and click Save. Save the files to a convenient location that you will remember easily.

3. After you have saved the file, exit the Simulator, and then start it again. Reload Stand-Alone Lab 20 from the Lab Navigator.

4. Select the Load Single Device config (overwrite) option from the File menu. Select the Router1.rtr fi le that you just saved, and click Open.

5. The program will then open the file and execute all the commands that were previously saved on the device. Once it is finished, you will notice that the host name has been restored.
 
6. Two other options under the File menu offer similar functionality: the Save Multi Devices configs option and the Load Multi Devices configs option. These two options respectively will save and load the configurations for all the devices.

7. Saved files can be edited easily. Minimize the program, and double-click the Router1.
rtr file that you just saved to your computer. When the operating system asks you which program you would like to use to open the file, select Microsoft Notepad.

8. Notepad will launch with Router1’s running configuration displayed. You will see the hostname command a few lines down. Change this line from hostname Router1 to hostname Miami. Save your changes.

9. Now, repeat step 4, and observe the host name change.

10. If you have created a configuration that you want to paste into the routers, the program offers a tool to allow you to do this.

11. First, make sure Router1 is open. Select the Paste Real Router configs option from the File menu. This will open a window that will allow you to paste configuration files you would like to have executed on Router1. In the empty text box, type the following:
hostname Router1
interface Ethernet 0
ip address 1.1.1.1 255.255.255.0
no shutdown
exit
exit

12. After you have typed the commands above, click the OK button. The router will quickly execute the commands. Notice that the host name of the router will change back to Router1.

13. Execute the show ip interface brief command on Router1 to see that the IP address has been set for Ethernet 0.
***********************************************




本文转自redking51CTO博客,原文链接: http://blog.51cto.com/redking/72441 ,如需转载请自行联系原作者
相关文章
|
数据可视化 JavaScript 前端开发
基于Echarts构建停车场数据可视化大屏
基于Echarts构建停车场数据可视化大屏
488 0
|
安全 关系型数据库 MySQL
记一次MS14-058到域控实战记录
记一次MS14-058到域控实战记录
613 0
记一次MS14-058到域控实战记录
|
监控 算法 自动驾驶
基于帧差法和形态学处理的行驶车辆跟踪算法matlab仿真
基于帧差法和形态学处理的行驶车辆跟踪算法matlab仿真
|
数据挖掘 Linux 芯片
windbg抓一个windows蓝屏分析
windbg抓一个windows蓝屏分析
|
SQL Java 数据库连接
Mybatis实现及原理
什么是Mybatis MyBatis 是一款优秀的持久层框架,它支持定制化 SQL、存储过程以及高级映射。MyBatis 避免了几乎所有的 JDBC 代码和手动设置参数以及获取结果集。MyBatis 可以使用简单的 XML 或注解来配置和映射原生信息,将接口和 Java 的 POJOs(Plain Old Java Objects,普通的 Java对象)映射成数据库中的记录。
9334 0
|
数据采集 Python
用 Python 自动获取NBA现役球员的职业生涯数据曲线
用 Python 自动获取NBA现役球员的职业生涯数据曲线
|
SQL 关系型数据库 MySQL
MySQL数据库,从入门到精通:第九篇——MySQL子查询
MySQL数据库,从入门到精通:第九篇——MySQL子查询
218 0
|
机器学习/深度学习 算法
第四周:循环
所谓循环,就是多次重复执行某些类似的操作,这个操作一般不是完全一样的操作,而是类似的操作。都有哪些操作呢?通过阅读这篇文章来体会一下吧
201 0
|
Dart 开发者
【Flutter】Flutter 布局组件 ( PhysicalModel 组件 )(二)
【Flutter】Flutter 布局组件 ( PhysicalModel 组件 )(二)
216 0
【Flutter】Flutter 布局组件 ( PhysicalModel 组件 )(二)
|
关系型数据库 MySQL
开发指南—数据类型—数值类型
本文介绍了PolarDB-X支持的数值类型
126 0

热门文章

最新文章