下面是Vlan列表
Vlan10 172.16.10.254/24
Vlan 20 172.16.20.254/24
Vlan 101 172.16.101.254/24
首先修改AP上的IP及子網(wǎng)掩碼等信息.
DCN-AP# set management static-ip 172.16.101.253
// 靜態(tài)IP
DCN-AP# set management static-mask 255.255.255.0
// 配置子網(wǎng)掩碼
DCN-AP# set management dhcp-status down
// 關(guān)閉自動獲取靜態(tài)IP
DCN-AP# set static-ip-route gateway 172.16.101.254
// 配置網(wǎng)關(guān)
DCN-AP# set management vlan-id 101
// 配置AP接口管理Vlan為101
然后配置DCWS
DCN-DCWS> enable
DCN-DCWS# config
DCN-DCWS(config)# vlan 10,20,101
DCN-DCWS(config)# int vlan 10
DCN-DCWS(config_vlan_10)# ip address 172.16.10.1
DCN-DCWS(config)# int vlan 20
DCN-DCWS(config_vlan_20)# ip address 172.16.20.1
DCN-DCWS(config)# int vlan 101
DCN-DCWS(config_vlan_101)# ip address 172.16.101.1
DCN-DCWS(config)# int e1/0/24
DCN-DCWS(config_e1/0/24)# switchport mode trunk
DCN-DCWS(config_e1/0/1)# switchport mode trunk
DCN-DCWS(config_e1/0/1)# switchport trunk native vlan 101
然后在登陸Web界面進(jìn)行配置蒿褂,并查看是否配置到AP(其顯示配置失敗看下方指令)
DCN-WLAN-AP# get system device-type //顯示無線AP的型號編號
29
DCN-WLAN-AP#
DCWS-6028(config)#wireless
DCWS-6028(config-wireless)#ap profile 1 //配置AP組1
DCWS-6028(config-ap-profile)#hwtype 29 //設(shè)置AP組的型號編號為29
DCWS-6028#wireless ap profile apply 1 //然后推送AP組1的配置到AP