IP業務配置
配置AP與上行設備的互通
[Huawei-AP]interface gigabitethernet 0/0/1
[Huawei-AP-GigabitEthernet0/0/1] port link-type trunk
[Huawei-AP-GigabitEthernet0/0/1] port trunk allow-pass vlan 100安全
配置DHCP功能爲終端分配地址,VLAN100爲業務VLAN,VLANIF100做爲網關
[Huawei-AP]dhcp enable
[Huawei-AP]ip pool dhcp
[Huawei-AP-ip-pool-dhcp]network 192.168.1.0 mask 24
[Huawei-AP-ip-pool-dhcp]gateway-list 192.168.1.1
[Huawei-AP-ip-pool-dhcp]dns-list 218.85.152.99
[Huawei-AP]vlan 100
[Huawei-AP]interface Vlanif 100
[Huawei-AP-Vlanif100]ip address 192.168.1.1 24
[Huawei-AP-Vlanif100]dhcp select global網絡
WLAN基本配置
配置WLAN基本功能
system
[Huawei-AP]wlanapp
配置WMM模版
[Huawei-AP-wlan-view]wmm-profile name wmm-1 id 1less
配置射頻模版
[Huawei-AP-wlan-view]radio-profile name radio-1 id 1
[Huawei-AP-wlan-radio-prof-radio-1]wmm-profile id 1ide
配置安全模版
[Huawei-AP-wlan-view]security-profile name security-1 id 1
[Huawei-AP-wlan-sec-prof-security-1]security-policy wpa-wpa2
[Huawei-AP-wlan-sec-prof-security-1] wpa-wpa2 authentication-method psk pass-phrase simple 12345678 encryption-method tkip-ccmp加密
配置WLAN-ESS接口
[Huawei-AP]interface Wlan-Bss1
[Huawei-AP-Wlan-Bss1]port hybrid pvid vlan 100
[Huawei-AP-Wlan-Bss1]port hybrid untagged vlan 100
#配置流量模版
[Huawei-AP-wlan-view]traffic-profile name traffic-1 id 1spa
#配置WLAN服務集並綁定ESS接口、安全模版、流量模版
[Huawei-AP-wlan-view]service-set name service-1 id 1
[Huawei-AP-wlan-service-set-service-1]wlan-bss 1
[Huawei-AP-wlan-service-set-service-1]security-profile id 1
[Huawei-AP-wlan-service-set-service-1]traffic-profile id 1
[Huawei-AP-wlan-service-set-service-1]ssid HUAWEI命令行
#在射頻口下綁定服務集
[Huawei-AP]interface Wlan-Radio 0/0/0
[Huawei-AP-Wlan-Radio0/0/0]radio-profile id 1
[Huawei-AP-Wlan-Radio0/0/0]service-set id 13d
1. 默認Fat AP3010 有一個Vlanif1 IP地址爲169.254.1.1/16
2. 經過網線鏈接PC網口和AP網口,配置本地網卡IP地址爲169.254.1.2/24
3. 經過IE訪問 http://169.254.1.1/ 訪問WEB界面,默認已經開啓http、https。
用戶admin 密碼admin@huawei.com 默認權限已是最高15,能夠作任何配置。orm
IP業務配置
配置Vlanif接口的DHCP,讓終端鏈接上來能夠獲取到地址
開啓全局DHCP功能
新建全局DHCP地址池
也可直接配置成接口的地址池,更加簡單,但沒法配置網關,默認網關爲接口IP地址
新建地址池高級選項
使用配置嚮導
選擇須要配置的射頻類型,AP默認已經創建一個2.4G的射頻模版,可直接選擇使用
配置無線業務,須要手動創建服務集和BSS接口,AP默認已經創建流量模版,安全模版,直接選擇使用便可,默認安全模版爲WEP 加密類型爲Open system
確認配置的參數,完成便可
須要注意的是服務集、WLAN-ESS接口、只能調用在一個地方,不能同時在別的地方也被調用。
本文首發於公衆號:網絡之路博客