ip http server #开启http服务,关闭前面加no authentication line web login local#设置web用户登陆本地验证 #https ip http secure-ciphersuite des-cbc-sha #设置加密方式 ip http secure-port 1025 #设置访问端口,1025-65535 ip http secure-server #开启https,必须在最后
service dhcp #开启服务 ip dhcp excluded-address 192.168.2.1 192.168.2.2 #排除地址 ip dhcp pool vlan2 network-address 192.168.2.0 255.255.255.0 default-router 192.168.2.1 dns-server 114.114.114.114
#开启option43服务 ip dhcp pool ap option 43 hex 0104C0A80202 #0104固定值,后面是16进制IP option 60 ascii udhcp 1.18.2 #固定值,1.18.2是AP版本,详见配置手册
#配置无线部分 wireless no auto-ip-assign #关闭IP自动查找 enable#开启 no discovery vlan-list 1 #不查找vlan1,默认配置查找vlan1 discovery vlan-list 2 #查找vlan2 static-ip 192.168.2.2 #静态AC管理IP show wireless
DCWS(config)#show wireless ap failure status
MAC Address (*) Peer Managed IP Address Last Failure Type Age ------------------ --------------------------------------- ------------------------ ---------------- 00-03-0f-78-e2-40 192.168.2.3 No Database Entry 0d:00:00:15
#将AP注册到数据库 wireless DCWS(config-wireless)#ap database 00-03-0f-78-e2-40 DCWS(config-ap)#exit DCWS(config-wireless)#ap authentication none DCWS(config-wireless)#show wireless ap status
MAC Address Configuration (*) Peer Managed IP Address Profile Status Status Age ------------------ --------------------------------------- ------- ------- ------------- -------------- 00-03-0f-78-e2-40 192.168.2.3 Failed Not Config 0d:00:00:58
Total Access Points............................ 1 DCWS(config-wireless)#
#下发配置 DCWS#wireless ap profile apply 1 All configurations will be send to the aps associated to this profile and associated clients on these aps will be disconnected. Are you sure you want to apply the profile configuration? [Y/N] y AP Profile apply is in progress. DCWS#