#1.设置国家码 [AC6005]wlan [AC6005-wlan-view]regulatory-domain-profile name default [AC6005-wlan-regulate-domain-default]country-code cn Info: The current country code is same with the input country code. [AC6005-wlan-regulate-domain-default]q ---- #2.创建AP组并绑定国家码 [AC6005-wlan-view]ap-group name ap-group1 Info: This operation may take a few seconds. Please waitfor a moment.done. [AC6005-wlan-ap-group-ap-group1]regulatory-domain-profile name default [AC6005-wlan-regulate-domain-default]q ---- #3.配置CAPWAP源接口 [AC6005]capwap source interface vlanif 100 #配置设备使用与 VLAN 100 相关联的 IP 地址作为 CAPWAP 数据包的源地址 ---- #4.AP上线配置 [AC6005]wlan [AC6005-wlan-view]ap-id 0 ap-mac 00e0-fc2d-0b40#这里写AP的mac地址 APmac地址通过AP接入层交换机dis mac-address查看 [AC6005-wlan-ap-0]ap-name IT [AC6005-wlan-ap-0]ap-group ap-group1 #将MAC为00e0-fc2d-0b40的AP命名IT并加入ap-group1 Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configurations of the radio, Whether to continue? [Y/N]:y Info: This operation may take a few seconds. Please waitfor a moment.. done. [AC6005-wlan-ap-0]q #5.安全与SSID配置 [AC6005-wlan-view]security-profile name wlan [AC6005-wlan-sec-prof-wlan]security wpa-wpa2 psk pass-phrase 12345678 aes Warning: The current password is too simple. For the sake of security, you are advised to set a password containing at least two of the following: lowercase letters a to z, uppercase letters A to Z, digits, and special characters. Continue? [Y/N]: [AC6005-wlan-sec-prof-wlan]q [AC6005-wlan-view]ssid-profile name IT [AC6005-wlan-ssid-prof-IT]ssid IT Info: This operation may take a few seconds, please wait.done. [AC6005-wlan-ssid-prof-IT]q [AC6005-wlan-view] #6.VAP模板配置 [AC6005-wlan-view]vap [AC6005-wlan-view]vap-profile name IT [AC6005-wlan-vap-prof-IT]forward-mode direct-forward #配置AP有线口的数据转发方式 [AC6005-wlan-vap-prof-IT]service-vlan vlan [AC6005-wlan-vap-prof-IT]service-vlan vlan-id 20 #配置业务VLAN Info: This operation may take a few seconds, please wait.done. [AC6005-wlan-vap-prof-IT]security-profile wlan Info: This operation may take a few seconds, please wait.done. [AC6005-wlan-vap-prof-IT]ssid-profile IT Info: This operation may take a few seconds, please wait.done. [AC6005-wlan-vap-prof-IT]q [AC6005-wlan-view] #7.AP组绑定VAP模板 [AC6005-wlan-view]ap-group name ap-group1 [AC6005-wlan-ap-group-ap-group1]vap-profile IT wlan 1 radio 0 Info: This operation may take a few seconds, please wait...done. [AC6005-wlan-ap-group-ap-group1]vap-profile IT wlan 1 radio 1
Ping 10.15.100.1: 32 data bytes, Press Ctrl_C to break From 10.15.100.1: bytes=32 seq=1 ttl=254 time=156 ms From 10.15.100.1: bytes=32 seq=2 ttl=254 time=172 ms From 10.15.100.1: bytes=32 seq=3 ttl=254 time=156 ms
--- 10.15.100.1 ping statistics --- 3 packet(s) transmitted 3 packet(s) received 0.00% packet loss round-trip min/avg/max = 156/161/172 ms
STA>ipconfig
Link local IPv6 address...........: :: IPv6 address......................: :: / 128 IPv6 gateway......................: :: IPv4 address......................: 10.15.20.252 Subnet mask.......................: 255.255.255.0 Gateway...........................: 10.15.20.254 Physical address..................: 54-89-98-B3-17-46 DNS server........................: 8.8.8.8
Link local IPv6 address...........: :: IPv6 address......................: :: / 128 IPv6 gateway......................: :: IPv4 address......................: 10.15.20.253 Subnet mask.......................: 255.255.255.0 Gateway...........................: 10.15.20.254 Physical address..................: 54-89-98-0D-05-A2 DNS server........................: 8.8.8.8
STA>ping 10.15.100.1
Ping 10.15.100.1: 32 data bytes, Press Ctrl_C to break From 10.15.100.1: bytes=32 seq=1 ttl=254 time=157 ms From 10.15.100.1: bytes=32 seq=2 ttl=254 time=156 ms From 10.15.100.1: bytes=32 seq=3 ttl=254 time=140 ms
--- 10.15.100.1 ping statistics --- 3 packet(s) transmitted 3 packet(s) received 0.00% packet loss round-trip min/avg/max = 140/151/157 ms
排错命令
1 2 3 4
display ap online-info # 查看AP上线详情 display vap ssid IT # 检查VAP状态 display station ssid IT # 查看已连接终端 display radio alldisplay radio all #查看射频是否启用