欢迎来到天天文库
浏览记录
ID:52952508
大小:735.25 KB
页数:6页
时间:2020-04-03
《华为交换机VLAN聚合配置.pdf》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、华为交换机VLAN聚合的配置S5700:system-viewEntersystemview,returnuserviewwithCtrl+Z.[Huawei]sysnameSW-5700[SW-5700]vlanbatch2to4[SW-5700]vlan4[SW-5700-vlan4]aggregate-vlan[SW-5700-vlan4]access-vlan2to3[SW-5700-vlan4]disth#vlan4aggregate-vlanaccess-vlan2to3#return[SW-57
2、00-vlan4]quit[SW-5700]intGigabitEthernet0/0/1[SW-5700-GigabitEthernet0/0/1]portlink-typeaccess[SW-5700-GigabitEthernet0/0/1]portdefaultvlan2[SW-5700-GigabitEthernet0/0/1]quit[SW-5700]intGigabitEthernet0/0/2[SW-5700-GigabitEthernet0/0/1]portlink-typeaccess[SW-5700-G
3、igabitEthernet0/0/1]portdefaultvlan2[SW-5700-GigabitEthernet0/0/1]quit[SW-5700]intGigabitEthernet0/0/3[SW-5700-GigabitEthernet0/0/1]portlink-typeaccess[SW-5700-GigabitEthernet0/0/1]portdefaultvlan3[SW-5700-GigabitEthernet0/0/1]quit[SW-5700]intGigabitEthernet0/0/4[S
4、W-5700-GigabitEthernet0/0/1]portlink-typeaccess[SW-5700-GigabitEthernet0/0/1]portdefaultvlan3[SW-5700-GigabitEthernet0/0/1]quit[SW-5700]intVlanif4[SW-5700-Vlanif4].ipadd192.168.1.124[SW-5700-Vlanif4]undoshutdown[SW-5700-Vlanif4]disth#interfaceVlanif4ipaddress192.16
5、8.1.1255.255.255.0#return[SW-5700-Vlanif4]quit[SW-5700]quitsaveThecurrentconfigurationwillbewrittentothedevice.Areyousuretocontinue?[Y/N]yNowsavingthecurrentconfigurationtotheslot0.Jun23201323:30:39-08:00SW-5700%%01CFM/4/SAVE(l)[2]:TheuserchoseYwhendecidin
6、gwhethertosavetheconfigurationtothedevice..Savetheconfigurationsuccessfully.-------------------------------------------------------------------------------------------------------------PC1:PC2:PC3:PC4:-------------------------------------------------------
7、------------------------------------------------------------经过上述的配置,可以知道PC1与PC2可以互相PING通,PC3与PC4可以互相PING通,但PC1与PC3、PC4是PING不通的,PC2与PC3、PC4是PING不通的,PC3、PC4同PC1、PC2一样。PC1:PC4:如果想要VLAN聚合下的子VLAN之间可以互通,对交换机最如下配置:sysEntersystemview,returnuserviewwithCtrl+Z.[SW-5
8、700]intvl[SW-5700]intVlanif4[SW-5700-Vlanif4]arp-proxyenable[SW-5700-Vlanif4]arp-proxyinter-sub-vlan-proxyenable[SW-5700-Vlanif4]disth#interfaceV
此文档下载收益归作者所有