(1) AP的配置文件apcfg.txt的配置
apcfg.txt的内容,要求为文本文件,按照命令行配置的顺序编写文本文件上传至AC即可,AC与AP关联后,通过map-configuration命令下发至AP生效。从而完成对AP的配置。
- Scheme方式
# apcfg.txt配置文件为:
system-view
telnet server enable
line vty 0 4
authentication-mode scheme
protocol inbound all
quit
local-user abc
password simple admin12345
service-type telnet
authorization-attribute user-role network-admin
return
- Password方式
# apcfg.txt配置文件为:
system-view
telnet server enable
line vty 0 4
authentication-mode password
protocol inbound all
set authentication password simple admin12345
return
(2) 在AC上将配置文件apcfg.txt下发到AP。
<H3C> system-view
[H3C] wlan ap ap1 model WA6636
[H3C-wlan-ap-ap1] map-configuration apcfg.txt
[H3C-wlan-ap-ap1] return
为了防止重启后配置丢失,执行save命令保存配置。