ImageVerifierCode 换一换
格式:DOCX , 页数:19 ,大小:597.76KB ,
资源ID:19116947      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/19116947.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(网络工程实验基于华为路由器交换机Word文档格式.docx)为本站会员(b****6)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

网络工程实验基于华为路由器交换机Word文档格式.docx

1、switch-Ethernet0/3quitswitchdis currswitchinterface vlan 1switch-Vlan-interface1ip address 10.65.1.8 255.255.0.0switch-Vlan-interface1quitswitchip route-static 0.0.0.0 0.0.0.0 10.65.1.2switchip default-gateway 10.65.1.2switchsave(4)配置主机地址login:rootlinuxrootPCA root#ifconfig eth0 10.65.1.1 netmask 25

2、5.255.0.0rootPCA root#ifconfigrootPCA root#route add default gw 10.65.1.2rootPCA root#route(5)主机与交换机间的连通测试rootPCA root#ping 10.65.1.8rootPCA root#telnet 10.65.1.84思考总结(1)特权密码的作用是什么?密码丢失如何处理?(2)主机地址与交换机IP地址设置应注意哪些问题。、实验2 端口聚合配置(1)熟悉端口聚合命令的使用场合与注意事项(2)掌握端口聚合配置的基本方法(3)了解端口的属性类型3实验容步骤(1)打开实验软件调用两台交换机并按实

3、验拓扑连接(2)配置交换机A的端口参数端口E0/1Quidwaysysname SwitchASwitchAinterface ethernet0/1SwitchA-Ethernet0/1duplex fullSwitchA-Ethernet0/1speed 100SwitchA-Ethernet0/1port link-type trunkSwitchA-Ethernet0/1port trunk permit vlan all端口E0/2SwitchA-Ethernet0/1int e0/2SwitchA-Ethernet0/2duplex fullSwitchA-Ethernet0/2s

4、peed 100SwitchA-Ethernet0/2port link-type trunkSwitchA-Ethernet0/2port trunk permit vlan all(3) 配置交换机B的端口参数Quidwaysysname SwitchBSwitchBinterface ethernet0/1SwitchB-Ethernet0/1duplex fullSwitchB-Ethernet0/1speed 100SwitchB-Ethernet0/1port link-type trunkSwitchB-Ethernet0/1port trunk permit vlan allS

5、witchB-Ethernet0/1int e0/2SwitchB-Ethernet0/2duplex fullSwitchB-Ethernet0/2speed 100SwitchB-Ethernet0/2port link-type trunkSwitchB-Ethernet0/2port trunk permit vlan all(4) 配置端口聚合SwitchAlink-aggregation ethernet0/1 to ethernet0/2 bothSwitchBlink-aggregation ethernet0/1 to ethernet0/2 bothSwitchAdispl

6、ay link-aggregation ethernet0/1SwitchAundo link-aggregation all(1)TRUNK端口可否属于多个VLAN?(2)如何测试TRUNK端口的工作状态?实验3 VLAN的配置(1)掌握VLAN命令使用的基本原则(2)掌握VLAN划分的规则(3)熟悉VLAN地址的分配方法(4)学会如何测试VLAN间的连通性3实验容与步聚(1)调用主机和交换机并按拓扑结构连(2)配置交换机A的VLANSwitchAvlan 2SwitchA-vlan2port e0/2SwitchA-vlan2port e0/3 to e0/4SwitchA-vlan2vl

7、an 3SwitchA-vlan3port e0/5 to e0/6SwitchAdis vlan allSwitchAdis current(3)配置交换机B的VLANSwitchBvlan 2SwitchB-vlan2port e0/3 to e0/4SwitchB-vlan2vlan 3SwitchB-vlan3port e0/5 to e0/6SwitchB-vlan3quitSwitchBdis vlan allSwitchBdis current(4)配置主机的IP设置计算机的IP为:PCA:10.65.1.1 PCB:10.66.1.1 PCC:10.65.1.3 PCD:10.

8、66.1.3(5)测试VLAN的连通性rootPCA root#ping 10.65.1.1 通 (本机IP)rootPCA root#ping 10.65.1.3 不通 (中间连接线是vlan 1)rootPCA root#ping 10.66.1.1 不通 (不同网络,不同vlan)rootPCA root#ping 10.66.1.3 不通 (不同网络,不同vlan)rootPCB root#ping 10.66.1.3 不通 (中间连接线是vlan 1)4思考与总结(1)不同交换机的端口是不可在同一VLAN上?(2)不同VLAN间主机是否可以通信?(3)不同交换机上相同ID的VLAN可

9、否通信?实验4 VLAN的高级配置(1)学习主VLAN与附VLAN的配置方法(2)了解主VLAN与子VLAN的关系(3)了解子VLAN间的连通关系(4)学会用VLAN技术管理网络SwitchA-vlan2port ethernet 0/5 to ethernet 0/6SwitchAvlan 3SwitchA-vlan3port ethernet 0/7 to ethernet 0/8SwitchAvlan 5SwitchA-vlan5port ethernet 0/1 to ethernet 0/4SwitchA-vlan5isolate-user-vlan enable ;vlan5是主v

10、lanSwitchA-vlan5quitSwitchAisolate-user-vlan 5 secondary 2,3 ;vlan2,3是子vlanSwitchB-vlan2port ethernet 0/5 to ethernet 0/6SwitchBvlan 3SwitchB-vlan3port ethernet 0/7 to ethernet 0/8SwitchAvlan 4SwitchB-vlan4port ethernet 0/1 to ethernet 0/4SwitchB-vlan4isolate-user-vlan enable ;vlan4是主vlanSwitchB-vla

11、n4quitSwitchBisolate-user-vlan 4 secondary 2,3 ;(4)按拓扑结构配置主机地址:()测试主与子的连通性()测试子间的边通性思考与总结()分析主与附的连通性()分析子间的连能性()附设置的必要性分析实验5 交换机STP的配置(1)了解STP配置的目的和用途(2)了解STP解决广播风暴的基本原理(3)学会STP配置方法(2)启动各交换机的STP协议及优先级Quidwaystp enable|disableQuidwaystp priority 4096 设置交换机的优先级Quidwaystp root primary 设置交换机为树根Quidway-E

12、thernet0/1stp cost 200 设置交换机端口的花费(3)查看STP的运行情况Quidwaydisplay stp(4)查看端口STP状态运行信息Quidwaydisplay stp interface Ethernet 0/7(1)分析STP抑制广播风暴的基本原理(2)分析STP应用的环境要求实验6 直连路由测试(1)掌握访问路由器的基本方法(2)掌握主机与路由连通的测试(3)网关的配置与连通性测试(1)调用路由器及主机,按拓扑结构要求连接设备(2)配置路由器口令及端口IPQuidwayinterface ethernet0/0Quidway-Ethernet0/0ip add

13、r 10.65.1.2 255.255.255.0Quidway-Ethernet0/0undo shutdownQuidway-Ethernet0/0int e0/1Quidway-Ethernet0/1ip addr 10.66.1.2 255.255.255.0Quidway-Ethernet0/1undo shutdown 激活端口(3)配置主机IP地址rootPCB root#ifconfig eth0 10.66.1.1 netmask 255.255.0.0(4)主机与路由器的连通性测试rootPCA root#ping 10.65.1.2 (通,没网关只能ping直连的口)ro

14、otPCA root#ping 10.66.1.2 (不通,PCA 没有设置网关)(5)网关的配置与连通性测试rootPCA root#ping 10.66.1.2 (通)rootPCA root#ping 10.66.1.1 (不通,因PCB没有网关)rootPCB root#route add default gw 10.66.1.2rootPCA root#ping 10.66.1.1 (通)(6)主机与路由端口连通性测试去掉计算机Host B与Router的连线,再ping:rootPCA root#ping 10.66.1.2 不通(没有接线端口会自动down掉)再连接Host B与

15、Router的连线,再ping:(1)分析网关地址与网络连通的关系(2)通过实验结果分析路由端口配置的技术要求实验7 单臂路由测试(1)学习交换机与路由器通信的基本原理(2)学习子接口的应用(3)学习子接口与VLAN配置的对应关系(4)学习主机与路由的连通性测试(1)调用路由器、交换机和主机,按拓扑结构要求连接设备(2)配置主机IP和网关设置PCA ip:10.65.1.1 gateway:10.65.1.2设置PCB ip:10.66.1.1 gateway:10.66.1.2(3)配置子接口两个IP的情况Quidway-Ethernet0/0ip addr 10.66.1.2 255.25

16、5.255.0 secondaryrootPCA root#ping 10.66.1.1 (4)划分两个子接口与两个vlan的路由应关系SwitchA-vlan2port e0/3SwitchA-vlan3port e0/6 SwitchAine e0/1SwitchA-Ethernet0/1port trunk encap dot1qSwitchAdis currQuidwayint e0/0SwitchA-Ethernet0/0int e0/0.1SwitchA-Ethernet0/0.1encapsulation dot1q 2SwitchA-Ethernet0/0.1ip addr 1

17、0.65.1.2 255.255.255.0SwitchA-Ethernet0/0.1nudo shutSwitchA-Ethernet0/0.1int e0.2SwitchA-Ethernet0/0.2encapsulation dot1q 2SwitchA-Ethernet0/0.2ip addr 10.66.1.2 255.255.255.0SwitchA-Ethernet0/0.2nudo shut(5)连通性测试rootPCA root#ping 10.66.1.1 通(1)分析子接口的作用(2)总结子接口配置的关键技术指标实验8 静态路由实验(1)了解静态路由配置的环境要求(2)掌

18、握静态路由的配置方法(3)学会查看路由表,分析路由参数(1)调用设备并按拓扑要求连接设备(2)配置主机地址10.65.1.1 netmask 255.255.0.0PCB:10.71.1.1 netmask 255.255.0.0PCC:10.66.1.1 netmask 255.255.0.0(3)配置路由器A端口RouterAinterface ethernet0/0RouterA-Ethernet0/0ip addrress 10.65.1.2 255.255.0.0RouterA-Ethernet0/0undo shutdownRouterA-Ethernet0/0int e0/1Ro

19、uterA-Ethernet0/1ip addrress 10.66.1.2 255.255.0.0RouterA-Ethernet0/1undo shutdownRouterA-Ethernet0/1int s0/1RouterA-Serial0/1ip addrress 10.68.1.2 255.255.0.0RouterA-Serial0/1undo shutdownRouterA-Serial0/1clock rate 64000RouterA-Serial0/1quitRouterAip routingRouterAdis curr(4)配置路由器B端口RouterBinterfa

20、ce ethernet0/0RouterB-Ethernet0/0ip addrress 10.70.1.2 255.255.0.0RouterB-Ethernet0/0undo shutdownRouterB-Ethernet0/0int e0/1RouterB-Ethernet0/1ip addrress 10.71.1.2 255.255.0.0RouterB-Ethernet0/1undo shutdownRouterB-Ethernet0/1int s0/0RouterB-Serial0/0ip addrress 10.68.1.1 255.255.0.0RouterB-Serial

21、0/0undo shutdownRouterB-Serial0/0quitRouterBip routingRouterBdis curr(5)配置主机A的网关及以太网端口IP(6)测试主机A与路由器的连能性rootPCA root#ping 10.65.1.2 通rootPCA root#ping 10.66.1.2 通rootPCA root#ping 10.67.1.2 通rootPCA root#ping 10.68.1.2 不通rootPCA root#ping 10.69.1.2 不通RouterAip route-static 10.69.0.0 255.255.0.0 10.6

22、7.1.1rootPCA root#ping 10.69.1.1 通(7)配置路由器的静态路由 设置RouterA的IP:f0/0: 10.65.1.2 -10.65.1.1f0/1: 10.66.1.2 -10.66.1.1s0/0: 10.67.1.2s0/1: 10.68.1.2 -接RouterC s0/0 设置RouterB的IP: 10.78.1.1 10.69.1.1 10.70.1.2 -PCD:10.70.1.1 (8)设置从PCA到PCC的静态路由ROAip routingROAip route-static 10.69.0.0 255.255.0.0 10.68.1.1R

23、OAdisplay ip routeROBip route-static 10.69.0.0 255.255.0.0 10.78.1.1ROBdisplay ip route(9)连通性测试rootPCA root#ping 10.69.1.1 (通)rootPCA root#ping 10.78.1.1 (不通)rootPCA root#ping 10.70.1.1 (不通)(1)分析实验结果,为什么PCA 到10.78.1.1不通?(2)查看路由表分析路由表各项参数实验9 动态路由实验(1)了解动态路由协议的使用环境(2)学会动态路由的配置方法(3)学会子网连通性的测试(4)动态路由与静态路由的应用对比3实验步骤与容(1)调用设备并按拓扑要求连接(2)配置路由器的动态路由协议RouterArip version 2 multicastRouterA-ripnetwork 10.0.0.0 ;可以用allRouterA-ripip routingRouterBrip version 2 multicastRouterB-ripnetwork 10.0.0.0Rou

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1