华为的路由器模拟器及实验内容2009-12-2120:27:53|分类:默认分类|标签:|字号大中小订阅实验一:基本命令实验实验二:配置端口聚合实验三:基本VLAN设置实验四:配置primaryVLAN和secondaryVLAN实验五:其它功能实验六:路由器BootROM升级实验七:直联路由实验八:单臂路由实验九:静态路由实验实验十:动态路由实验实验十一:访问控制列表实验十二:地址转换配置华为的路由器模拟器下载地址(右键迅雷下载)实验一基本命令实验添加一个交换机,一个计算机,双击交换机,进入终端配置: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[S3026-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[S3026]interfacevlan1进入接口视图[S3026-Vlan-interface1]ipaddress10.65.1.1255.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[root@PCAroot]#ping10.65.1.2[root@PCAroot]#telnet10.65.1.2实验二配置端口聚合要求聚合的端口工作在全双工,速度一致,在同一槽口且连续,ingress:源MAC,both:源和目的MAC对于SwitchA:[SwitchA]interfaceethernet0/1[SwitchA-Ethernet0/1]duplexfull[SwitchA-Ethernet0/1]speed100[SwitchA-Ethernet0/1]inte0/2[SwitchA-Ethernet0/2]duplexfull[SwitchA-Ethernet0/2]speed100对于SwitchB:[SwitchB]interfaceethernet0/1[SwitchB-Ethernet0/1]duplexfull[SwitchB-Ethernet0/1]speed100[SwitchB-Ethernet0/1]inte0/2[SwitchB-Ethernet0/2]duplexfull[SwitchB-Ethernet0/2]speed100聚合操作:[SwitchA]link-aggregationethernet0/1toethernet0/2both[SwitchB]link-aggregationethernet0/1toethernet0/2both[SwitchA]displaylink-aggregationethernet0/1[SwitchA]undolink-aggregationall实验三基本VLAN设置[SwitchA]vlan2[SwitchA-vlan2]porte0/3toe0/4[SwitchA]vlan3[SwitchA-vlan3]porte0/5toe0/6[SwitchB]vlan2[SwitchB-vlan2]porte0/3toe0/4[SwitchB]vlan3[SwitchB-vlan3]porte0/5toe0/6设置计算机的IP为:PCA:10.65.1.1PCB:10.65.1.2PCC:10.65.1.3PCD:10.65.1.4[root@PCAroot]#ping10.65.1.1通[root@PCAroot]#ping10.65.1.2不通[root@PCAroot]#ping10.65.1.3不通[root@PCAroot]#ping10.65.1.4不通将PCA改接到SwitchAE0/2,PCC改接到SwitchBE0/2[root@PCAroot]#ping10.65.1.3通(这时都在vlan1)再改回来:[S3026A]interfaceethernet0/8[S3026A-Ethernet0/8]portlink-typetrunk[S3026A-Ethernet0/8]porttrunkpermitvlanall[S3026B]interfaceethernet0/1[S3026B-Ethernet0/1]portlink-typetrunk[S3026B-Ethernet0/1]porttrunkpermitvlanall[root@PCAroot]#ping10.65.1.3通[root@PCAroot]#ping10.65.1.4不通[root@PCBroot]#ping10.65.1.4通即:PCA和PCC同在vlan2是通的。PCB和PCD同在vlan3是通的。PCA和PCB是不通的。同理PCC和PCD也是不通的。[S3026C]interfaceethernet0/1[S3026C-Ethernet0/1]portlink-typetrunk[S3026C-Ethernet0/1]porttrunkpermitvlanall[S3026C]interfaceethernet0/8[S3026C-Ethernet0/8]portlink-typetrunk[S3026C-Ethernet0/8]porttrunkpermitvlanall[root@PCAroot]#ping10.65.1.3通[root@PCAroot]#ping10.65.1.4不通实验四配置primaryVLAN和secondaryVLAN[SwitchA]vlan2[SwitchA-vlan2]portethernet0/5toethernet0/6[SwitchA]vlan3[SwitchA-vlan3]portethernet0/7toethernet0...