• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

H3C WA系列Fat AP典型配置案例集-6W104

05-H3C WA系列PSK认证方式典型配置举例

本章节下载 05-H3C WA系列PSK认证方式典型配置举例  (129.82 KB)

docurl=/cn/Service/Document_Software/Document_Center/Home/Wlan/00-Public/Configure/Typical_Configuration_Example/H3C_WA_Fat_AP-6W104/201909/1225112_30005_0.htm

05-H3C WA系列PSK认证方式典型配置举例

H3C WA系列 PSK认证典型配置举例

关键词:PSK

  :随着无线网络应用的广泛普及,越来越多无线用户出现,使得无线安全问题凸显出来,PSK证可以实现利用共享密钥的方式对无线用户进行控制,对无线数据机密进行保护。

缩略语:

缩略语

英文全名

中文解释

PSK

Preshared Key

预共享密钥

 



1 特性简介

PSK(Preshared Key,预共享密钥)用来以预共享密钥的方式对无线用户的接入进行控制,并能够动态产生密钥保护无线局域网中的授权用户所交换的数据的机密性,防止这些数据被随机窃听。

2 应用场合

PSK对无线报文的一种预共享密钥的认证方式和产生动态密钥对无线数据报文进行加密,该协议适用于接入设备与Client点到点的连接方式。通过预共享密钥的方式来进行认证。并产生动态密钥对数据进行加密。

3 配置举例

3.1  组网需求

本配置举例中的AP使用的是WA2200无线局域网接入点。

 

本典型举例通过在AP的WLAN-BSS 2端口上启用PSK认证来达到对接入点Client1进行控制的目的。

图3-1 WA2200 PSK认证组网图

 

3.2  配置思路

配置PSK认证,需要配置以下内容:

l              创建启用PSK认证的无线口;

l              创建启用PSK认证的服务模版;

l              在射频口把服务模板和无线口绑定。

3.3  使用版本

[AP]display version

H3C Comware Platform Software

Comware Software, Version 5.20, 0001

Copyright (c) 2004-2007 Hangzhou H3C Tech. Co., Ltd. All rights reserved.

WA2200 uptime is 0 week, 0 day, 16 hours, 48 minutes

 

 CPU type: AMCC PowerPC 266MHz

 64M bytes SDRAM Memory

 8M bytes Flash Memory

 Pcb             Version:  Ver.A

 Basic  BootROM  Version:  1.04

 Extend BootROM  Version:  1.04

 [SLOT  1]CON           (Hardware)Ver.A, (Driver)1.0

 [SLOT  1]RADIO1/0/1    (Hardware)Ver.A, (Driver)1.0

 [SLOT  1]RADIO1/0/1    (Hardware)Ver.A, (Driver)1.0

 [SLOT  1]ETH1/0/1      (Hardware)Ver.A, (Driver)1.0

 [SLOT  1]ETH1/0/2      (Hardware)Ver.A, (Driver)1.0

 

3.4  配置AP PSK认证

1. 配置文件

<AP>display current-configuration

#

 version 5.00, 0001

#

 sysname AP

#

 configure-user count 1

#

 domain default enable system

#

 port-security enable

#

vlan 1

#

vlan 2 to 4094

#

radius scheme system

 primary authentication 127.0.0.1

 primary accounting 127.0.0.1

 key authentication h3c

 key accounting h3c

 accounting-on enable

domain system

 access-limit disable

 state active

 idle-cut disable

 self-service-url disable

#

wlan service-template 2 crypto

 ssid h3c-psk

 authentication-method open-system

 cipher-suite tkip

 security-ie wpa

 service-template enable

#

interface NULL0

#

interface Vlan-interface1

 ip address 192.168.1.50 255.255.255.0

#

interface Ethernet1/0/1

#

interface Ethernet1/0/2

#

interface WLAN-BSS2

 port-security port-mode psk

 port-security tx-key-type 11key

port-security preshared-key pass-phrase 12345678

#

interface WLAN-Radio1/0/1

#

interface WLAN-Radio1/0/2

 service-template 2 interface wlan-bss 2

#

 ip route-static 0.0.0.0 0.0.0.0 192.168.1.1

#

user-interface con 0

 idle-timeout 0 0

user-interface vty 0 4

#

return

2. 配置步骤

在PSK接入端(AP)配置PSK

(1)        启用port-security

[AP]port-security enable

(2)        配置无线接口,认证方式为PSK

[AP]interface WLAN-BSS2

# 配置无线端口WLAN-BSS2的端口安全模式为psk

[AP-WLAN-BSS2]port-security port-mode psk

# 在接口WLAN-BSS2下使能11key类型的密钥协商功能。

[AP-WLAN-BSS2]port-security tx-key-type 11key

# 在接口WLAN-BSS2下配置预共享密钥为12345678。

[AP-WLAN-BSS2]port-security preshared-key pass-phrase 12345678

(3)        配置无线服务模板

# 创建一个crypto类型的服务模板2。

[AP-wlan-rp-rp]wlan service-template 2 crypto

# 设置服务模板2的SSID为h3c-psk。

[AP-wlan-st-2]ssid h3c-psk

# 使能开放式系统认证。

[AP-wlan-st-2]authentication-method open-system

# 使能TKIP加密套件。

[AP-wlan-st-2] cipher-suite tkip

# 配置信标和探查帧携带WPA IE信息。

[AP-wlan-st-2] security-ie wpa

# 使能服务模板2。

[AP-wlan-st-2]service-template enable

(4)        在射频口WLAN-Radio 1/0/2绑定无线服务模板2和无线口WLAN-BSS 2。

[AP]interface WLAN-Radio 1/0/2

[AP-WLAN-Radio1/0/2]service-template 2 interface WLAN-BSS 2

(5)        配置VLAN虚接口。

[AP1]interface Vlan-interface1

[AP-Vlan-interface1]ip address 192.168.1.50 255.255.255.0

(6)        配置缺省路由

[AP-Vlan-interface1]ip route-static 0.0.0.0 0.0.0.0 192.168.1.1

3.5  验证结果

(1)        在配置错误预共享密钥的情况下,使用Client1访问internet,有结果1。

(2)        在配置正确预共享密钥的情况下,使用Client1访问internet,有结果2。

结果1:Client1不能访问Internet上的资源。

结果2:Client1可以成功关联,并且可以正常访问internet上的资源。

4 相关资料

4.1  相关协议和标准

表4-1 相关协议与标准

标准号

标题

IEEE 802.11i

802.11i IEEE Standard for Information technology—Telecommunications and information exchange between systems—Local and metropolitan area networks—Specific requirements

 

4.2  其它相关资料

l              《H3C WA系列无线接入点设备 用户手册》“WLAN分册”中的“WLAN”。

l              《H3C WA系列无线接入点设备 用户手册》“安全分册”中的“端口安全”。

 

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

新华三官网
联系我们