AP手动设置的一些命令
WLAN-AP#set management static-ip xxx.xxx.xxx.xxx (设置IP地址)
WLAN-AP#set management static-mask 255.255.255.0 (设置掩码)
WLAN-AP#set static-ip-route gateway xxx.xxx.xxx.1 (设置网关)
WLAN-AP#set management dhcp-status down (关闭dhcp)
WLAN-AP#get management (查询)
WLAN-AP# set managed-ap pass-phrase abc 设置AC认证密码
要想配置AP首先要发现注册AP,先说下常用的两种发现方法
二层发现
DCWS-6028(config)#int e1/0/1
DCWS-6028(config-if-ethernet1/0/1)#switch mode trunk 更改端口特性为trunk
DCWS-6028(config-if-ethernet1/0/1)#switch trunk native vlan <V-id> 设置本证vlan
DCWS-6028(config)#int vlan 1
DCWS-6028(config-if-vlan1)#ip address 192.168.1.254
DCWS-6028(config-if-vlan1)#exit
DCWS-6028(#telnet 192.168.1.10 远程登录AP(默认IP为192.168.1.10)
WLAN-AP# set management static-ip 192.168.1.10 设置AP IP
WLAN-AP# set management static-mask 255.255.255.0 设置子网掩码
WLAN-AP#set management dhcp-status down
DCWS-6028(config)#wireless 进入无线模式
DCWS-6028(config-wireless)#static-ip 192.168.1.254 设置静态无线ip地址
DCWS-6028(config-wireless)#no auto-ip-assign 关闭无线IP地址的自动选取功能
DCWS-6028(config-wireless)#enable 开启无线模式
DCWS-6028(config-wireless)#discovery vlan-list 1 发现VLAN 1