目前是交换机集中管控无线, 是本地转发,需求新增加一个VLAN用于访客认证, 需要怎么改配置
wlan ap-group default-group ap-model WA5320 map-configuration flash:/apcfg.txt radio 1 radio enable service-template zhenshi radio 2 radio enable service-template zhenshi gigabitethernet 1 gigabitethernet 2 ap-model WA5530 map-configuration flash:/apcfg.txt radio 1 radio enable service-template zhenshi radio 2 radio enable service-template zhenshi radio 3 radio enable service-template zhenshi module 1 gigabitethernet 1 gigabitethernet 2 # wlan ap 3cf5-cc7c-8320 model WA5320 serial-id XXXXXXXX radio 1 radio 2 gigabitethernet 1 gigabitethernet 2
这个是目前的配置
(0)
最佳答案
你需要规划一下访客vlan ID号和网段;假如访客vlan是100
1、创建无线服务模板
#
wlan service-template fangke
ssid fangke
vlan 100
service-template enable
2、修改AP的map文件 添加允许vlan100通过,然后重新绑定map文件。
3、给AP组下所有的ap添加这个服务模板,直接增加配置
wlan ap-group default-group
ap-model WA5320
radio 1 radio enable service-template fangke
radio 2 radio enable service-template fangke
quit
ap-model WA5530
radio 1 radio enable service-template fangke
radio 2 radio enable service-template fangke
radio 3 radio enable service-template fangke
(0)
那我下面接AP的交换机的端口类型需要改嘛
#进入系统视图
<H3C>system-view
System View: return to User View with Ctrl+Z.
#创建业务VLAN10,并配置VLAN虚接口地址192.168.10.1作为无线“test”客户端的网关地址
[H3C]vlan 10
[H3C-vlan10] interface Vlan-interface 10
[H3C-Vlan-interface10]ip address 192.168.10.1 255.255.255.0
#创建业务VLAN20,并配置VLAN虚接口地址192.168.20.1作为无线“service”客户端的网关地址
[H3C]vlan 20
[H3C-vlan20] interface Vlan-interface 20
[H3C-Vlan-interface20]ip address 192.168.20.1 255.255.255.0
[H3C-Vlan-interface20]quit
#全局开启dhcp功能
[H3C]dhcp enable
#配置地址池1
[H3C]dhcp server ip-pool 1
#分配192.168.10.0/24网段地址,网关为192.168.10.1,dns服务器地址为114.114.114.114
[H3C-dhcp-pool-1]network 192.168.10.0 mask 255.255.255.0
[H3C-dhcp-pool-1]gateway-list 192.168.10.1
[H3C-dhcp-pool-1]dns-list 114.114.114.114
[H3C-dhcp-pool-1]quit
#配置地址池2
[H3C]dhcp server ip-pool 2
#分配192.168.20.0/24网段地址,网关为192.168.20.1,dns服务器地址为114.114.114.114
[H3C-dhcp-pool-2]network 192.168.20.0 mask 255.255.255.0
[H3C-dhcp-pool-2]gateway-list 192.168.20.1
[H3C-dhcp-pool-2]dns-list 114.114.114.114
[H3C-dhcp-pool-2]quit
#开启端口安全
[H3C]port-security enable
# 配置创建无线服务模板1,SSID为test
[H3C] wlan service-template 1
[H3C-wlan-st-1] ssid test
# 配置接入该SSID的无线客户端属于vlan10
[H3C-wlan-st-1] vlan 10
# 配置AKM为PSK,配置PSK密钥,使用明文的字符串12345678作为共享密钥。
[H3C-wlan-st-1] akm mode psk
[H3C-wlan-st-1] preshared-key pass-phrase simple 12345678
# 配置CCMP为加密套件,配置WPA2为安全信息元素。
[H3C-wlan-st-1] cipher-suite ccmp
[H3C-wlan-st-1] security-ie rsn
# 使能无线服务模板。
[H3C-wlan-st-1] service-template enable
[H3C-wlan-st-1] quit
# 配置创建无线服务模板2,SSID为service
[H3C] wlan service-template 2
[H3C-wlan-st-2] ssid service
# 配置接入该SSID的无线客户端属于vlan20,配置AKM为PSK,配置PSK密钥,使用明文的字符串12345678作为共享密钥,配置CCMP为加密套件,配置WPA2为安全信息元素。
[H3C-wlan-st-2] vlan 20
[H3C-wlan-st-2] akm mode psk
[H3C-wlan-st-2] preshared-key pass-phrase simple 12345678
[H3C-wlan-st-2] cipher-suite ccmp
[H3C-wlan-st-2] security-ie rsn
# 使能无线服务模板。
[H3C-wlan-st-2] service-template enable
[H3C-wlan-st-2] quit
# 进入AP射频口绑定两个服务模板并且开启射频。
[H3C]wlan ap ap1
[H3C-wlan-ap-ap1]radio 1
[H3C-wlan-ap-ap1-radio-1]service-template 1
[H3C-wlan-ap-ap1-radio-1]service-template 2
[H3C-wlan-ap-ap1-radio-1]radio enable
[H3C-wlan-ap-ap1-radio-1]quit
[H3C-wlan-ap-ap1]radio 2
[H3C-wlan-ap-ap1-radio-2]service-template 1
[H3C-wlan-ap-ap1-radio-2]service-template 2
[H3C-wlan-ap-ap1-radio-2]radio enable
[H3C-wlan-ap-ap1-radio-2]quit
[H3C-wlan-ap-ap1]quit
[H3C]save force
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
那我下面接AP的交换机的端口类型需要改嘛