基础配置:
[AC6605]vlan batch 8 10 11 #创建vlan
[AC6605]dhcp enable #开启DHCP服务
VLAN配置
[AC6605]int vlan 8
[AC6605-Vlanif8]description BOSS
[AC6605]int vlan 10
[AC6605-Vlanif10]description AP_Manage
[AC6605-Vlanif8]ip add 192.168.8.254 24
[AC6605-Vlanif8]dhcp select interface #为DHCP选择源接口
[AC6605-Vlanif8]quit
[AC6605-Vlanif10]ip add 192.168.10.254 24
[AC6605-Vlanif10]dhcp select interface #为DHCP选择源接口
[AC6605-Vlanif10]quit
[AC6605]int vlan 11
[AC6605-Vlanif11]description office
[AC6605-Vlanif11]ip add 192.168.11.254 24
[AC6605-Vlanif11]dhcp select interface #为DHCP选择源接口
[AC6605-Vlanif11]quit
[AC6605]capwap source interface Vlanif 10 #为capwap隧道绑定vlan
无线配置:----------
[AC6605]wlan #进入无线配置视图
[AC6605-wlan-view]
[AC6605-wlan-view]regulatory-domain-profile name ael-domain #创建域管理模板,名称为ael-domain
[AC6605-wlan-regulate-domain-office-domain]country-code CN #配置国家代码
[AC6605-wlan-regulate-domain-office-domain]quit
[AC6605-wlan-view]ssid-profile name office-ssid #创建SSID模板,名称为office-ssid
[AC6605-wlan-ssid-prof-office-ssid]ssid office #配置SSID名称为office
[AC6605-wlan-view]ssid-profile name boss-ssid #创建SSID模板,名称为boss-ssid
[AC6605-wlan-ssid-prof-boss-ssid]ssid boss #配置SSID名称为boss
[AC6605-wlan-ssid-prof-office-ssid]quit
[AC6605-wlan-view]security-profile name office-security #创建安全策略,名称为office-security
[AC6605-wlan-sec-prof-office-security]security wpa-wpa2 psk pass-phrase admin123 aes #SSID密码为admin123
[AC6605-wlan-view]security-profile name boss-security #创建安全策略,名称为boss-security
[AC6605-wlan-sec-prof-boss-security]security wpa-wpa2 psk pass-phrase admin321 aes #SSID密码为admin123
[AC6605-wlan-view]vap-profile name office-vap #创建VAP模板
[AC6605-wlan-vap-prof-office-vap]forward-mode direct-forward #配置业务数据转发模式
[AC6605-wlan-vap-prof-office-vap]security-profile office-security #绑定安全策略
[AC6605-wlan-vap-prof-office-vap]ssid-profile office-ssid #绑定SSID模板
[AC6605-wlan-vap-prof-office-vap]service-vlan vlan-id 11 #绑定业务VLAN
[AC6605-wlan-view]vap-profile name boss-vap #创建BOSS-VAP模板
[AC6605-wlan-vap-prof-office-vap]forward-mode direct-forward #配置业务数据转发模式
[AC6605-wlan-vap-prof-office-vap]security-profile boss-security #绑定安全策略
[AC6605-wlan-vap-prof-office-vap]ssid-profile boss-ssid #绑定SSID模板
[AC6605-wlan-vap-prof-office-vap]service-vlan vlan-id 8 #绑定业务VLAN
[AC6605-wlan-view]ap-group name ael-ap-group #创建AP组,名称为ael-ap-group
[AC6605-wlan-ap-group-ael-ap-group]regulatory-domain-profile ael-domain #绑定域模板
[AC6605-wlan-ap-group-office-ap-group]vap-profile office-vap wlan 11 radio all #绑定vap模板到射频卡0上
[AC6605-wlan-ap-group-office-ap-group]vap-profile office-vap wlan 11 radio all #绑定vap模板到射频卡1上
[AC6605-wlan-ap-group-boss-ap-group]vap-profile boss-vap wlan 8 radio all #绑定vap模板到射频卡0上
[AC6605-wlan-ap-group-boss-ap-group]vap-profile boss-vap wlan 8 radio all #绑定vap模板到射频卡1上
[AC6605-wlan-view]ap-id 0 ap-mac 00e0-fc32-32b0 添加AP,APmac //ap mac可以到对应互联口上查看,如:dis int g0/0/0
[AC6605-wlan-ap-0]ap-group ael-ap-group #添加到AP组中
AC接口配置:-------------
[AC6605]int g0/0/1
[AC6605-GigabitEthernet0/0/1]port link-type trunk
[AC6605-GigabitEthernet0/0/1]port trunk allow-pass vlan 8 10 11
[Switch]vlan batch 8 10 11 #创建vlan
[Switch]int g0/0/24]int g0/0/24
[Switch-GigabitEthernet0/0/24]description to_AC
[Switch-GigabitEthernet0/0/24]port link-type trunk
[Switch-GigabitEthernet0/0/24]port trunk allow-pass vlan 8 10 11
[Switch]int g0/0/1
[Switch-GigabitEthernet0/0/1]description to_AP
[Switch-GigabitEthernet0/0/1]port link-type trunk
[Switch-GigabitEthernet0/0/1]port trunk pvid vlan 10
[Switch-GigabitEthernet0/0/1]port trunk allow-pass vlan 8 10 11