华为设备配置VLAN聚合

1.配置VLAN和接口 [LSW2]vlan batch 2 3 [LSW2]port-group a2 [LSW2-port-group-a2]group-member g0/0/1 to g0/0/2 [LSW2-port-group-a2]port link-type access [LSW2-port-group-a2]port default vlan 2 [LSW2]port-group a3 [LSW2-port-group-a3]group-member g0/0/3 to g0/0/4 [LSW2-port-group-3]port link-type access [LSW2-port-group-3]port default vlan 3 [LSW2-GigabitEthernet0/0/5]port link-type trunk [LSW2-GigabitEthernet0/0/5]port trunk allow-pass vlan 2 3 [LSW1]vlan batch 2 3 10 100 [LSW1-GigabitEthernet0/0/2]port link-type trunk [LSW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 2 3 2.配置Super-VLAN及其对应的VLANIF接口 [LSW1]vlan 10 [LSW1-vlan10]aggregate-vlan [LSW1-vlan10]access-vlan 2 to 3 [LSW1-Vlanif10]ip add 10.1.1.10 24 3.配置上行路由 [LSW1-GigabitEthernet0/0/1]port link-type trunk [LSW1-GigabitEthernet0/0/1]port trunk  allow-pass vlan 100 [LSW1-GigabitEthernet0/0/1]port trunk pvid vlan 100 [LSW1]int Vlanif 100 [LSW1-Vlanif100]ip add 10.1.100.10 24 [LSW1]ip route-static 0.0.0.0 0.0.0.0 10.1.100.1  //配置缺省静态路由,使用户能够访问Internet 4.配置AR1 [AR1-GigabitEthernet0/0/0]ip add 10.1.100.1 24 [AR1]ip route-static 10.1.1.0 24 10.1.100.10 5.配置PC 6.配置Proxy ARP [LSW1]interface Vlanif 10 [LSW1-Vlanif10]arp-proxy inner-sub-vlan-proxy enable 7.验证配置

提供优质的网站源码大全,小程序、APP、H5、支付、游戏、区块链、商城、直播、影音、小说、公众号等源码下载。
精品源码资源网 » 华为设备配置VLAN聚合
赞助VIP 享更多特权,立即登录下载海量资源
喜欢我嘛?喜欢就按“ctrl+D”收藏我吧!♡