《交换机路由器配置》实验指导书

更新时间:2024-06-12 21:27:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

Manipulator is now used as a industrial robots in use, the control objectives often appear often in industrial automation. Industrial automation technology has gradually matured, as mature a technology line has been rapid development in industrial automation as a separate subject. Manipulator application began to filter into welding, logistics, mechanical processing, and other industries. Especially at high or very low temperatures, full of poisonous gases, high radiation case, robot in similar circumstances showed great use also brings great convenience to the staff. Precisely because of this robot to get people's attention began to be a high degree of development. Labor rates, working conditions, labor intensive aspects of promoting development. Both at home and abroad to develop the PLC (programmable logic controller) is in various special circumstances and under special conditions set for mechanical devices. Now turned on the development of the microelectronics automatic control technology and the rapid development of the trains, the success of PLC hardware software and simulation control win big and successful development, now continues to develop as a factory automation standards. Because robots are good development of the technology makes a good optimization of productive capital, and robot shows this unique advantages, such as: has good compatibility, wide availability, hardware is complete, and programming that can be mastered in a short time, so in the context of industrial PLC applications became ubiquitous. Manipulator in many developed country agriculture and industry has been pplied, such as the use of mechanical harvesting large areas of farmland, repeated operations on the high-speed line that uses a robotic arm, and so on. Today, the high level of automation combined with restrictions on the manipulator development level is slightly lower than the international. The design is mainly arm welding machine by PLC Automation control. This of design let designers on in school by learn of has a must of consolidation, understand has some usually didn't opportunities awareness in world range within some leading level of knowledge has has must awareness, hope designers can in yihou of design in the can success of using in this design in the proceeds of experience 1.2 manipulator in both at home and abroad of research profile automation mechanical arm research began Yu 20th century medium-term, after years with with computer and automation technology of development, Makes mechanical arm on the Grand stage of industrial automation and shine, gradually became an industrial evaluation standards, and its importance can be seen. Now original robotic arm spent most of mass production and use on the production line, which is programmed robotic arm. As the first generation of manipulator position control systems main features, although not back several generations that can detect the external environment, but can still successfully complete like welding, painting, delivery as well as for materials simple movements. Second generation mechanical arms are equipped with sensors and manipulators have the environment there is a certain amount of \hen the mechanical arm is to use the program as a basis. Difference is that the robot begand 交换机路由器配置

实 验 指 导 书

计算机科学学院

manipulator control mode and programmable controllers introduction 2.1 Select discussion with manipulator control 2.1.1 classification of control relays and discrete electronic circuit can control old industrial equipment, but also more common. Mainly these two relatively cheap and you can meet the old-fashioned, simple (or simple) industrial equipment. So he can see them now, however these two control modes (relay and discrete electronic circuits) are these fatal flaws: (1) cannot adapt to the complex logic control, (2) only for the current project, the lack of compatibility and (3) not reforming the system with equipment improvements. Spring for the development of China's modern industrial automation technology the substantial increase in the level of industrial automation, completed the perfect relay of the computer too much. In terms of controlling the computer showed his two great advantages: (1) each of the hardware can be installed on one or more microprocessors; (2) the official designer of the software writing content control is all about. Now in several ways in the context of industrial automation can often be seen in three ways: (1) Programmable Logical Controller (referred to as IPC); (2) Distributed Control System (DCS for short), and (3) the Programmable Logical Controller (PLC for short). 2.1.2 PLC and the IPC and DCS contrast contrast 1, each of the three technologies of origins and development requirements for fast data processing makes it invented the computer. The men brought in terms of hardware there, using a high level of standardization, can use more compatibility tools, is a rich software resources, especially the need for immediacy in operational systems. So the computer can effectively control is used to control and meet its speed, on the virtual model, real-time and in computational requirements. Distributed system started with a control system for industrial automatic instrument used to control, whereas now it is successfully developed into industrial control computer used as a central collection and distribution system and transition of distributed control system in analogue handling, loop control, has begun to reflect the use of a huge advantage. Though distributed system has great advantages in loop regulation, but only as a means of continuous process control. Optimization of PLC is the corresponding relay needs was born, its main use in the work order control, early primary is replaced relay this hulking system, focused on the switch controlling the running order of functions. Marked by the microprocessor in the early 1970 of the 20th century emerged, micro-electronics technology has developed rapidly, people soon microelectronics processing technology will be used in the Programmable Logical Controller (that is 《交换机路由器配置》实验指导书

实验一

一、实验目的

搭建交换机模拟实验环境

1. 掌握交换机模拟软件的安装与使用方法; 2. 掌握用模拟软件设计网络的方法;

3. 掌握在模拟环境中配置网络设备的基本方法。

二、实验要求

1. 安装网络实验模拟软件;

2. 按实验内容要求设计一个简单的网络; 3. 按实验步骤完成各网络设备的配置; 4. 进行相关测试;

5. 对实验结果进行分析讨论; 6. 完成实验思考题;

7. 实验结束提交书面实验报告。

三、实验环境

1. 运行Windows操作系统的PC机一台; 2. 网络实验模拟软件Boson Netsim。

四、实验内容及步骤

1. 安装Boson Netsim模拟器软件;

2. 启动网络设计器,按图1-1设计一个网络拓扑,在该网络中有两台Cisco2950交换

机,两台交换机通过快速以太网端口1进行级联;

3. 添加4台PC机,PC1和PC2分别连接在交换机1的第2和第3号端口,PC3和

PC4分别连接在交换机2的第2和第3号端口; 4. 设计完成后,保存该网络拓扑结构;

5. 启动网络模拟器软件,在“File”菜单下,选择“Load Netmap”菜单项,装载刚才

设计好的网络拓扑结构,以模拟出该网络环境; 6. 分别设置这两台交换机的主机名为C2950A和C2950B;

7. 分别设置4台PC机的IP地址为192.168.3.11,192.168.3.12,192.168.3.51,

192.168.3.52;

8. 在PC1中,分别Ping主机PC2,PC3和PC4,检查网络的连通性;

9. 在模拟器的“File”菜单下,选择“Save multi devices configs”菜单项,将整个网

络配置保存到一个文件中,然后退出模拟器; 10. 重新启动模拟器,并加载前面设计的网络拓扑结构;

11. 在模拟器的“File”菜单下,选择“Load multi devices configs”菜单项,从保存的

1

Manipulator is now used as a industrial robots in use, the control objectives often appear often in industrial automation. Industrial automation technology has gradually matured, as mature a technology line has been rapid development in industrial automation as a separate subject. Manipulatorapplication began to filter into welding, logistics, mechanical processing, and other industries. Especially at high or very low temperatures, full of poisonous gases, high radiation case, robot in similar circumstances showed great use also brings great convenience to the staff. Precisely because of this robot to get people's attention began to be a high degree of development. Labor rates, working conditions, labor intensive aspects of promoting development. Both at home and abroad to develop the PLC (programmable logic controller) is in various special circumstances and under special conditions set for mechanical devices. Now turned on the development of the microelectronics automatic control technology and the rapid development of the trains, the success of PLC hardware software and simulation control win big and successful development, now continues to develop as a factory automation standards. Because robots are good development of the technology makes a good optimization of productive capital, and robot shows this unique advantages, such as: has good compatibility, wide availability, hardware is complete, and programming that can be mastered in a short time, so in the context of industrial PLC applications became ubiquitous. Manipulator in many developed country agriculture and industry has been applied, such as the use of mechanical harvesting large areas of farmland, repeated operations on the high-speed line that uses a robotic arm, and so on. Today, the high level of automation combined with restrictions on the manipulator development level is slightly lower than the international. The design is mainly arm welding machine by PLC Automation control. This of design let designers on in school by learn of has a must of consolidation, understand has some usually didn't opportunities awareness in world range within some leading level of knowledge has has must awareness, hope designers can in yihou of design in the can success of using in this design in the proceeds of experience 1.2 manipulator in both at home and abroad of research profile automation mechanical arm research began Yu 20th century medium-term, after years with with computer and automation technology of development, Makes mechanical arm on the Grand stage of industrial automation and shine, gradually became an industrial evaluation standards, and its importance can be seen. Now original robotic arm spent most of mass production and use on the production line, which is programmed robotic arm. As the first generation of manipulator position control systems main features, although not back several generations that can detect the external environment, but can still successfully complete like welding, painting, delivery as well as for materials simple movements. Second generation mechanical arms are equipped with sensors and manipulators have the environment there is a certain amount of \hen the mechanical arm is to use the program as a basis. Difference is that the robot begand配置文件中恢复网络配置; 12. 检查各网络设备的配置是否恢复。

图1-1 网络拓扑结构

五、实验结果及分析

理解实验内容中的每一个步骤,并在实验报告中记录关键步骤的作用及配置方法。

六、实验思考题

1. 如果把主机PC3的IP地址配置为192.168.2.51,还能和PC1主机Ping通吗?为什

么?

manipulator control mode and programmable controllers introduction 2.1 Select discussion with manipulator control 2.1.1 classification of control relays and discrete electronic circuit can control old industrial equipment, but also more common. Mainly these two relatively cheap and you can meet the old-fashioned, simple (or simple) industrial equipment. So he can see them now, however these two control modes (relay and discrete electronic circuits) are these fatal flaws: (1) cannot adapt to the complex logic control, (2) only for the current project, the lack of compatibility and (3) not reforming the system with equipment improvements. pring for the development of China's modern industrial automation technology the substantial increase in the level of industrial automation, completed the perfect relay of the computer too much. In terms of controlling the computer showed his two great advntages: (1) each of the hardware can be installed on one or more microprocessors; (2) the official designer of the software writing content control is all about. Now in several ways in the context of industrial automation can often be seen in three ways: (1) Programmable Logical Controller (referred to as IPC); (2) Distributed Control System (DCS for short), and (3) the Programmable Logical Controller (PLC for short). 2.1.2 PLC and the IPC and DCS contrast contrast 1, each of the three technologies of origins and development requirements for fast data processing makes it invented the computer. The men brought in terms of hardware there, using a high level of standardization, can use more compatibility tools, is a rich software resources, especially the need for immediacy in operational systems. So the computer can effectively control is used to control and meet its speed, on the virtual model, real-time and in computational requirements. Distributed system started with a control system for industrial automatic instrument used to control, whereas now it is successfully developed into industrial control computer used as a central collection and distribution system and transition of distributed control system in analogue handling, loop control, has begun to reflect the use of a huge advantage. Though distributed system has great advantages in loop regulation, but only as a means of continuous process control. Optimization of PLC is the corresponding relay needs was born, its main use in the work order control, early primary is replaced relay this hulking system, focused on the switch controlling the running order of functions. Marked by the microprocessor in the early 1970 of the 20th century emerged, micro-electronics technology has developed rapidly, people soon microelectronics processing technology will be used in the Programmable Logical Controller (that is

2

《交换机路由器配置》实验指导书

实验二

一、实验目的

交换机的基本配置与VLAN设置

1. 了解交换机的配置方式;

2. 掌握交换机的基本配置与管理方法; 3. 掌握基于交换机的VLAN划分和设置方法。

二、实验要求

1. 按实验内容要求设计网络拓扑结构; 2. 按网络设计要求完成交换机的基本配置; 3. 按网络设计要求完成VLAN的划分与配置; 4. 配置PC机的IP地址、子网掩码及网关; 5. 进行相关测试;

6. 在实验报告上记录配置方法和命令; 7. 对实验结果进行分析讨论; 8. 完成实验思考题;

9. 实验结束提交书面实验报告。

三、实验环境

1. 运行Windows操作系统的PC机一台;

2. PC机上安装有网络实验模拟软件Boson Netsim。

四、实验内容及步骤

1. 启动网络设计器,按图2-1设计一个网络拓扑,在该网络中有一台Cisco2950交换

机和3台PC机,PC1、PC2和PC3分别连接在交换机的第1、第2和第3号端口; 2. 设计完成后,保存该网络拓扑结构;

3. 启动网络模拟器软件,在“File”菜单下,选择“Load Netmap”菜单项,装载刚才

设计好的网络拓扑结构,以模拟出该网络环境; 4. 设置交换机的主机名为C2950;

配置命令:Switch(config)#hostname C2950

5. 配置交换机的特权密码为cisco;

配置命令:C2950(config)#enable password cisco

6. 配置Telnet虚拟终端,允许16个Telnet连接,Telnet登录口令为cisco;

配置命令:C2950(config)#line vty 0 15

C2950(config-line)#password cisco C2950(config-line)#login

//登录口令生效

3

Manipulator is now used as a industrial robots in use, the control objectives often appear often in industrial automation. Industrial automation technology has gradually matured, as mature a technology line has been rapid development in industrial automation as a separate subject. Manipulatorapplication began to filter into welding, logistics, mechanical processing, and other industries. Especially at high or very low temperatures, full of poisonous gases, high radiation case, robot in similar circumstances showed great use also brings great convenience to the staff. Precisely because of this robot to get people's attention began to be a high degree of development. Labor rates, working conditions, labor intensive aspects of promoting development. Both at home and abroad to develop the PLC (programmable logic controller) is in various special circumstances and under special conditions set for mechanical devices. Now turned on the development of the microelectronics automatic control technology and the rapid development of the trains, the success of PLC hardware software and simulation control win big and successful development, now continues to develop as a factory automation standards. Because robots are good development of the technology makes a good optimization of productive capital, and robot shows this unique advantages, such as: has good compatibility, wide availability, hardware is complete, and programming that can be mastered in a short time, so in the context of industrial PLC applications became ubiquitous. Manipulator in many developed country agriculture and industry has been applied, such as the use of mechanical harvesting large areas of farmland, repeated operations on the high-speed line that uses a robotic arm, and so on. Today, the high level of automation combined with restrictions on the manipulator development level is slightly lower than the international. The design is mainly arm welding machine by PLC Automation control. This of design let designers on in school by learn of has a must of consolidation, understand has some usually didn't opportunities awareness in world range within some leading level of knowledge has has must awareness, hope designers can in yihou of design in the can success of using in this design in the proceeds of experience 1.2 manipulator in both at home and abroad of research profile automation mechanical arm research began Yu 20th century medium-term, after years with with computer and automation technology of development, Makes mechanical arm on the Grand stage of industrial automation and shine, gradually became an industrial evaluation standards, and its importance can be seen. Now original robotic arm spent most of mass production and use on the production line, which is programmed robotic arm. As the first generation of manipulator position control systems main features, although not back several generations that can detect the external environment, but can still successfully complete like welding, painting, delivery as well as for materials simple movements. Second generation mechanical arms are equipped with sensors and manipulators have the environment there is a certain amount of \hen the mechanical arm is to use the program as a basis. Difference is that the robot begandC2950(config-line)#exit

7. 配置以太网端口的端口说明、端口速度及通信方式;

配置命令:C2950(config)#int f0/1

C2950(config-if)#description \C2950(config-if)#speed 100 //端口速度100M C2950(config-if)#duplex full //端口设置为全双工

8. 保存交换机配置信息;

配置命令:C2950#copy running-config startup-config

9. 查看交换机配置信息;

配置命令:C2950#show interfaces

10. 创建VLAN2和VLAN3;

配置命令:C2950#vlan database

C2950(vlan)#vlan 2 name myvlan2 C2950(vlan)#vlan 3 name myvlan3

11. 划分VLAN端口;

配置命令:C2950(config)#interface f0/1

C2950(config-if)#switchport mode access C2950(config-if)#switchport access vlan 2 C2950(config-if)#exit C2950(config)#int f0/2

C2950(config-if)#switchport mode access C2950(config-if)#switchport access vlan 2 C2950(config-if)#exit C2950(config)#int f0/3

C2950(config-if)#switchport mode access C2950(config-if)#switchport access vlan 3

12. 配置管理VLAN2和VLAN3的虚拟子端口IP地址;

配置命令:C2950(config)#interface vlan 2

C2950(config-if)#ip address 192.168.2.1 255.255.255.0 C2950(config-if)#no shutdown C2950(config-if)#exit C2950(config)#int vlan 3

C2950(config-if)#ip address 192.168.3.1 255.255.255.0 C2950(config-if)#no shut

13. 验证VLAN设置;

manipulator control mode and programmable controllers introduction 2.1 Select discussion with manipulator control 2.1.1 classification of control relays and discrete electronic circuit can control old industrial equipment, but also more common. Mainly these two relatively cheap and you can meet the old-fashioned, simple (or simple) industrial equipment. So he can see them now, however these two control modes (relay and discrete electronic circuits) are these fatal flaws: (1) cannot adapt to the complex logic control, (2) only for the current project, the lack of compatibility and (3) not reforming the system with equipment improvements. pring for the development of China's modern industrial automation technology the substantial increase in the level of industrial automation, completed the perfect relay of the computer too much. In terms of controlling the computer showed his two great advntages: (1) each of the hardware can be installed on one or more microprocessors; (2) the official designer of the software writing content control is all about. Now in several ways in the context of industrial automation can often be seen in three ways: (1) Programmable Logical Controller (referred to as IPC); (2) Distributed Control System (DCS for short), and (3) the Programmable Logical Controller (PLC for short). 2.1.2 PLC and the IPC and DCS contrast contrast 1, each of the three technologies of origins and development requirements for fast data processing makes it invented the computer. The men brought in terms of hardware there, using a high level of standardization, can use more compatibility tools, is a rich software resources, especially the need for immediacy in operational systems. So the computer can effectively control is used to control and meet its speed, on the virtual model, real-time and in computational requirements. Distributed system started with a control system for industrial automatic instrument used to control, whereas now it is successfully developed into industrial control computer used as a central collection and distribution system and transition of distributed control system in analogue handling, loop control, has begun to reflect the use of a huge advantage. Though distributed system has great advantages in loop regulation, but only as a means of continuous process control. Optimization of PLC is the corresponding relay needs was born, its main use in the work order control, early primary is replaced relay this hulking system, focused on the switch controlling the running order of functions. Marked by the microprocessor in the early 1970 of the 20th century emerged, micro-electronics technology has developed rapidly, people soon microelectronics processing technology will be used in the Programmable Logical Controller (that is

4

《交换机路由器配置》实验指导书

配置命令:C2950#show vlan

14. 分别设置3台PC机的IP地址为192.168.2.11,192.168.2.12,192.168.3.13,子网

掩码为255.255.255.0,网关为192.168.2.1,192.168.2.1,192.168.3.1; 15. 在主机PC1中,分别Ping主机PC2和PC3,检查网络的连通性。

图2-1 网络拓扑结构

五、实验结果及分析

理解实验内容中的每一个步骤,并在实验报告中记录关键步骤的作用及配置方法。

六、实验思考题

1. 本实验中主机PC1和PC2、PC3能Ping通吗?为什么?

2. 本实验中VLAN2和VLAN3能直接通信吗?为什么?如果不能直接通信,那么用

什么办法才能使它们可以互相通信?

5

Manipulator is now used as a industrial robots in use, the control objectives often appear often in industrial automation. Industrial automation technology has gradually matured, as mature a technology line has been rapid development in industrial automation as a separate subject. Manipulatorapplication began to filter into welding, logistics, mechanical processing, and other industries. Especially at high or very low temperatures, full of poisonous gases, high radiation case, robot in similar circumstances showed great use also brings great convenience to the staff. Precisely because of this robot to get people's attention began to be a high degree of development. Labor rates, working conditions, labor intensive aspects of promoting development. Both at home and abroad to develop the PLC (programmable logic controller) is in various special circumstances and under special conditions set for mechanical devices. Now turned on the development of the microelectronics automatic control technology and the rapid development of the trains, the success of PLC hardware software and simulation control win big and successful development, now continues to develop as a factory automation standards. Because robots are good development of the technology makes a good optimization of productive capital, and robot shows this unique advantages, such as: has good compatibility, wide availability, hardware is complete, and programming that can be mastered in a short time, so in the context of industrial PLC applications became ubiquitous. Manipulator in many developed country agriculture and industry has been applied, such as the use of mechanical harvesting large areas of farmland, repeated operations on the high-speed line that uses a robotic arm, and so on. Today, the high level of automation combined with restrictions on the manipulator development level is slightly lower than the international. The design is mainly arm welding machine by PLC Automation control. This of design let designers on in school by learn of has a must of consolidation, understand has some usually didn't opportunities awareness in world range within some leading level of knowledge has has must awareness, hope designers can in yihou of design in the can success of using in this design in the proceeds of experience 1.2 manipulator in both at home and abroad of research profile automation mechanical arm research began Yu 20th century medium-term, after years with with computer and automation technology of development, Makes mechanical arm on the Grand stage of industrial automation and shine, gradually became an industrial evaluation standards, and its importance can be seen. Now original robotic arm spent most of mass production and use on the production line, which is programmed robotic arm. As the first generation of manipulator position control systems main features, although not back several generations that can detect the external environment, but can still successfully complete like welding, painting, delivery as well as for materials simple movements. Second generation mechanical arms are equipped with sensors and manipulators have the environment there is a certain amount of \hen the mechanical arm is to use the program as a basis. Difference is that the robot begand实验三

一、实验目的

路由器的基本配置

1. 了解路由器的工作模式和使用界面; 2. 熟悉Cisco网络设备的基本配置命令; 3. 掌握Cisco路由器的基本配置方式及配置命令; 4. 掌握路由器的基本配置与管理方法。

二、实验要求

1. 按实验内容要求设计网络拓扑结构; 2. 按网络设计要求完成路由器的基本配置; 3. 配置PC机的IP地址、子网掩码及网关; 4. 进行网络连通性测试;

5. 在实验报告上详细记录实验的每一个步骤和任务及该任务的实现方法; 6. 对实验结果进行分析讨论; 7. 完成实验思考题;

8. 实验结束提交书面实验报告。

三、实验环境

1. 运行Windows操作系统的PC机一台;

2. PC机上安装有网络实验模拟软件Boson Netsim。

四、实验内容及步骤

1. 启动网络设计器,按图3-1设计一个网络拓扑,在该网络中有两台Cisco2501路由

器和2台PC机,PC1和PC2分别连接在Router 1和Router 2的以太网端口,两台路由器通过同步串口相连; 2. 设计完成后,保存该网络拓扑结构;

3. 启动网络模拟器软件,在“File”菜单下,选择“Load Netmap”菜单项,装载刚才

设计好的网络拓扑结构,以模拟出该网络环境;

4. 在用户模式下输入“?”,分别按“Enter”键和“Space bar”键,观察其不同,并

了解此模式下可以使用的命令;

5. 进入特权模式,输入“?”,观察此模式下的命令,了解用“q”键退出上下文帮助

模式的方法;

6. 输入“sh?”,观察发生的结果;

7. 输入“sh”,按“Tab”键,观察发生的情况;

8. 分别键入“Up Arrow”、“Ctrl-P”、“Ctrl-A”、“Ctrl-B”、“Ctrl-D”、“Ctrl-E”、“Ctrl-F”

观察结果;

manipulator control mode and programmable controllers introduction 2.1 Select discussion with manipulator control 2.1.1 classification of control relays and discrete electronic circuit can control old industrial equipment, but also more common. Mainly these two relatively cheap and you can meet the old-fashioned, simple (or simple) industrial equipment. So he can see them now, however these two control modes (relay and discrete electronic circuits) are these fatal flaws: (1) cannot adapt to the complex logic control, (2) only for the current project, the lack of compatibility and (3) not reforming the system with equipment improvements. pring for the development of China's modern industrial automation technology the substantial increase in the level of industrial automation, completed the perfect relay of the computer too much. In terms of controlling the computer showed his two great advntages: (1) each of the hardware can be installed on one or more microprocessors; (2) the official designer of the software writing content control is all about. Now in several ways in the context of industrial automation can often be seen in three ways: (1) Programmable Logical Controller (referred to as IPC); (2) Distributed Control System (DCS for short), and (3) the Programmable Logical Controller (PLC for short). 2.1.2 PLC and the IPC and DCS contrast contrast 1, each of the three technologies of origins and development requirements for fast data processing makes it invented the computer. The men brought in terms of hardware there, using a high level of standardization, can use more compatibility tools, is a rich software resources, especially the need for immediacy in operational systems. So the computer can effectively control is used to control and meet its speed, on the virtual model, real-time and in computational requirements. Distributed system started with a control system for industrial automatic instrument used to control, whereas now it is successfully developed into industrial control computer used as a central collection and distribution system and transition of distributed control system in analogue handling, loop control, has begun to reflect the use of a huge advantage. Though distributed system has great advantages in loop regulation, but only as a means of continuous process control. Optimization of PLC is the corresponding relay needs was born, its main use in the work order control, early primary is replaced relay this hulking system, focused on the switch controlling the running order of functions. Marked by the microprocessor in the early 1970 of the 20th century emerged, micro-electronics technology has developed rapidly, people soon microelectronics processing technology will be used in the Programmable Logical Controller (that is

6

《交换机路由器配置》实验指导书

9. 分别输入“show version”、“show interfaces”、“show running-config”、“show terminal”

等命令,观察输出结果;

10. 输入“show start-config”命令,观察输出结果,输入执行“copy running-config

startup-config”命令后,再用“show start-config”命令显示配置信息; 11. 输入“show flash”命令观察内存中的文件信息; 12. 设置两台路由器的主机名分别为R2501A和R2501B;

配置命令:Router(config)#hostname R2501A

Router(config)#hostname R2501B

13. 设置路由器的特权密码为cisco;

配置命令:R2501A(config)#enable password cisco

R2501B(config)#enable secret cisco

14. 配置Telnet虚拟终端,设置5条线路,Telnet登录口令为cisco;

配置命令:R2501A(config)#line vty 0 4

R2501A(config-line)#password cisco R2501A(config-line)#login R2501B(config)#line vty 0 4 R2501B(config-line)#password cisco R2501B(config-line)#login

15. 配置路由器1和路由器2的以太网端口IP地址分别为192.168.1.1和

192.168.2.1;

配置命令:R2501A(config)#interface e0

R2501A(config-if)#ip address 192.168.1.1 255.255.255.0 R2501B(config)#int e0

R2501B(config-if)#ip address 192.168.2.1 255.255.255.0

16. 配置路由器1和路由器2的串口IP地址分别为192.168.10.1和192.168.10.2;

配置命令:R2501A(config)#int s0

R2501A(config-if)#ip address 192.168.10.1 255.255.255.0 R2501B(config)#int s0

R2501B(config-if)#ip address 192.168.10.2 255.255.255.0

17. 分别设置主机PC1和PC2的IP地址为192.168.1.2和192.168.2.2,子网掩码为

255.255.255.0,网关为192.168.1.2和192.168.2.2; 18. 在主机PC1中,Ping主机PC2,检查网络的连通性。

7

Manipulator is now used as a industrial robots in use, the control objectives often appear often in industrial automation. Industrial automation technology has gradually matured, as mature a technology line has been rapid development in industrial automation as a separate subject. Manipulatorapplication began to filter into welding, logistics, mechanical processing, and other industries. Especially at high or very low temperatures, full of poisonous gases, high radiation case, robot in similar circumstances showed great use also brings great convenience to the staff. Precisely because of this robot to get people's attention began to be a high degree of development. Labor rates, working conditions, labor intensive aspects of promoting development. Both at home and abroad to develop the PLC (programmable logic controller) is in various special circumstances and under special conditions set for mechanical devices. Now turned on the development of the microelectronics automatic control technology and the rapid development of the trains, the success of PLC hardware software and simulation control win big and successful development, now continues to develop as a factory automation standards. Because robots are good development of the technology makes a good optimization of productive capital, and robot shows this unique advantages, such as: has good compatibility, wide availability, hardware is complete, and programming that can be mastered in a short time, so in the context of industrial PLC applications became ubiquitous. Manipulator in many developed country agriculture and industry has been applied, such as the use of mechanical harvesting large areas of farmland, repeated operations on the high-speed line that uses a robotic arm, and so on. Today, the high level of automation combined with restrictions on the manipulator development level is slightly lower than the international. The design is mainly arm welding machine by PLC Automation control. This of design let designers on in school by learn of has a must of consolidation, understand has some usually didn't opportunities awareness in world range within some leading level of knowledge has has must awareness, hope designers can in yihou of design in the can success of using in this design in the proceeds of experience 1.2 manipulator in both at home and abroad of research profile automation mechanical arm research began Yu 20th century medium-term, after years with with computer and automation technology of development, Makes mechanical arm on the Grand stage of industrial automation and shine, gradually became an industrial evaluation standards, and its importance can be seen. Now original robotic arm spent most of mass production and use on the production line, which is programmed robotic arm. As the first generation of manipulator position control systems main features, although not back several generations that can detect the external environment, but can still successfully complete like welding, painting, delivery as well as for materials simple movements. Second generation mechanical arms are equipped with sensors and manipulators have the environment there is a certain amount of \hen the mechanical arm is to use the program as a basis. Difference is that the robot begand

图3-1 网络拓扑结构

五、实验结果及分析

1. 理解实验内容中的每一个步骤,并在实验报告中记录相关的输出结果; 2. 说明关键步骤的作用及配置方法。

六、实验思考题

1. 本实验中路由器2的串口IP地址能否设置为192.168.20.1?为什么? 2. 本实验中主机PC1和PC2能Ping通吗?为什么?

manipulator control mode and programmable controllers introduction 2.1 Select discussion with manipulator control 2.1.1 classification of control relays and discrete electronic circuit can control old industrial equipment, but also more common. Mainly these two relatively cheap and you can meet the old-fashioned, simple (or simple) industrial equipment. So he can see them now, however these two control modes (relay and discrete electronic circuits) are these fatal flaws: (1) cannot adapt to the complex logic control, (2) only for the current project, the lack of compatibility and (3) not reforming the system with equipment improvements. pring for the development of China's modern industrial automation technology the substantial increase in the level of industrial automation, completed the perfect relay of the computer too much. In terms of controlling the computer showed his two great advntages: (1) each of the hardware can be installed on one or more microprocessors; (2) the official designer of the software writing content control is all about. Now in several ways in the context of industrial automation can often be seen in three ways: (1) Programmable Logical Controller (referred to as IPC); (2) Distributed Control System (DCS for short), and (3) the Programmable Logical Controller (PLC for short). 2.1.2 PLC and the IPC and DCS contrast contrast 1, each of the three technologies of origins and development requirements for fast data processing makes it invented the computer. The men brought in terms of hardware there, using a high level of standardization, can use more compatibility tools, is a rich software resources, especially the need for immediacy in operational systems. So the computer can effectively control is used to control and meet its speed, on the virtual model, real-time and in computational requirements. Distributed system started with a control system for industrial automatic instrument used to control, whereas now it is successfully developed into industrial control computer used as a central collection and distribution system and transition of distributed control system in analogue handling, loop control, has begun to reflect the use of a huge advantage. Though distributed system has great advantages in loop regulation, but only as a means of continuous process control. Optimization of PLC is the corresponding relay needs was born, its main use in the work order control, early primary is replaced relay this hulking system, focused on the switch controlling the running order of functions. Marked by the microprocessor in the early 1970 of the 20th century emerged, micro-electronics technology has developed rapidly, people soon microelectronics processing technology will be used in the Programmable Logical Controller (that is

8

《交换机路由器配置》实验指导书

实验四

一、实验目的

路由协议配置

1. 熟悉路由器的基本连接和配置方法,了解路由器在网络互连中的作用; 2. 掌握路由器的接口配置方法; 3. 掌握静态路由的创建方法与使用原则; 4. 掌握使用路由协议实现动态路由选择的方法。

二、实验要求

1. 按实验内容要求设计网络拓扑结构; 2. 按网络设计要求完成路由器的端口配置; 3. 规划和配置路由器的IP地址;

4. 通过配置路由器的静态路由,使网络可以互相通信; 5. 使用动态路由协议配置路由器的动态路由; 6. 进行网络连通性测试;

7. 在实验报告上详细记录实验的每一个步骤和配置方法; 8. 对实验结果进行分析讨论; 9. 完成实验思考题;

10. 实验结束提交书面实验报告。

三、实验环境

1. 运行Windows操作系统的PC机一台;

2. PC机上安装有网络实验模拟软件Boson Netsim。

四、实验内容及步骤

1. 启动网络设计器,参照图4-1设计一个网络拓扑,在该网络中选择三台Cisco2500

系统的路由器和3台PC机,三台PC机分别和三台路由器的以太网端口相连,三台路由器通过同步串口互相连接; 2. 设计完成后,保存该网络拓扑结构;

3. 启动网络模拟器软件,在“File”菜单下,选择“Load Netmap”菜单项,装载刚才

设计好的网络拓扑结构,以模拟出该网络环境;

4. 按网络拓扑结构规划和配置所有路由器的网络端口IP地址及掩码地址; 5. 分别设置三台PC机的IP地址、子网掩码和网关; 6. 使用Ping和traceroute等网络命令测试网络的连通性;

7. 在各个路由器中配置静态路由,然后测试路由器之间的连通性; 8. 在各个路由器中配置动态路由协议,然后测试路由器之间的连通性; 9. 使用show ip route命令察看各个路由器的路由;

9

Manipulator is now used as a industrial robots in use, the control objectives often appear often in industrial automation. Industrial automation technology has gradually matured, as mature a technology line has been rapid development in industrial automation as a separate subject. Manipulatorapplication began to filter into welding, logistics, mechanical processing, and other industries. Especially at high or very low temperatures, full of poisonous gases, high radiation case, robot in similar circumstances showed great use also brings great convenience to the staff. Precisely because of this robot to get people's attention began to be a high degree of development. Labor rates, working conditions, labor intensive aspects of promoting development. Both at home and abroad to develop the PLC (programmable logic controller) is in various special circumstances and under special conditions set for mechanical devices. Now turned on the development of the microelectronics automatic control technology and the rapid development of the trains, the success of PLC hardware software and simulation control win big and successful development, now continues to develop as a factory automation standards. Because robots are good development of the technology makes a good optimization of productive capital, and robot shows this unique advantages, such as: has good compatibility, wide availability, hardware is complete, and programming that can be mastered in a short time, so in the context of industrial PLC applications became ubiquitous. Manipulator in many developed country agriculture and industry has been applied, such as the use of mechanical harvesting large areas of farmland, repeated operations on the high-speed line that uses a robotic arm, and so on. Today, the high level of automation combined with restrictions on the manipulator development level is slightly lower than the international. The design is mainly arm welding machine by PLC Automation control. This of design let designers on in school by learn of has a must of consolidation, understand has some usually didn't opportunities awareness in world range within some leading level of knowledge has has must awareness, hope designers can in yihou of design in the can success of using in this design in the proceeds of experience 1.2 manipulator in both at home and abroad of research profile automation mechanical arm research began Yu 20th century medium-term, after years with with computer and automation technology of development, Makes mechanical arm on the Grand stage of industrial automation and shine, gradually became an industrial evaluation standards, and its importance can be seen. Now original robotic arm spent most of mass production and use on the production line, which is programmed robotic arm. As the first generation of manipulator position control systems main features, although not back several generations that can detect the external environment, but can still successfully complete like welding, painting, delivery as well as for materials simple movements. Second generation mechanical arms are equipped with sensors and manipulators have the environment there is a certain amount of \hen the mechanical arm is to use the program as a basis. Difference is that the robot begand10. 通过人为的故障模拟观察路由器的工作情况。

图4-1 网络拓扑结构

五、实验结果及分析

1. 在实验报告中写出详细的实验步骤,并记录相关的输出结果; 2. 写出本实验中IP地址的规划和分配; 3. 分析各种动态路由协议的作用及配置方法。

六、实验思考题

1. 本实验中对路由器的端口有什么要求?为什么?

2. 本实验中三台路由器的IP地址设置有什么要求?为什么?

manipulator control mode and programmable controllers introduction 2.1 Select discussion with manipulator control 2.1.1 classification of control relays and discrete electronic circuit can control old industrial equipment, but also more common. Mainly these two relatively cheap and you can meet the old-fashioned, simple (or simple) industrial equipment. So he can see them now, however these two control modes (relay and discrete electronic circuits) are these fatal flaws: (1) cannot adapt to the complex logic control, (2) only for the current project, the lack of compatibility and (3) not reforming the system with equipment improvements. pring for the development of China's modern industrial automation technology the substantial increase in the level of industrial automation, completed the perfect relay of the computer too much. In terms of controlling the computer showed his two great advntages: (1) each of the hardware can be installed on one or more microprocessors; (2) the official designer of the software writing content control is all about. Now in several ways in the context of industrial automation can often be seen in three ways: (1) Programmable Logical Controller (referred to as IPC); (2) Distributed Control System (DCS for short), and (3) the Programmable Logical Controller (PLC for short). 2.1.2 PLC and the IPC and DCS contrast contrast 1, each of the three technologies of origins and development requirements for fast data processing makes it invented the computer. The men brought in terms of hardware there, using a high level of standardization, can use more compatibility tools, is a rich software resources, especially the need for immediacy in operational systems. So the computer can effectively control is used to control and meet its speed, on the virtual model, real-time and in computational requirements. Distributed system started with a control system for industrial automatic instrument used to control, whereas now it is successfully developed into industrial control computer used as a central collection and distribution system and transition of distributed control system in analogue handling, loop control, has begun to reflect the use of a huge advantage. Though distributed system has great advantages in loop regulation, but only as a means of continuous process control. Optimization of PLC is the corresponding relay needs was born, its main use in the work order control, early primary is replaced relay this hulking system, focused on the switch controlling the running order of functions. Marked by the microprocessor in the early 1970 of the 20th century emerged, micro-electronics technology has developed rapidly, people soon microelectronics processing technology will be used in the Programmable Logical Controller (that is

10

本文来源:https://www.bwwdw.com/article/v076.html

Top