华为S5700划分VLAN配置方案公司新加一台S5700的交换机扩展网络段,之前的网络结构是路由器CISCO2800下面级联交换机,端口FastEthernet0/0IP地址192.168.1.254,作为网关,级联的交换机都不做配置。结构图如下:现在加入一台三层交换机S5700,划分几个VLANvlan2:192.168.7.254255.255.255.0vlan3:192.168.8.254255.255.255.0vlan4:192.168.9.254255.255.255.0vlan100:192.168.1.254255.255.255.0vlan1000:192.168.100.253255.255.255.0增加的几个网段,整个网络结构也只有S5700这块有变动,其他地方没做改动,从上面两图可以看出来。然后是我的基本配置:[Quidway]system-view[Quidway]sysnameSwitch[Switch]vlan100[Switch-vlan100]descriptionadmin_Vlan[Switch-vlan100]quit[Switch]aaa[Switch-aaa]local-user****passwordcipher****info:Anewuseradded[Switch-aaa]local-user****service-typetelnet[Switch-aaa]local-user****privilegelevel15[Switch-aaa]quit[Switch]user-interfacevty04[Switch-ui-vty0-4]authentication-modeaaa[Switch-ui-vty0-4]returnsystem-view[Switch]interfacevlanif100[Switch-Vlanif100]ipaddress192.168.1.254255.255.255.0[Switch-Vlanif100]quit[Switch]vlan2[Switch-vlan2]quit[Switch]interfacevlanif2[Switch-Vlanif2]ipaddress192.168.7.254255.255.255.0[Switch-Vlanif2]quit[Switch]vlan3[Switch-vlan3]quit[Switch]interfacevlanif3[Switch-Vlanif3]ipaddress192.168.8.254255.255.255.0[Switch-Vlanif3]quit[Switch]vlan4[Switch-vlan4]quit[Switch]interfacevlanif4[Switch-Vlanif4]ipaddress192.168.9.254255.255.255.0[Switch-Vlanif4]quit[Switch]vlan1000[Switch-vlan1000]ipaddress192.168.100.253255.255.255.0[Switch]interfaceGE0/0/1[Switch-Ethernet0/0/1]portlink-typeaccess[Switch-Ethernet0/0/1]portdefaultvlan2[Switch-Ethernet0/0/1]quit!!![Switch]interfaceGE0/0/7[Switch-Ethernet0/0/7]portlink-typeaccess[Switch-Ethernet0/0/7]portdefaultvlan3[Switch-Ethernet0/0/7]quit!!![Switch]interfaceGE0/0/13[Switch-Ethernet0/0/13]portlink-typeaccess[Switch-Ethernet0/0/13]portdefaultvlan4[Switch-Ethernet0/0/13]quit!!!![Switch]interfaceGE0/0/23[Switch-Ethernet0/0/23]portlink-typeaccess[Switch-Ethernet0/0/23]portdefaultvlan100[Switch-Ethernet0/0/23]quit[Switch]interfaceGE0/0/24[Switch-GigabitEthernet0/0/1]portlink-typeaccess[Switch-GigabitEthernet0/0/1]portdefaultvlan1000[Switch-GigabitEthernet0/0/1]quitiproute-static0.0.0.00.0.0.0192.168.100.254iproute-static0.0.0.00.0.0.0192.168.1.138iproute-static192.168.0.0255.255.255.0192.168.100.254iproute-static192.168.2.0255.255.255.0192.168.100.254192.168.0.0和192.168.2.0是外地分公司的网络段,因为服务器等都是在192.168.1.0下面的然后是路由器部分部分配置:interfaceFastEthernet0/0descriptionconnecttolocallanipaddress192.168.100.254255.255.255.0duplexautospeedauto!interfaceFastEthernet0/1descriptionconnecttolocalnewlanipaddress192.168.4.254255.255.255.0duplexautospeedauto!interfaceSerial0/1/1descriptionconnecttoshanghaibandwidth384ipaddress10.168.2.1255.255.255.0iptcpheader-compressioniphc-formatmax-reserved-bandwidth100service-policyoutputshiprtpheader-compressioniphc-formatroutereigrp10redistributestaticnetwork10.0.0.0network192.168.1.0network192.168.4.0noauto-summary!ipforward-protocolndiproute0.0.0.00.0.0.0192.168.1.138iproute192.168.1.0255.255.255.0192.168.100.253iproute192.168.7.0255.255.255.0192.168.100.253iproute192.168.8.0255.255.255.0192.168.100.253iproute192.168.9.0255.255.255.0192.168.100.253配置的都是一些简单的,交换机的功能没有完全发挥出来。。。这个里面192.168.1.138用主机做的上网行为管理,我现在用192.168.1.254做网关的话,上网速度非常慢,简直到了不能容忍的地步,而之前没加5700的时候很正常,不知道是不是配置的原因,大神们帮忙看看啊!!!另外感谢沈绘沈老师前期耐心帮忙解答的很多困惑问题!路由器里面这一段routereigrp10redistributestaticnetwork10.0.0.0network192.168.1.0network192.168.4.0noauto-summaryR1(config-router)#nonetwork192.168.1.00.0.0.255之后没有后面出现的ping,tracert异常的情况了,不过还是网速慢,不能容忍。。。