对齐方式
AC:WAC360 VLANIF:192.168.168.241
AP:WAP712C
需要建立一个无线访客SSID,跟现有网络隔离
(0)
最佳答案
您好,参考
#进入系统视图
<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)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论