1、配置交换机

a.连接AP的交换机接口需要配置成trunk,并更改native vlan

interface GigabitEthernet1/0/10

 description "To_AP"

 switchport trunk native vlan 2

 switchport mode trunk


b.DHCP部分可以在WLC上做,也可以在交换机上做

如果AP与WLC跨网段,需要配置option 43


2、配置AP

使用console线连上AP,配置IP地址、网关等基础信息。

a. 静态配置LAP的IP地址及网关:

AP#capwap ap ip add  [IP address]  [netmask]                    #IP地址

AP#capwap ap ip default-gateway [Gateway Address]       #网关地址


b. 静态配置LAP的控制器地址(两种方法):

b1. AP#capwap ap controller ip add [Controller address](自动保存,命令show capwap ip config 可见)

b2. AP#capwap ap primary-base [C