欢迎来到天天文库
浏览记录
ID:61414334
大小:766.00 KB
页数:19页
时间:2021-01-27
《华为交换机与路由配置.doc》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、目录实验一计算机和交换机基本设置-1-实验二配置端口聚合-2-实验三基本VLAN设置-3-实验四配置primaryVLAN和secondaryVLAN-3-实验五交换机的镜像与生成树-3-实验六路由器BootROM升级-3-实验七直联路由-3-实验八单臂路由-3-实验九静态路由实验-3-实验十动态路由实验-3-实验十一访问控制列表实验-3-实验十二地址转换配置-3-实验一计算机和交换机基本设置添加一个交换机,一个计算机,双击交换机,进入终端配置:systempassword:[Qui
2、dway]sysnameS3026;交换机命名[S3026]superpassword111;设置特权密码[S3026]user-interfacevty04[S3026-ui-vty0-4]authentication-modepassword[S3026-ui-vty0-4]setauthentication-modepasswordsimple222[S3026-ui-vty0-4]userprivilegelevel3[S3026-ui-vty0-4]quit[S3026]quit3、>syspassword:111[S3026]displaycurrect-config[S3026]discurr[S3026]vlan2[S3026-vlan2]portethernet0/2[S3026-vlan2]porte0/4toet0/6[S3026-vlan2]quit[S3026]disvlan[S3026]inte0/3[S3026-Ethernet1]portaccessvlan2[S3026-Ethernet1]quit[S3026]disvlan[S3026]discurr[4、S3026]interfacevlan1[S3026-Vlan-interface1]ipaddress10.65.1.8255.255.0.0[S3026-Vlan-interface1]quit[S3026]iproute-static0.0.0.00.0.0.010.65.1.2[S3026]ipdefault-gateway10.65.1.2[S3026]discurr[S3026]save双击小电脑:login:rootpassword:linux[root@PCAroot]#ifconfi5、geth010.65.1.1netmask255.255.0.0[root@PCAroot]#ifconfig[root@PCAroot]#routeadddefaultgw10.65.1.2[root@PCAroot]#route[root@PCAroot]#ping10.65.1.8[root@PCAroot]#telnet10.65.1.8实验二配置端口聚合要求聚合的端口工作在全双工,速度一致,在同一槽口且连续。参数:ingress:源MAC,both:源和目的MAC对于SwitchA:[Qui6、dway]sysnameSwitchA[SwitchA]interfaceethernet0/1[SwitchA-Ethernet0/1]duplexfull[SwitchA-Ethernet0/1]speed100[SwitchA-Ethernet0/1]portlink-typetrunk[SwitchA-Ethernet0/1]porttrunkpermitvlanall[SwitchA-Ethernet0/1]inte0/2[SwitchA-Ethernet0/2]duplexfull[Swi7、tchA-Ethernet0/2]speed100[SwitchA-Ethernet0/2]portlink-typetrunk[SwitchA-Ethernet0/2]porttrunkpermitvlanall对于SwitchB:[Quidway]sysnameSwitchB[SwitchB]interfaceethernet0/1[SwitchB-Ethernet0/1]duplexfull[SwitchB-Ethernet0/1]speed100[SwitchB-Ethernet0/1]por8、tlink-typetrunk[SwitchB-Ethernet0/1]porttrunkpermitvlanall[SwitchB-Ethernet0/1]inte0/2[SwitchB-Ethernet0/2]duplexfull[SwitchB-Ethernet0/2]speed100[SwitchB-Ethernet0/2]portlink-typetrunk[SwitchB-Ethernet0/2]porttrunkpermitvlanall聚
3、>syspassword:111[S3026]displaycurrect-config[S3026]discurr[S3026]vlan2[S3026-vlan2]portethernet0/2[S3026-vlan2]porte0/4toet0/6[S3026-vlan2]quit[S3026]disvlan[S3026]inte0/3[S3026-Ethernet1]portaccessvlan2[S3026-Ethernet1]quit[S3026]disvlan[S3026]discurr[
4、S3026]interfacevlan1[S3026-Vlan-interface1]ipaddress10.65.1.8255.255.0.0[S3026-Vlan-interface1]quit[S3026]iproute-static0.0.0.00.0.0.010.65.1.2[S3026]ipdefault-gateway10.65.1.2[S3026]discurr[S3026]save双击小电脑:login:rootpassword:linux[root@PCAroot]#ifconfi
5、geth010.65.1.1netmask255.255.0.0[root@PCAroot]#ifconfig[root@PCAroot]#routeadddefaultgw10.65.1.2[root@PCAroot]#route[root@PCAroot]#ping10.65.1.8[root@PCAroot]#telnet10.65.1.8实验二配置端口聚合要求聚合的端口工作在全双工,速度一致,在同一槽口且连续。参数:ingress:源MAC,both:源和目的MAC对于SwitchA:[Qui
6、dway]sysnameSwitchA[SwitchA]interfaceethernet0/1[SwitchA-Ethernet0/1]duplexfull[SwitchA-Ethernet0/1]speed100[SwitchA-Ethernet0/1]portlink-typetrunk[SwitchA-Ethernet0/1]porttrunkpermitvlanall[SwitchA-Ethernet0/1]inte0/2[SwitchA-Ethernet0/2]duplexfull[Swi
7、tchA-Ethernet0/2]speed100[SwitchA-Ethernet0/2]portlink-typetrunk[SwitchA-Ethernet0/2]porttrunkpermitvlanall对于SwitchB:[Quidway]sysnameSwitchB[SwitchB]interfaceethernet0/1[SwitchB-Ethernet0/1]duplexfull[SwitchB-Ethernet0/1]speed100[SwitchB-Ethernet0/1]por
8、tlink-typetrunk[SwitchB-Ethernet0/1]porttrunkpermitvlanall[SwitchB-Ethernet0/1]inte0/2[SwitchB-Ethernet0/2]duplexfull[SwitchB-Ethernet0/2]speed100[SwitchB-Ethernet0/2]portlink-typetrunk[SwitchB-Ethernet0/2]porttrunkpermitvlanall聚
此文档下载收益归作者所有