通信工程专业综合实验(共12页).doc
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《通信工程专业综合实验(共12页).doc》由会员分享,可在线阅读,更多相关《通信工程专业综合实验(共12页).doc(12页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、精选优质文档-倾情为你奉上通信工程专业综合实验实验报告计算机网络综合实验实验一、网络设备的基本操作与连接调试实验一、实验内容与目标1.使用Console口登录设备2.使用Telnet终端登录设备3.掌握基本系统操作命令的使用4.掌握基本文件操作命令的使用5.使用TFTP上传下载文件二、实验网络连接将PC的串口通过标准Console电缆与路由器的Console口连接,将PC的网线与路由器的以太网口连接。三、实验设备H3C MSR20/30系列路由器 一台PC 一台Console 串口线 一根第5类UTP以太网连接线 一根四、实验过程(1)实验任务实验任务一:通过Console登录实验任务二:使用
2、路由器系统操作及文件操作的基本命令实验任务三:通过Telnet登录实验任务四:通过TFTP服务器对路由器数据备份(2)实验步骤1、将实验网络按照规定进行连接2、打开PC的超级终端并运行,完成一些基本的操作指令,如两种不同操作模式的切换,更换名字,显示当前配置等。3、将实验中生成的文件夹通过TFTP进行备份。五、配置文件及注释通过TFTP服务器对路由器数据备份如下: # version 5.20, Release 1809P01# sysname yourname super password level 3 simple test /*以明文方式显示密码,缺省的优先级level为3*/# do
3、main default enable system # telnet server enable # dar p2p signature-file flash:/p2p_default.mtd# port-security enable #vlan 1#domain system access-limit disable state active idle-cut disable self-service-url disable #user-group system#local-user admin password cipher .USE=B,53Q=QMAF41! authorizati
4、on-attribute level 3 /*缺省的优先级level为3*/ service-type telnetlocal-user test password simple test service-type telnet#interface Aux0 async mode flow link-protocol ppp#interface Cellular0/0 async mode protocol link-protocol ppp#interface Ethernet0/0 port link-mode route ip address 192.168.0.1 255.255.25
5、5.0 /*以太网接口地址*/#interface Serial0/0 link-protocol ppp#interface NULL0#interface Vlan-interface1 ip address 192.168.1.1 255.255.255.0 /*路由器接口地址*/#interface Ethernet0/1 port link-mode bridge#interface Ethernet0/2 port link-mode bridge#interface Ethernet0/3 port link-mode bridge#interface Ethernet0/4 p
6、ort link-mode bridge#subscriber-line1/0#subscriber-line1/1# load xml-configuration # load tr069-configuration#user-interface tty 12user-interface aux 0user-interface vty 0 4 authentication-mode scheme #return六、实验分析和所遇的问题本次实验的验证过程是通过ping实现的,ping是测试IP网络通断的一个重要命令,在pc上支持这条指令,在路由器上也支持,不论你进入到console还是teln
7、et方式管理路由器时,你实际上是在操作路由器,这时发出的各种指令都是从路由器上发出的。ping指令有两种应用,一种是在超级终端上进行,通过键入ping和串口的地址可以实现PC和路由器之间通断的检测;另一种是在命令行窗口中键入ping和另一台PC的IP地址可以检测两台计算机是否可以进行通信。在实验过程中出现了下面一些问题:配置和计算机连接的以太口和PC网卡地址时需使路由器以太口和PC网卡地址处于同一网段,否则无法得到成功的ping结果;在数据备份时,tftp服务器中的server的地址是安装此软件的计算机的IP地址。七、思考题1. 路由器中的FLASH相当于普通电脑中的什么功能?答:相当于普通电
8、脑中内存储器的功能。2. 路由器中的current-configuration和saved-configuration的比较?答:current-configuration指系统当前运行的配置,saved-configuration指当前系统的FLASH中保存的配置。运行的配置暂时保存在随机存储器RAM中,而不是固定存储在FLASH中。因此指令display current-configuration可以显示系统当前运行的配置, 指令display saved-configuration需要先通过save命令保存配置后才可以显示,否则会显示配置文件不存在 。3. 在实验一的实验任务四的步骤一中
9、,如果不使用level 3命令,后续实验会有何结果?答:如果不使用level 3命令,用户缺省的优先级为level 0,只能使用有限的几个命令,在后续实验中将不能通过dir命令查看当前系统包含的文件,也不能将路由器上的文件备份到TFTP服务器上。实验二、 网络交换机实验一、实验内容与目标 1、掌握VLAN的基本工作原理2、掌握Access 链路端口和Trunk链路端口的基本配置二、实验网络连接 路由器和交换机通过串口电缆连接,路由器以太网口通过网线连接一台PC,另一台PC通过网线连接到交换机端口上。两台计算机分别连接23和24接口。三、实验过程(两组)(1)实验任务:实验任务一:配置Acces
10、s链路端口实验任务二:配置Trunk链路端口(2)实验步骤1、将实验网络按照规定进行连接 2、将一台PC的IP设置为192.168.0.5(我组),将与其相连的路由器接口设置为192.168.0.1,将RTA与RTB相连的那个端口地址设为192.168.2.1,对另一台PC(另一组)进行相似的设置,分别设置为192.168.3.5 ,192.168.3.1 ,192.168.2.2 。一组在交换机上查看VLAN(另一组在路由器上查看VLAN),在每台计算机上创建VlAN2并用ping指令测试互通性。3、配置Trunk链路端口跨交换机进行VLAN互通测试,再配置Trunk链路端口并进行VLAN互
11、通测试。4、启用802.1x协议并创建本地用户,并进行登录验证。四、配置文件及注释 1、配置Access链路端口(我们组配置SWA):#interface Ethernet0/1 /*设置SWA路由器以太网接口0/1、0/2为vlan2,接口0/3、0/4为默认值vlan1*/ port link-mode bridge port access vlan 2#interface Ethernet0/2 port link-mode bridge port access vlan 2#interface Ethernet0/3 port link-mode bridge#interface Et
12、hernet0/4 port link-mode bridge# load xml-configuration# load tr069-configuration#user-interface tty 12user-interface aux 0user-interface vty 0 4#另一组为:SWBdisplay vlan 1 /*初始时交换机上接口全为vlan1*/ VLAN ID: 1 VLAN Type: static Route Interface: not configured Description: VLAN 0001 Name: VLAN 0001 Tagged Por
13、ts: none Untagged Ports: Ethernet1/0/1 Ethernet1/0/2 Ethernet1/0/3 Ethernet1/0/4 Ethernet1/0/5 Ethernet1/0/6 Ethernet1/0/7 Ethernet1/0/8 Ethernet1/0/9 Ethernet1/0/10 Ethernet1/0/11 Ethernet1/0/12 Ethernet1/0/13 Ethernet1/0/14 Ethernet1/0/15 Ethernet1/0/16 Ethernet1/0/17 Ethernet1/0/18 Ethernet1/0/19
14、 Ethernet1/0/21 Ethernet1/0/22 Ethernet1/0/23 GigabitEthernet1/1/1 GigabitEthernet1/2/1SWBdisplay vlan 2 /*设置交换机接口2和24为 Vlan2*/ VLAN ID: 2 VLAN Type: static Route Interface: not configured Description: VLAN 0002 Name: VLAN 0002 Tagged Ports: Ethernet1/0/2 Untagged Ports: Ethernet1/0/24分析:当把PCA主机接在路由
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 通信工程 专业 综合 实验 12
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内