国家 / 地区

04-典型配置案例(FAT AP)

01-H3C无线接入点WPA2-PSK典型配置举例(V7)

本章节下载  (145.03 KB)

docurl=/cn/Service/Document_Software/Document_Center/Home/Wlan/00-Public/Trending/Wlan_OneNote/H3C_V7_OneNote/04/201911/1246511_30005_0.htm

01-H3C无线接入点WPA2-PSK典型配置举例(V7)

H3C 无线接入点

WPA2-PSK典型配置举例(V7)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2017-2019 新华三技术有限公司 版权所有,保留一切权利。

非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本文档内容的部分或全部,并不得以任何形式传播。

除新华三技术有限公司的商标外,本手册中出现的其它公司的商标、产品标识及商品名称,由各自权利人拥有。

本文档中的信息可能变动,恕不另行通知。



1  简介

本文档介绍了无线服务使用WPA2-PSK加密的典型配置举例。

2  配置前提

本文档适用于使用Comware V7软件版本的无线接入点产品,不严格与具体硬件版本对应,如果使用过程中与产品实际情况有差异,请参考相关产品手册,或以设备实际情况为准。

本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。

本文档假设您已了解WLAN接入和WLAN用户安全相关特性。

3  配置举例

3.1  组网需求

图1所示,无线客户端通过FAT AP接入网络,IP Network内部服务器作为DHCP服务器为FAT AP分配地址,FAT AP作为DHCP server为无线客户端分配地址。现要求:

·            在FAT AP上配置WPA2-PSK加密方式,使客户端通过该加密方式接入无线网络。

·            客户端链路层认证使用开放式系统认证,用户接入认证使用Bypass认证的方式实现客户端接入WLAN网络的目的。

·            通过配置客户端和AP之间的数据报文采用PSK身份认证与密钥管理模式来确保用户数据的传输安全。

·            加密套件采用CCMP,安全信息元素采用RSN。

图1 WPA2-PSK加密配置组网图

 

 

3.2  配置步骤

3.2.1  配置FAT AP

(1)       配置接口

# 创建VLAN 100及其对应的VLAN接口,并为该接口配置IP地址,Client使用该VLAN接入无线网络。

<WA5530> system-view

[WA5530] vlan 100

[WA5530-vlan100] quit

[WA5530] interface vlan-interface 100

[WA5530-Vlan-interface100] ip address 192.1.1.1 24

[WA5530-Vlan-interface100] quit

# 配置上行接口Vlan-interface 1自动获得地址。

[WA5530] interface vlan-interface 1

[WA5530-Vlan-interface1] undo ip address

[WA5530-Vlan-interface1] ip address dhcp-alloc

[WA5530-Vlan-interface1] quit

(2)       配置无线服务模板。

# 创建服务模板service,并进入无线服务模板视图。

[WA5530] wlan service-template service

# 配置SSID为service。

[WA5530-wlan-st-service] ssid service

# 配置无线服务模板VLAN为100。

[WA5530-wlan-st-service] vlan 100

# 配置身份认证与密钥管理模式为PSK模式,配置PSK密钥为明文字符串12345678。

[WA5530-wlan-st-service] akm mode psk

[WA5530-wlan-st-service] preshared-key pass-phrase simple 12345678

# 配置加密套件为CCMP,安全信息元素为RSN。

[WA5530-wlan-st-service] cipher-suite ccmp

[WA5530-wlan-st-service] security-ie rsn

# 开启无线服务模板。

[WA5530-wlan-st-service] service-template enable

[WA5530-wlan-st-service] quit

(3)       进入WLAN-Radio 1/0/1接口,并将无线服务模板service绑定到WLAN-Radio 1/0/1接口。

[WA5530] interface wlan-radio 1/0/1

[WA5530-WLAN-Radio1/0/1] service-template service

[WA5530-WLAN-Radio1/0/1] quit

(4)       配置DHCP服务。

# 开启DHCP功能。

[WA5530] dhcp enable

# 创建名为vlan100的DHCP地址池,为Client分配IP地址,配置地址池动态分配的网段为192.1.1.0/24,网关地址为192.1.1.1。

[WA5530] dhcp server ip-pool vlan100

[WA5530-dhcp-pool-vlan100] network 192.1.1.0 mask 255.255.255.0

[WA5530-dhcp-pool-vlan100] gateway-list 192.1.1.1

[WA5530-dhcp-pool-vlan100] quit

3.3  验证配置

# 在AP上使用display wlan client verbose命令可以看到Client通过PSK加密方式接入无线网络。

[WA5530] display wlan client verbose

Total number of clients: 1                                                     

                                                                               

 MAC address                       : 3829-5a40-9589                            

 IPv4 address                      : 192.1.1.2                                 

 IPv6 address                      : N/A                                       

 Username                          : N/A                                       

 AID                               : 1024                                      

 Radio ID                          : 1                                         

 SSID                              : service                                    

 BSSID                             : d461-fe59-4d20                            

 VLAN ID                           : 1                                         

 Sleep count                       : 3                                         

 Wireless mode                     : 802.11an                                  

 Channel bandwidth                 : 40MHz                                      

 20/40 BSS Coexistence Management  : Supported                                 

 SM power save                     : Enabled                                   

 SM power save mode                : Static                                     

 Short GI for 20MHz                : Supported                                 

 Short GI for 40MHz                : Supported                                 

 STBC RX capability                : Supported                                 

 STBC TX capability                : Not supported                             

 LDPC RX capability                : Not supported                             

 Block Ack                         : TID 0  In                                 

 Supported HT MCS set              : 0, 1, 2, 3, 4, 5, 6, 7                    

 Supported rates                   : 6, 9, 12, 18, 24, 36,                     

                                     48, 54 Mbps                               

 QoS mode                          : WMM                                       

 Listen interval                   : 2                                         

 RSSI                              : 48                                        

 Rx/Tx rate                        : 135/6                                     

 Authentication method             : Open system                               

 Security mode                     : RSN                                        

 AKM mode                          : PSK                                       

 Cipher suite                      : CCMP                                      

 User authentication mode          : Bypass                                     

 Authorization ACL ID              : N/A                                       

 Authorization user profile        : N/A                                       

 Roam status                       : N/A                                        

 Key derivation                    : SHA1                                      

 PMF status                        : N/A                                       

 Forwarding policy name            : N/A                                       

 Online time                       : 0days 0hours 0minutes 8seconds            

 FT status                         : Inactive

3.4  配置文件

[WA5530]display current-configuration                                             

#                                                                               

 version 7.1.064, ESS 2326                                                     

#                                                                              

 sysname WA5530                                                                

#                                                                              

 telnet server enable                                                          

#                                                                               

 port-security enable                                                          

#                                                                              

 dhcp enable                                                                    

#                                                                              

 password-recovery enable                                                      

#                                                                               

vlan 1                                                                         

#                                                                              

vlan 100                                                                        

#                                                                              

dhcp server ip-pool vlan100                                                    

 gateway-list 192.1.1.1                                                        

 network 192.1.1.0 mask 255.255.255.0                                          

#                                                                              

wlan service-template service                                                         

 ssid service                                                                  

 vlan 100                                                                      

 akm mode psk                                                                  

 preshared-key pass-phrase cipher $c$3$7hZ2DNiI+h/ajPE7DhZbD6Y7py9vqf4721sp    

 cipher-suite ccmp                                                             

 security-ie rsn                                                               

 service-template enable                                                        

#                                                                              

interface NULL0                                                                

#                                                                              

interface Vlan-interface1                                                      

ip address dhcp-alloc                                                         

#                                                                              

interface Vlan-interface100                                                    

 ip address 192.1.1.1 255.255.255.0                                            

#                                                                               

interface GigabitEthernet1/0/1                                                 

#                                                                              

interface GigabitEthernet1/0/2                                                 

#                                                                              

interface WLAN-Radio1/0/1                                                      

 service-template service                                                             

#                                                                              

interface WLAN-Radio1/0/2                                                      

 service-template 1                                                             

#                                                                              

interface WLAN-Radio1/0/3                                                      

 service-template 1                                                              

#                                                                              

return

4  相关资料

·            《H3C 无线接入点 命令参考》中的“WLAN用户安全命令参考”。

·            《H3C 无线接入点 配置指导》中的“WLAN用户安全配置指导”。

·            《H3C 无线接入点 命令参考》中的“WLAN接入命令参考”。

·            《H3C 无线接入点 配置指导》中的“WLAN接入配置指导”。

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

联系我们 联系我们
联系我们
回到顶部 回到顶部