一.场景
实验环境以常见的AC设备旁挂在核心交换机,AP设备接入到汇聚交换机,如下图:
二.实现要求
ac实现集中管控ap,统一下发配置, 连接无线客户使用规划好的vlan
三.具体操作
1.首先进入ac设备配置:
dhcp enable
#
vlan 10
#
vlan 20
#
interface Vlan-interface1
ip address 192.168.1.1 255.255.255.0
#
interface Vlan-interface20
ip address 192.168.20.1 255.255.255.0
#
dhcp server ip-pool 192.168.1.1
gateway-list 192.168.1.1
network 192.168.1.0 mask 255.255.255.0
#
dhcp server ip-pool 192.168.20.1
gateway-list 192.168.20.1
network 192.168.20.0 mask 255.255.255.0
dns-list 8.8.8.8
#
local-user admin class manage
password hash admin@123
service-type https
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
#
ip https enable
#
ip route-static 0.0.0.0 0 192.168.30.2
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk permit vlan all
#
进入ac页面进行无线配置
交换机配置:
interface Vlan-interface60
ip address 192.168.60.2 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan all
查看结果:
dis wlan ap all 查看ap上线