资源预览内容
第1页 / 共49页
第2页 / 共49页
第3页 / 共49页
第4页 / 共49页
第5页 / 共49页
第6页 / 共49页
第7页 / 共49页
第8页 / 共49页
第9页 / 共49页
第10页 / 共49页
亲,该文档总共49页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
华三计算机网络培训实验指导手册2010 年 8 月实验一远程管理网络设备(telnet) 3实验二以太网端口汇聚 4实验三STP的基本配置6实验四Trunk 的基本配置 9实验五VLAN间的三层通信11实验六DHCP配置实验15实验七 文件传输协议配置(FTP) 17实验八PPP、FR配置实验18实验九 RIP 协议配置21实验十 OSPF 协议配置 24实验十一 防火墙和地址转换实验 26实验十二 路由引入综合实验 29实验十三L2TP(PPOE拨入)配置实验31实验十四 虚拟路由冗余协议(VRRP)实验34案例一 动态路由协议深入分析 38案例二 企业网综合案例分析 42案例三 校园网案例分析 46实验一远程管理网络设备(telnet)1.1组网及业务描述InternetRouter图1-11.2配置参考1. 配置路由器的ip地址和PC的ip地址Quidwayinterface Ethernet 0/0 Quidway-EthernetO/Oip address 1.1.1.1 255.0.0.0 配置完路由器的ip地址,你还需要配置PC的ip地址(比如1.1.1.2 255.0.0.0)2. 配置路由器Telnet登陆方式配置用户选择认证方式 配置登陆用户级别a、 none 方式:Quidway User-interface vty 0 4 Quidway-ui-vty0 authentication-mode none Quidway-ui-vty0 user privilege level 3b、password 方式:Quidway User-interface vty 0 4Quidway-ui-vty0 authentication-mode passwordQuidway-ui-vty0 set authentication password simple 123 设置登陆密码 Quidway-ui-vty0 user privilege level 3C、scheme 方式:Quidway User-interface vty 0 4Quidway-ui-vty0 authentication-mode schemeQuidway-ui-vty0 user privilege level 3Quidway local-user huawei添加管理用户Quidway-luser-huawei password simple 123456设置用户密码Quidway-luser-huawei service-type telnet level 3 设置服务类型及优先级3. 检测PC与路由器的连通性使用ping命令检测,能否ping通路由器;并在PC 上运行telnet应用程序登录路 由器。实验二以太网端口汇聚1.1上机目标:完成本课程的上机试验后,您应该能够:掌握以太网端口汇聚的配置过程1.2组网及业务介绍:1.3端口汇聚实验配置流程图1.4配置参考交换机Swl的配置:更改交换机名称 进入交换机三层接口 配置IP地址 设置端口速率 设置双工方式H3Csysname SwlSwlinterface Vlan-interface 1Sw1-Vlan-interface1ip add 10.1.1.1 255.255.255.252 Sw1-EthernetO/1speed 100Sw1-EthernetO/1duplex fullSw1-Ethernet0/2speed 100Sw1-Ethernet0/2duplex fullSw1link-aggregation Ethernet 0/1 to Ethernet 0/2 both 端口绑定交换机Sw2的配置:H3Csysname Sw2Sw2interface Vlan-interface 1 Sw2-Vlan-interface1ip add 10.1.1.2 255.255.255.252 Sw2-Ethernet0/1speed 100Sw2-Ethernet0/1duplex full Sw2-Ethernet0/2speed 100Sw2-Ethernet0/2duplex fullSw2link-aggregation Ethernet 0/1 to Ethernet 0/2 both备注:如果用S3900、S3600系列的交换机做port link aggregation命令如下:交换机 Sw1 的配置:Sw1link-aggregation group 1 mode manual 建立端口汇聚组Sw1-Ethernet1/0/1speed 100Sw1-Ethernet1/0/1duplex fullSw1-Ethernet1/0/1port link-aggregation group 1 将端口添加到汇聚组Sw1-Ethernet1/0/2speed 100Sw1-Ethernet1/0/2duplex fullSw1-Ethernet1/0/2port link-aggregation group 1交换机 Sw2 的配置:Sw2link-aggregation group 1 mode manualSw2-Ethernet1/0/1speed 100Sw2-Ethernet1/0/1duplex fullSw2-Ethernet1/0/1port link-aggregation group 1Sw2-Ethernet1/0/2speed 100Sw2-Ethernet1/0/2duplex fullSw2-Ethernet1/0/2port link-aggregation group 11.5 结果验证1、在配置完IP地址后,用Ping检查两台交换机之间的互通性显然这个组网图会导致交换机之间的环路的存在,主要表现就是出现广播风暴,交 换机数据转发灯不停的闪烁。广播风暴可能会导致连接在交换机网口上的Pc反应速 度变慢,如果出现这种情况,可以先拔掉一根网线消除环路,待配置好端口汇聚以 后再将其插上,此时广播风暴就不会发生了。2、检查配置的正确性display link-aggregationMaster port: Ethernet0/1Other sub-ports:Ethernet0/2Mode: both3、检查链路互为备份的特性断开其中任意一根网线,检查双方能否ping通。实验三 STP 的基本配置1.1 组网及业务描述SwitchB图1-2 华为系列S3526E交换机3台; PC 一台,标准网线3根、配置电缆一根。1.2 命令行列表 在系统视图下的配置命令:操作命令开启/关闭设备RSTPstp enable | disable 配置运行RSTP的交换机工作在STP兼容 模式或者RSTP模式下stp mode stp | rstp配置交换机的BPDU保护功能stp bpdu-protection配置特定交换机的Bridge优先级stp priority bridge-priority指定交换机为生成树的根交换机stp root primary指定交换机为生成树的备份根交换机stp root secondary配置特定交换机的Forward Delay时间stp timer forward-delay centiseconds配置特定交换机的Hello Time时间stp timer hello centiseconds配置特定交换机的Max Age时间stp timer max-age centiseconds配置特定交换机的超时时间因子stp timeout-factor number 在端口视图下的配置命令:操作命令配置特定端口的Path Coststp cost cost在指定端口上开启RSTPstp enable在指定端口上关闭RSTPstp disable配置特定端口为边缘端口 /非边缘端口stp edged-port enable | disable 配置交换机的环路保护功能stp loop-protection配置特定端口的mCheck变量stp mcheck primary | secondary配置特定端口是否与点对点链路相连stp point-to-point auto | force-false | force-true 配置特定端口的优先级stp port priority port-priority配置交换机的Root保护功能stp root-protection配置特定端口的最大发送速率stp transmit-limit packetnum RSTP显示和调试:操作命令显示本设备及当前端口的配置信息display stp interface interface-list、打开或关闭RSTP的调试开关(收发报文、 事件、错误等)undo debugging stp error | event | packet | all使能调试信息在终端输出terminal debugging1.3 配置步骤任务 1:生成树的计算过程在 system-view 视图下,运行 stp enable。任务2:端口状态切换手动断开 Switch B 和 Switch C 之间的连线,观察 Switch C 端口 状态变化 任务 3: RSTP 的两种工作模式在 system-view 视图下,运行 stp mode rstp I stp 。任务 4:其他可选配置可以使用命令更改STP的一些重要参数。1.4 配置参考1.4.1启动STP协议SwitchAstp enable SwitchBstp enable SwitchCstp enable1.4.2 查看配置后的 STP 信息SwitchAdisplay stpSwitchBdisplay stpSwitchCdisplay stpSwitchAdisplay stp interface ethernet0/1 ethernet0/3SwitchBdisplay stp interface ethernet0/1 ethernet0/2SwitchCdisplay stp interface ethernet0/2 ethernet0/31.4.3 端口状态切换后查看端口接发 BPDU 消息debugging stp packetterminal debugging1.4.4设置STP兼容模式SwitchCstp mode stpSwitchCdisplay stp interface ethernet0/2 eth
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号