一、实验目标
理解无线三层组网的特点
掌握三层组网AP上线的配置
掌握修改AP认证方法的命令
vlan batch 101 to 102 800
interface Vlanif 800
ip address 10.1.200.100 255.255.255.0
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 101 to 102 800
ip route-static 0.0.0.0 0.0.0.0 10.1.200.1
交换机配置如下
sysname SW1
vlan batch 101 to 102 800
interface Vlanif101
ip address 10.1.101.1 255.255.255.0
interface Vlanif102
ip address 10.1.102.1 255.255.255.0
interface Vlanif800
ip address 10.1.200.1 255.255.255.0
interface MEth0/0/1
interface GigabitEthernet0/0/1
port link-type access
port default vlan 101
stp edged-port enable
interface GigabitEthernet0/0/2
port link-type access
port default vlan 101
stp edged-port enable
interface GigabitEthernet0/0/3
port link-type access
port default vlan 102
stp edged-port enable
interface GigabitEthernet0/0/4
port link-type access
port default vlan 102
stp edged-port enable
interface GigabitEthernet0/0/5
port link-type trunk
port trunk allow-pass vlan 101 to 102 800
2、配置AP上线
修改AC的认证方式
wlan
wlan ac source interface vlanif800
ap-auth-mode no-auth
配置交换机的DHCP选项
dhcp enable
interface Vlanif101
ip address 10.1.101.1 255.255.255.0
dhcp select interface
dhcp server option 43 sub-option 3 ascii 10.1.200.100
interface Vlanif102
ip address 10.1.102.1 255.255.255.0
dhcp select interface
dhcp server option 43 sub-option 3 ascii 10.1.200.100
因为当AP和AC不在同一网段时,默认AP无法找到控制器,此时在AP的网关交换机上做HCDP选项的配置,使用option 43告诉AP控制器的位置是10.1.200.100
四、检查AP上线
在控制器上使用命令dis ap all ,如果看不到AP上线请重启AP
[huawei-AC6005]dis ap all
All AP information(Normal-4,UnNormal-0):
——————————————————————————
AP AP AP Profile AP AP
/Region
ID Type MAC ID State Sysname
——————————————————————————
0 AP6010DN-AGN 00e0-fc03-1460 0/0 normal huawei-ap-0
1 AP6010DN-AGN 00e0-fc03-e500 0/0 normal ap-1
2 AP6010DN-AGN 00e0-fc03-c220 0/0 normal ap-2
3 AP6010DN-AGN 00e0-fc03-e000 0/0 normal ap-3
——————————————————————————
Total number: 4
五、交流学习
AC旁挂于核心交换机边,通过无线AC控制器来管理AP好不好?