欢迎来到天天文库
浏览记录
ID:48476376
大小:791.00 KB
页数:17页
时间:2020-02-04
《交换机配置实验.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、实验一计算机和交换机基本设置添加一个交换机,一个计算机,双击交换机,进入终端配置:systempassword:[Quidway]sysnameS3026;交换机命名[S3026]superpassword111;设置特权密码[S3026]user-interfacevty04[S3026-ui-vty0-4]authentication-modepassword[S3026-ui-vty0-4]setauthentication-modepasswordsimple222[S3026-ui-vty0-4]userprivilegelevel3[S3
2、026-ui-vty0-4]quit[S3026]quitsyspassword: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
3、[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]#ifconfigeth010.65.1.1netmask255.255.0.0[
4、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:[Quidway]sysnameSwitchA[SwitchA]interfaceethernet0/1[SwitchA-Ethernet0/
5、1]duplexfull[SwitchA-Ethernet0/1]speed100[SwitchA-Ethernet0/1]portlink-typetrunk[SwitchA-Ethernet0/1]porttrunkpermitvlanall[SwitchA-Ethernet0/1]inte0/2[SwitchA-Ethernet0/2]duplexfull[SwitchA-Ethernet0/2]speed100[SwitchA-Ethernet0/2]portlink-typetrunk[SwitchA-Ethernet0/2]porttrunkpermitv
6、lanall对于SwitchB:[Quidway]sysnameSwitchB[SwitchB]interfaceethernet0/1[SwitchB-Ethernet0/1]duplexfull[SwitchB-Ethernet0/1]speed100[SwitchB-Ethernet0/1]portlink-typetrunk[SwitchB-Ethernet0/1]porttrunkpermitvlanall[SwitchB-Ethernet0/1]inte0/2[SwitchB-Ethernet0/2]duplexfull[SwitchB-Ethernet0
7、/2]speed100[SwitchB-Ethernet0/2]portlink-typetrunk[SwitchB-Ethernet0/2]porttrunkpermitvlanall聚合操作:[SwitchA]link-aggregationethernet0/1toethernet0/2both[SwitchB]link-aggregationethernet0/1toethernet0/2both[SwitchA]displaylink-aggregationethernet0/1[SwitchA]undolink-aggregational
此文档下载收益归作者所有