AC1配置命令
<AC6005>display current-configuration
#
vlan batch 100
#
interface Vlanif100description to_S3_CAPWAPip address 10.0.100.254 255.255.255.0
#
interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 100#
ip route-static 10.0.10.0 255.255.255.0 10.0.100.1
ip route-static 10.0.200.0 255.255.255.0 10.0.100.1
#
capwap source interface vlanif100
#
wlansecurity-profile name department1security wpa2 psk pass-phrase huawei123 aesssid-profile name department1ssid roamvap-profile name department1service-vlan vlan-id 11ssid-profile department1security-profile department1mobility-group name mobilitymember ip-address 10.0.100.254member ip-address 10.0.200.254ap-group name defaultap-group name department1radio 0vap-profile department1 wlan 1radio 1vap-profile department1 wlan 1radio 2vap-profile department1 wlan 1ap-id 0 ap-mac 00e0-fcb4-7c80 ap-name ap1ap-group department1
<AC6005>
AC2配置命令
<AC6005>display current-configuration
#
vlan batch 200
#
interface Vlanif200description to_S3_CAPWAPip address 10.0.200.254 255.255.255.0
#
interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 200
#
ip route-static 10.0.20.0 255.255.255.0 10.0.200.1
ip route-static 10.0.100.0 255.255.255.0 10.0.200.1
#
capwap source interface vlanif200
#
wlantraffic-profile name defaultsecurity-profile name department2security wpa2 psk pass-phrase huawei123 aesssid-profile name department2ssid roamvap-profile name department2service-vlan vlan-id 21ssid-profile department2security-profile department2mobility-group name mobilitymember ip-address 10.0.100.254member ip-address 10.0.200.254ap-group name department2radio 0vap-profile department2 wlan 1radio 1vap-profile department2 wlan 1radio 2vap-profile department2 wlan 1ap-id 0 ap-mac 00e0-fc2e-57c0 ap-name ap2ap-group department2
<AC6005>
SW3配置命令
<Huawei>display current-configuration
#
vlan batch 10 to 11 20 to 21 100 200
#
dhcp enable
#
ip pool ap1gateway-list 10.0.10.1network 10.0.10.0 mask 255.255.255.0option 43 sub-option 3 ascii 10.0.100.254
#
ip pool ap2gateway-list 10.0.20.1network 10.0.20.0 mask 255.255.255.0option 43 sub-option 3 ascii 10.0.200.254
#
ip pool service_ap_1gateway-list 10.0.11.1network 10.0.11.0 mask 255.255.255.0dns-list 10.0.11.1
#
ip pool service_ap_2gateway-list 10.0.21.1network 10.0.21.0 mask 255.255.255.0dns-list 10.0.21.1
#
interface Vlanif10description ap1_managementip address 10.0.10.1 255.255.255.0dhcp select global
#
interface Vlanif11description ap1_serviceip address 10.0.11.1 255.255.255.0dhcp select global
#
interface Vlanif20description ap2_managmentip address 10.0.20.1 255.255.255.0dhcp select global
#
interface Vlanif21description ap2_serviceip address 10.0.21.1 255.255.255.0dhcp select global
#
interface Vlanif100description to_AC1ip address 10.0.100.1 255.255.255.0
#
interface Vlanif200description to_AC2ip address 10.0.200.1 255.255.255.0
#
interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 100
#
interface GigabitEthernet0/0/2port link-type trunkport trunk allow-pass vlan 200
#
interface GigabitEthernet0/0/3port link-type trunkport trunk allow-pass vlan 20 to 21
#
interface GigabitEthernet0/0/4port link-type trunkport trunk pvid vlan 10port trunk allow-pass vlan 10 to 11
#
interface LoopBack0ip address 10.0.3.3 255.255.255.255
<Huawei>
SW4配置命令
<Huawei>display current-configuration
vlan batch 20 to 21
#
interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 20 to 21
#
interface GigabitEthernet0/0/2port link-type trunkport trunk pvid vlan 20port trunk allow-pass vlan 20 to 21
<Huawei>
移动STA到另一个区域 ,命令查看漫游设备如下