我的配置圖
1.AC配置
dhcp enable
vlan 12
int g0/0/2
port link-type access
port default vlan 12
2.配置vlanif12和DHCP
int vlanif12
ip add 192.168.12.1 24
dhcp select interface
3.配置AP 上線 ,創(chuàng)建ap組
wlan
regulatory-domain-profile name cc 創(chuàng)建域管理模板,名稱(chēng)為CC
country-code CN 設(shè)置國(guó)家代碼
q
ap-group name ceshi 創(chuàng)建管理組,名稱(chēng)為ceshi
regulatory-domain-profile cc 在ceshi組內(nèi)使用cc管理模板
y
q
capwap source int vlanif12 配置ac源 通過(guò)vlan12通信
wlan
ap auth-mode mac-auth
ap-id 1 ap-mac 00E0-FCB2-26-70 ap系列號(hào)1 MAC地址為你的AP的MAC地址
ap-name 123 配置ap名稱(chēng)為123
ap-group cc 將此ap加入到ceshi組中
y
dis ap all 查看配置情況
4.配置wlan參數(shù)
wlan
security-profile name sec-ceshi 創(chuàng)建名為sec-ceshi的安全模板
security wpa2 psk pass-phrase 11111111 aes 認(rèn)證模式為wpa2 秘鑰為11111111 aes高級(jí)加密
q
ssid-profile name ssid-ceshi 創(chuàng)建名為ssid-ceshi的ssid模板
ssid ceshi
q
vap-profile name vap-ceshi 創(chuàng)建vap-ceshi模板
forward-mode tunnel 采用隧道的方式轉(zhuǎn)發(fā)數(shù)據(jù)/
service-vlan vlan-id 12 指定業(yè)務(wù)VLAN即vlan12
security-profile sec-cehsi 使用sec-ceshi安全模板
ssid-profile ssid-ceshi 使用ssid-ceshi的ssid 模板
q
ap-group name cc 進(jìn)入ceshi ap組
vap-profile vap-ceshi wlan 1 radio 0
q
q
dis vap ssid ceshi
通過(guò)sta測(cè)試無(wú)線功能