[core]port-group 1
[core-port-group-1]group-member g0/0/2 to g0/0/4
[core-port-group-1]port link-type trunk
[core-port-group-1]port trunk allow-pass vlan all
[core]int g0/0/1
[core-GigabitEthernet0/0/1]port link-type access
[core-GigabitEthernet0/0/1]port default vlan 100
[core]int g0/0/5
[core-GigabitEthernet0/0/5]port link-type access
[core-GigabitEthernet0/0/5]port default vlan 500
[core]int vlan 500
[core-Vlanif500]ip add 192.168.254.1 30
[core-Vlanif500]description toAR1
[core]ospf 1 router-id 1.1.1.1
[core-ospf-1]area 0
[core-ospf-1-area-0.0.0.0]network 0.0.0.0 255.255.255.255
[AC6605]vlan 100
[AC6605-vlan100]int g0/0/1
[AC6605-GigabitEthernet0/0/1]port link-type trunk
[AC6605-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[AC6605]ip route-static 0.0.0.0 0 10.10.10.254
[Huawei]sysname LSW2
[LSW2]vlan batch 100 101 102 200 210
[LSW2]int g0/0/1
[LSW2-GigabitEthernet0/0/1]port link-type trunk
[LSW2-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[LSW2-GigabitEthernet0/0/1]int g0/0/2
[LSW2-GigabitEthernet0/0/2]port link-type trunk
[LSW2-GigabitEthernet0/0/2]port trunk pvid vlan 101
[LSW2-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[Huawei]sysname LSW3
[LSW3]vlan batch 100 101 102 200 210
[LSW3]int g0/0/1
[LSW3-GigabitEthernet0/0/1]port link-type trunk
[LSW3-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[LSW3-GigabitEthernet0/0/1]int g0/0/2
[LSW3-GigabitEthernet0/0/2]port link-type trunk
[LSW3-GigabitEthernet0/0/2]port trunk pvid vlan 102
[LSW3-GigabitEthernet0/0/2]port trunk allow-pass vlan all
AR1
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.168.254.2 30
[Huawei-GigabitEthernet0/0/0]int loo 0
[Huawei-LoopBack0]ip add 2.2.2.2 32
[Huawei-LoopBack0]ospf
[Huawei-ospf-1]area 0
[Huawei-ospf-1-area-0.0.0.0]network 0.0.0.0 255.255.255.255
[core]dhcp enable
AC 100
[core]int vlan 100
[core-Vlanif100]ip address 10.10.10.254 24
AP 101 102
[core-Vlanif100]int vlan 101
[core-Vlanif101]ip address 172.16.101.254 24
[core-Vlanif101]dhcp select interface
[core-Vlanif101]dhcp server option 43 sub-option 3 ascii 10.10.10.250
[core-Vlanif101]int vlan 102
[core-Vlanif102]ip address 172.16.102.254 24
[core-Vlanif102]dhcp select interface
[core-Vlanif102]dhcp server option 43 sub-option 3 ascii 10.10.10.250
业务 200 210
[core-Vlanif102]int vlan 200
[core-Vlanif200]ip address 192.168.200.254 24
[core-Vlanif200]dhcp select interface
[core-Vlanif200]dhcp server dns-list 8.8.8.8
[core-Vlanif200]int vlan 210
[core-Vlanif210]ip address 192.168.210.254 24
[core-Vlanif210]dhcp select interface
[core-Vlanif210]dhcp server dns-list 8.8.8.8
[core-Vlanif210]int vlan 500
[core-Vlanif500]ip address 192.168.254.1 30
[core-Vlanif500]description toAR1
登录AC Web界面 https://10.10.10.250
跟随快速配置AC对AP的MAC地址进行绑定
完成之后就会看见两个AP会发出信号了,然后用设备进行连接测试。