首页 网络工程实验(基于华为路由器_交换机)

网络工程实验(基于华为路由器_交换机)

举报
开通vip

网络工程实验(基于华为路由器_交换机)网络工程实验指导书(基于华为路由器交换机)信管专业用实验1计算机和交换机的基本设置实验目的(1)学会计算机网中主机IP地址和网关地址的设置。(2)掌握主机与交换机间连通测试。(3)掌握交换机端口参数的设置,熟悉交换机私有地址的设定规则。实验拓扑结构S3026EO/1E0於EOZ3EO/4EO/5EChEED/7EO/8口|口田口LJ田口口SwitchATFTP/HostAHostB10.65.1.110.65.1.2实验容与步骤(1)打开软件调用交换机和主机,建立实验拓扑要求的连接。(2)配置交换机名和密码,操作如...

网络工程实验(基于华为路由器_交换机)
网络工程实验指导 关于书的成语关于读书的排比句社区图书漂流公约怎么写关于读书的小报汉书pdf (基于华为路由器交换机)信管专业用实验1计算机和交换机的基本设置实验目的(1)学会计算机网中主机IP地址和网关地址的设置。(2)掌握主机与交换机间连通测试。(3)掌握交换机端口参数的设置,熟悉交换机私有地址的设定规则。实验拓扑结构S3026EO/1E0於EOZ3EO/4EO/5EChEED/7EO/8口|口田口LJ田口口SwitchATFTP/HostAHostB10.65.1.110.65.1.2实验容与步骤(1)打开软件调用交换机和主机,建立实验拓扑 要求 对教师党员的评价套管和固井爆破片与爆破装置仓库管理基本要求三甲医院都需要复审吗 的连接。(2)配置交换机名和密码,操作如下:Quidway>systempassword:[Quidway]sysnameswitch;交换机命名[switch]superpasswordsimple111;设置特权密码[switch]user-interfacevty04[switch-ui-vtyO-4]authentication-modepassword[switch-ui-vty0-4]setauthentication-modepasswordsimple222[switch-ui-vty0-4]userprivilegelevel3[switch-ui-vty0-4]quit[switchjquit(3)配置并查#VLANswitch]vlan2[switch-vlan2]portethernet0/2[switch-vlan2]porte0/4toetO/6[switch-vlan2]quit[switch]disvlan[switch]inteO/3[switch-EthernetO/3]portaccessvian2[switch-EthernetO/3]quit[switch]disvlan[switchjdiscurr[switch]interfacevlan1[switch-Vlan-interfacel]ipaddress10.65.1.8255.255.0.0[switch-Vlan-interface1]quit[switch]iproute-static0.0.0.00.0.0.010.65.1.2[switch]ipdefault-gateway10.65.1.2[switchjdiscurr[switch]save(4)配置主机地址login:rootpassword:1inux[rootPCArootlttifconfigethO10.65.1.1netmask255.255.0.0[rootPC/\root]#ifconfig[rootPCAroot]#routeadddefaultgw10.65.1.2[rootPCAroot]#route(5)主机与交换机间的连通测试[rootPC/\root]#ping10.65.1.8[rootPC/Xrootltftelnet10.65.1.8思考总结特权密码的作用是什么?密码丢失如何处理?主机地址与交换机IP地址设置应注意哪些问題。实验2端口聚合配置实验目的(1)熟悉端口聚合命令的使用场合与注意事项(2)掌握端口聚合配置的基本 方法 快递客服问题件处理详细方法山木方法pdf计算方法pdf华与华方法下载八字理论方法下载 (3)了解端口的属性类型实验拓扑结构SwitchA实验容步骤(1)打开实验软件调用两台交换机并按实验拓扑连接(2)配置交换机A的端口参数端口E0/1[Quidway]sysnameSwitchA[Switch?\]interfaceethernetO/1[Switch/\-Etherne10/1]dup1exful1[Switch/\-EthernetO/1]speed100[SwitchA-EthernetO/l]portlink-typetrunk[SwitchA-Ethernet0/1]porttrunkpermitvlanall端口EO/2[SwitchA-EthernetO/1]inteO/2[SwitchA-EthernetO/2]duplexful1[SwitchA-EthernetO/2]speed100[SwitchA-EthernetO/2]portlink-typetrunk[Switch/\-EthernetO/2]porttrunkpermitvlanall(3)配置交换机B的端口参数[Quidway]sysrmmeSwitchB[SwitchB]interfaceethernetO/1[SwitchB-Ethernet0/1]dup1exful1[SwitchB-EthernetO/1]speed100[SwitchB-EthernetO/1]portlink-typetrunk[SwitchB-EthernetO/1]porttrunkpermitvlanall[SwitchB-EthernetO/1]inteO/2[SwitchB-EthernetO/2]duplexful1link-typetrunktrunkpermitvlanall[SwitchB-EthernetO/2]speed100[SwitchB-EthernetO/2]port[SwitchB-EthernetO/2]port配置端口聚合[Switch/\]link-aggregation[SwitchB]1ink-aggregationethernetO/1toethernetO/2bothethernetO/1toethernetO/2both[Switch/\]displaylink-aggregationethernetO/1[Switch/\]undolink-aggregational1思考总结TRUNK端口可否属于多个VLAN?如何测试TRUNK端口的工作状态?实验3VLAN的配置实验目的掌握VLAN命令使用的基本原则掌握VLAN划分的规则熟悉VLAN地址的分配方法学会如何测试VLAN间的连通性实验拓扑结构(2)配置交换机A的VLAN[SwitchA]vlan2[Switch/\-vlan2]port[Switch/\-vlan2]port[Switch/\-vlan2]vlan[Switch/\-vlan3]porteO/2eO/3to3eO/5toeO/4eO/6SwitchASwitchB[53026EO/2EO/3EO/4EO/5EO^E0/7E0/?I$3026EO/1E0Z2E0Z3EO/4EO/5EO/5E0Z7E0«1口口国口口囚口虽l区口国口口因口口TFjpIJL001gHostAHostBHostCHostD10.65.1.110.66.1.110.65.1.310.66.1.33.实验容与步聚(1)调用主机和交换机并按拓扑结构连[SwitchA]disvlanall[Switch/\]discurrent(3)配置交换机B的VIAN[SwitchB]vlan2[SwitchB-vlan2]porteO/3toeO/4[SwitchB-vlan2]vlan3[SwitchB-vlan3]porteO/5toeO/6[SwitchB-vlan3]quit[SwitchB]disvlanall[SwitchB]discurrent(4)配置主机的IP设置计算机的IP为:PCA:10.65.1.1PCB:10.66.1.1测试VLAN的连通性[rootPCAroot]#ping10.65.11[rootPCAroot]#ping10.65.13[rootPCAroot]#ping10.66.11[rootPCAroot]#ping10.66.13[rootPCBroot]#ping10.66.134.思考与总结PCC:10.65.1.3PCD:10.66.1.3通(本机IP)不通(中间连接线是vlan1)不通(不同网络,不同vlan)不通(不同网络,不同vlan)不通(中间连接线是vlan1)(1)不同交换机的端口是不可在同一VLAN上?(2)不同VLAN间主机是否可以通信?(3)不同交换机上相同ID的VLAN可否通信?实验4VLAN的高级配置实验目的学习主VLAN与附VLAN的配置方法了解主VLAN与子VLAN的关系了解子VLAN间的连通关系学会用VLAN技术管理网络实验拓扑结构OYYILI^IILJHostC10.65.1.3HostD1Q65.1.4HostAHostB10.651110.65.1.2实验容与步骤调用主机和交换机并按拓扑结构连配置交换机八的VLAN[SwitchA]vlan2[SwitchA-vlan2]portethernet0/5toethernet0/6[SwitchA]vlan3[SwitchA-v1an3]portethernet0/7toethernet0/8[SwitchA]vian5;vlan5是主vlan[SwitchA-vlan5]portethernet0/1toethernet0/4[SwitchA-vlan5]isolate-user-vlanenable[SwitchA-vlan5]quit[SwitchA]isolate-user-vlan5secondary2,3;3是子vlan(3)配置交换机B的VLAN[SwitchB]vlan2[SwitchB-vlan2]portethernet0/5toethernet0/6[SwitchB]vlan3[SwitchB-vlan3]portethernet0/7toethernet0/8[SwitchA]vlan4;vlan4是主vlan;vlan2,3是子vlan[SwitchB-vlan4]portethernet0/1toethernet[SwitchB-vlan4]isolate-user-vlanenable[SwitchB-vlan4]quit[SwitchB]isolate-user-vlan4secondary2,3(4)按拓扑结构配置主机地址A:10・65・]I・1B:10・65・]I・2C:10・65・]I・3D:10・65・]I・4(5)测试主VLAN与子VLAN的连通性(6)测试子VLAN间的边通性4・思考与总结(1) 分析 定性数据统计分析pdf销售业绩分析模板建筑结构震害分析销售进度分析表京东商城竞争战略分析 主与附VLAN的连通性(2)分析子VLAN间的连能性(3)附VLAN设置的必要性分析实验5交换机STP的配置实验目的(1)了解STP配置的目的和用途(2)了解STP解决广播风暴的基本原理(3)学会STP配置方法实验拓扑结构3.实验容与步聚(1)调用主机和交换机并按拓扑结构连(2)启动各交换机的STP协议及优先级[Quidway]stp{enabledisable}[Quidwayjstppriority4096设置交换机的优先级[Quidwayjstprootprimary设置交换机为树根[Quidway-EthernetO/1]stpcost200(3)查看STP的运行情况[Quidway]displaystp(4)查看端口STP状态运行信息设置交换机端口的花费[Quidway]displaystpinterfaceEthernet0/74.思考与总结(1)分析STP抑制广播风暴的基本原理(2)分析STP应用的环境要求实验6直连路由测试实验目的(1)掌握访问路由器的基本方法(2)掌握主机与路由连通的测试(3)网关的配置与连通性测试实验拓扑结构RouterAHostAHost曰10.651110.66.1.13.实验容与步骤(1)调用路由器及主机,按拓扑结构要求连接设备(2)配置路由器口令及端口IPsystempassword:[Quidway]interfaceethernet0/0[Quidway-EthernetO/O]ipaddr10.65.1.2[Quidway-Ethernet0/0]undoshutdown[Quidway-Ethernet0/0]inte0/l[Quidway-EthernetO/1]ipaddr10.66.1.2[Quidway-Etherne10/1]undoshutdown(3)配置主机IP地址[rootPCArootjtfifconfigethO10.65.1.1[rootPCBrootlttifconfigethO10.66.1.1(4)主机与路由器的连通性测试[rootPCAroot]#ping10.65.1.2[rootPCAroot]#ping10.66.1.2(5)网关的配置与连通性测试[rootPC/\root]#ping10.65.1.2[rootPCAroot]#ping10.66.1.2255.255.255.0255.255.255.0激活端口netmask255.255.0.0netmask255.255.0.0(通,没网关只能ping直连的口)(不通,PCA没有设置网关)(通,没网关只能ping直连的口)(不通,PCA没有设置网关)[rootPC/\rootlttrouteadddefaultgw10.65.1.2[rootPCAroot]tiping10.66.1.2(通)[rootPCAroot]#ping10.66.1.1(不通,因PCB没有网关)[rootPCBroot]#routeadddefaultgw10.66.1.2[rootPCAroot]#ping10.66.1.1(通)(6)主机与路由端口连通性测试去掉计算机HostB与Router的连线,再ping:[rootPCAroot]#ping10.66.1.2不通(没有接线端口会自动down掉)再连接HostB与Router的连线,再ping:[rootPCArootlttping10.66.1.2(通)思考与总结(1)分析网关地址与网络连通的关系(2)通过实验结果分析路由端口配置的技术要求实验7单臂路由测试实验目的(1)学习交换机与路由器通信的基本原理(2)学习子接口的应用(3)学习子接口与VLA7配置的对应关系(4)学习主机与路由的连通性测试实验拓扑结构RouterAHostAHost曰实验容与步骤(1)调用路由器、交换机和主机,按拓扑结构要求连接设备(2)配置主机IP和网关设置PCAip:10.65.1.1gateway:10.65.L2设置PCBip:10.66.1.1gateway:10.66.L2(3)配置子接口两个IP的情况systempassword:[Quidway]interfaceethernet0/0[Quidway-Etherne10/0]undoshutdown[Quidway-Ethernet0/0]ipaddr10.65.1.2255.255.255.0[Quidway-Ethernet0/0]ipaddr10.66.1.2255.255.255.0secondary[rootPCAroot]#ping10.66.1.1(4)划分两个子接口与两个vlan的路由应关系[SwitchA]vlan2[Switch/\-vlan2]porteO/3[SwitchA]vlan3[Switch/\-vlan3]porteO/6[SwitchA]ineeO/1[SwitchA-Ethernet0/1]portlink-typetrunk[SwitchA-EthernetO/llporttrunkpermitvlanall[SwitchA-EthernetO/l]porttrunkencapdotlq[SwitchA]discurr[Quidway]inte0/0[SwitchA-EthernetO/O]inte0/0.1[SwitchA-Ethernet。/0.l]encapsulationdotlq2[SwitchA-EthernetO/O.l]ipaddr10.65.1.2255.255.255.0[SwitchA-EthernetO/O.l]nudoshut[SwitchA-EthernetO/O.l]inteO.2[Switchz\-EthernetO/O.2]encapsulationdotlq2[SwitchA-EthernetO/O.2]ipaddr10.66.1.2255.255.255.0[SwitchA-Ethernet0/0.2]nudoshut[SwitchA]discurr(5)连通性测试[rootPCAroot]#ping10.66.1.1通思考与总结(1)分析子接口的作用(2)总结子接口配置的关键技术指标实验8静态路由实验实验目的(1)了解静态路由配置的环境要求(2)掌握靜态路由的配置方法(3)学会查看路由 关于同志近三年现实表现材料材料类招标技术评分表图表与交易pdf视力表打印pdf用图表说话 pdf ,分析路由参数实验拓扑结构RouterBHostA10.65.1.13-实验容与步骤(1)调用设备并按拓扑要求连接设备(2)配置主机地址PCA:10.65.1.1netmask255.255.0.0PCB:10.71.1.1netmask255.255.0.0PCC:10.66.1.1netmask255.255.0.0(3)配置路由器A端口[Router/\]interfaceethernet0/0[RouterA-EthernetO/O]ipaddrress10.65.1.2255.255.0.0[Router?\-Etherne10/0]undoshutdown[RouterA-Ethernet0/0]inte0/l[RouterA-EthernetO/1]ipaddrress10.66.1.2255.255.0.0[RouterA~Ethernet0/1]undoshutdown[RouterA-EthernetO/1]ints0/l[RouterA-SerialO/1]ipaddrress10.6&1.2255.255.0.0[RouterA-Seria10/1]undoshutdown[RouterA-Seria10/1]clockrate64000[RouterA-Serial0/1]quit[RouterA]iprouting[Router/\]discurr(4)配置路由器B端口[RouterB]interfaceethernet0/0[RouterB-Etherne10/0]ipaddrress10.70.1.2255.255.0.0[RouterB-EthernetO/Olundoshutdown[RouterB-Ethernet0/0]inte0/l[RouterB-EthernetO/1]ipaddrress10.71.1.2255.255.0.0[RouterB-EthernetO/1]undoshutdown[RouterB-EthernetO/1]ints0/0[RouterB-Seria10/0]ipaddrress10.68.1.1255.255.0.0[RouterB-Seria10/0]undoshutdown[RouterB-Serial0/0]quit[RouterB]ip1'outing[RouterBldiscurr(5)配置主机A的网关及以太网端口IP[rootPCAroot]#ifconfigethO10.65.1.1netmask255.255.0.0[rootPCAroot]#routeadddefaultgw10.65.1.210.65.1.2通10.66.1.2通(6)测试主机八与路由器的连能性[rootPCAroot]#ping[rootPCAroot]#ping[rootPCAroot]#ping10.67.1.2通[rootPCAroot]#ping10.68.1.2不通[rootPCAroot]#ping10.69.1.2不通[RouterA]iproute-static10.69.0.0255.255.0.010.67.1.1[rootPCAroot]#ping10.69.1.1通(7)配置路由器的静态路由设置RouterA的IP:f0/0:10.65.1.2——>PCA:10.65.1.1f0/l:10.66.1.2—->PCB:10.66.1.1s0/0:10.67.1.2s0/l:10.68.1.2―->接RouterCs0/0设置RouterB的IP:s0/0:10.7&1.1<——sO/1:10.67.1.1f0/0:10.69.1.2——>PCC:10.69.1.1fO/1:10.70.1.2—->PCD:10.70.1.1(8)设置从PCA到PCC的靜态路由[ROA]iprouting[ROA]iproute-static10.69.0.0255.255.0.010.68.1.1[ROA]displayiproute[ROB]iproute-static10.69.0.0255.255.0.010.78.1.1[ROB]displayiproute(9)连通性测试[rootPCAroot]#ping10.69.1.1(通)[rootPCAroot]#ping10.78.L1(不通)[rootPCAroot]#ping10.70.1.1(不通)4.思考与总结(1)分析实验结果,为什么PCA到10.7&1.1不通?(2)查看路由表分析路由表各项参数实验9动态路由实验实验目的(1)了解动态路由协议的使用环境(2)学会动态路由的配置方法(3)学会子网连通性的测试(4)动态路由与静态路由的应用对比实验拓扑结构RouterA|2811TFTRHostA10.65.1.1RouterC1078.1.110.68.1.2aHostC10.69.1.1HostBJSO"HostD1070.1.1实验步骤与容(1)调用设备并按拓扑要求连接;可以用all(2)配置路由器的动态路由协议[Router/\]ripversion2multicast[Router/\-rip]network10.0.0.0[RouterA-rip]iprouting[RouterBlripversion2multicast[RouterB-rip]network10.0.0.0[RouterB-rip]iprouting[RouterClripversion2multicast[RouterC-rip]network10.0.0.0[RouterC-rip]iprouting[RouterCldisiproute(3)配置主机IP测试连通状态[rootPCAroot]#ping10.69.1.1通[rootPCAroot]#ping10.70.1.1通[RouterA-rip]peer10.68.1.1[RouterA-rip]summary[RouterA-SerialOjripsplit-horizon[RouterAlripwork[RouterAlripinput;指明交换点;聚合;水平分隔[Router/\]ripoutput[Quidway]routeridA.B.C.D(4)配置0SPF协议;配置路由器的ID[Quidwayjospfenable[Quidway-ospf]import-routedirect[Quidway-Seria10]ospfenablearea0[Quidway-SerialO]1ink-protocolppp;启动OSPF协议;引入直联路由;配置OSPF区域(5)动态路由测试[rootPCAroot]#ping10.69.1.1通[rootPCAroot]#ping10.70.1.1通[rootPCCroot]#ping10.65.1.1通[rootPCAroot]#ping10.76.1.1通思考与总结(1)分析动态路由与静态路由的不同(2)分析链路聚合的优点实验10访问控制列表实验1-实验目的(1)理解访问控制列表对非法访问控制的基本原理(2)掌握ACL配置的基本命令和方法(3)学会设置防火墙的默认过滤方式2.实验拓扑结构RouterA2311底翌画硼RouterCHostAHostEHostFHostG10-65.1.110.65.1.310.65.2.112.1.1.1RouterB/W.78.1.1Hostt>10.70.1.1实验容与步骤(1)调用设备并按拓扑要求连接(2)配置主机及路由器端口地址(3)在路由器上配置基本访问列表[RouterClfirewal1enable[RouterClfirewal1defaultpermit[RouterClaclnumber2001[RouterC-ac1-basic-2001]ru1enormaldenysourcehost10.65.1.1[RouterC-ac1-basic-2001]ru1enormalpermitsourceany[RouterC-acl~basic-200llquit[RouterC]ints0/0[RouterC-Seria10/0]firewa11packet-filter2001inbound[RouterC-Serial0/0]quit[RouterCldisplayacl(4)测试访问控制的连通性[rootPCAroot]#ping10.69.1.1不通[rootPCBroot]#ping10.69.1.1通[RouterCjundoacl2001[RouterC]displayacl[rootPCAroot]#ping10.69.1.1通[rootPCBroot]#ping10.69.1.1通[RouterC]aclnumber2002[RouterC-ac1-basic-2002]ru1enormaldenysource10.65.1.10.0.0.255[RouterC-acl-basic-2002]rulenormalpermitsourceany[RouterC-ac1-basic-2002]quit[RouterC]ints0/0[RouterC-Serial0/0]firewa11packet-filter2002inbound[RouterC]displayacl[rootPCAroot]#ping10.69.1.1不通[rootPCBroot]#ping10.69.1.1不通[RouterCjundoacl2002(5)配置扩展访问控制列表[RouterC]firewa11enable[RouterC]firewa11defaultpermit[RouterC]aclnumber3001[RouterC-ac1-adv-3001]ru1edenytcpsource10.65.1.10destination10.69.1.10[RouterC-ac1-adv-3001]ru1epermitipsourceanydestinationany[RouterC-ac1-adv-300llquit[RouterC]ints0/l[RouterC-Seria10/1]firewa11packet-filter3001outbound[RouterC-Serial0/l]quit[RouterCjdisacl(6)测试访问控制的连通性[rootPC/\root]#ping10.69.1.不通[rootPCAroot]#ping10.70.1.1[rootPCBroot]#ping10.69.1.1通[RouterC]undoacl[rootPCAroot]#ping10.69.1.1通思考与总结(1)配置访问控制的目的是什么?(2)在接口上应用访问控制列表有哪些规则?
本文档为【网络工程实验(基于华为路由器_交换机)】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_597436
暂无简介~
格式:doc
大小:420KB
软件:Word
页数:26
分类:
上传时间:2019-07-18
浏览量:25