搜档网
当前位置:搜档网 › 华三无线v7简单配置案例

华三无线v7简单配置案例

华三无线v7简单配置案例
华三无线v7简单配置案例

1. 组网需求

如图1-10所示,AC旁挂在Switch上,Switch同时作为DHCP server为AP和Client 分配IP地址。通过配置客户端在链路层使用WEP密钥12345接入无线网络。

2. 组网图

图1-1 共享密钥认证配置组网图

3. 配置步骤

(1)创建无线服务模板

# 创建无线服务模板service1。

system-view

[AC] wlan service-template service1

# 配置无线服务的SSID为service。

[AC-wlan-st-service1] ssid service

(2)配置WEP并使能无线服务模板

# 配置使用WEP40加密套件,配置密钥索引为2,使用明文的字符串12345作为共享密钥。

[AC-wlan-st-service1] cipher-suite wep40

[AC-wlan-st-service1] wep key 2 wep40 pass-phrase simple 12345

[AC-wlan-st-service1] wep key-id 2

# 使能无线服务模板。

[AC-wlan-st-service1] service-template enable

[AC-wlan-st-service1] quit

(3)将无线服务模板绑定到radio1上

# 创建手工AP,名称为ap1,并配置序列号。

[AC] wlan ap ap1 model WA4320i-ACN

[AC-wlan-ap-ap1] serial-id 219801A0CNC138011454

# 进入Radio 1视图。

[AC-wlan-ap-ap1] radio 1

# 将无线服务模板绑定到Radio 1上,并开启射频。

[AC-wlan-ap-ap1-radio-1] service-template service1

[AC-wlan-ap-ap1-radio-1] radio enable

[AC-wlan-ap-ap1-radio-1] return

4. 验证配置

# 配置完成后,在AC上执行display wlan service-template命令,可以看到无线服务模板下安全信息的配置情况如下:

display wlan service-template service1

Service template name : service1

SSID : service

SSID-hide : Disabled

User-isolation : Disabled

Service template status : Enabled

Maximum clients per BSS : 64

Frame format : Dot3

Seamless roam status :

Disabled

Seamless roam RSSI threshold :

50

Seamless roam RSSI gap : 20

VLAN ID : 1

AKM mode : Not configured

Security IE : Not configured

Cipher suite : WEP40

WEP key ID : 2

TKIP countermeasure time : 0

PTK lifetime : 43200 sec

GTK rekey : Enabled

GTK rekey method : Time-based

GTK rekey time : 86400 sec

GTK rekey client-offline : Enabled

User authentication mode : Bypass

Intrusion protection : Disabled

Intrusion protection mode : Temporary-block

Temporary block time : 180 sec

Temporary service stop time : 20 sec

Fail VLAN ID : Not configured

802.1X handshake : Disabled

802.1X handshake secure : Disabled

802.1X domain : Not configured

MAC-auth domain : Not configured

Max 802.1X users : 4096 Max MAC-auth users : 4096

802.1X re-authenticate : Disabled

Authorization fail mode : Online

Accounting fail mode : Online

Authorization : Permitted

Key derivation : N/A

PMF status : Disabled

Hotspot policy number : Not configured

Forwarding policy status :

Disabled

Forwarding policy name : Not configured

FT status : Disabled

QoS trust : Port

QoS priority : 0

1.1.2PSK身份认证与密钥管理模式和Bypass认证配置举例

1. 组网需求

如图1-11所示,AC旁挂在Switch上,Switch同时作为DHCP server为AP和Client分配IP地址。通过配置客户端PSK密钥12345678接入

无线网络。

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

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

2. 组网图

图1-2 PSK+Bypass认证配置组网图

3. 配置步骤

(1)创建无线服务模板

# 创建无线无线服务模板service1。

system-view

[AC] wlan service-template service1

# 配置无线服务的SSID为service。

(2)配置身份认证与密钥管理模式为PSK模式、加密套件为CCMP、安全信息

元素为WPA并使能无线服务模板

# 配置AKM为PSK,配置PSK密钥,使用明文的字符串12345678作为共享密钥。[AC-wlan-st-service1] akm mode psk

[AC-wlan-st-service1] preshared-key pass-phrase simple 12345678

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

[AC-wlan-st-service1] cipher-suite ccmp

[AC-wlan-st-service1] security-ie wpa

# 使能无线服务模板。

[AC-wlan-st-service1] service-template enable

[AC-wlan-st-service1] quit

(3)进入AP视图并将无线服务模板绑定到radio1上

# 创建手工AP,名称为ap1,并配置序列号。

[AC] wlan ap ap1 model WA4320i-ACN

[AC-wlan-ap-ap1] serial-id 219801A0CNC138011454

# 进入Radio 1视图。

[AC-wlan-ap-ap1] radio 1

# 将无线服务模板绑定到Radio 1上,并开启射频。

[AC-wlan-ap-ap1-radio-1] service-template service1

[AC-wlan-ap-ap1-radio-1] radio enable

[AC-wlan-ap-ap1-radio-1] return

4. 验证配置

# 配置完成后,在AC上执行display wlan service-template命令,可以看到无线服务模板的配置情况如下。

display wlan service-template service1

Service template name : service1

SSID : service

SSID-hide : Disabled

User-isolation : Disabled

Service template status : Enabled

Maximum clients per BSS : 64

Frame format : Dot3

Seamless roam status :

Disabled

Seamless roam RSSI threshold :

50

Seamless roam RSSI gap : 20

VLAN ID : 1

AKM mode : PSK Security IE : WPA

Cipher suite : CCMP

WEP key ID : 2

TKIP countermeasure time : 0

PTK lifetime : 43200 sec GTK rekey : Enabled GTK rekey method : Time-based

GTK rekey time : 86400 sec

GTK rekey client-offline : Enabled

User authentication mode : Bypass

Intrusion protection : Disabled

Intrusion protection mode : Temporary-block

Temporary block time : 180 sec

Temporary service stop time : 20 sec

Fail VLAN ID : Not configured 802.1X handshake : Disabled

802.1X handshake secure : Disabled

802.1X domain : Not configured MAC-auth domain : Not configured Max 802.1X users : 4096

Max MAC-auth users : 4096

802.1X re-authenticate : Disabled

Authorization fail mode : Online

Accounting fail mode : Online

Authorization : Permitted

Key derivation : N/A

PMF status : Disabled Hotspot policy number : Not configured Forwarding policy status :

Disabled

Forwarding policy name : Not configured

FT status : Disabled QoS trust : Port

QoS priority : 0

1.1.3PSK身份认证与密钥管理模式和MAC地址认证配置举例

1. 组网需求

如图1-12所示,AC旁挂在Switch上,Switch同时作为DHCP server为AP和Client分配IP地址。通过配置客户端PSK密钥12345678接入

无线网络。

客户端链路层认证使用开放式系统认证,客户端通过RADIUS 服务器进行MAC地址认证的方式,实现客户端可使用固定用户名abc和密码123接入WLAN网络的目的。

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

2. 组网图

图1-3 PSK密钥管理模式和MAC认证配置组网图

3. 配置步骤

下述配置中包含了若干AAA/RADIUS协议的配置命令,关于这些命令的详细介绍,请参见“安全命令参考”中的“AAA”。

确保RADIUS服务器与AC路由可达,并成功添加了用户账户,用户名为abc,密码为123。

(1)创建无线服务模板

# 创建无线无线服务模板service1。

system-view

[AC] wlan service-template service1

# 配置无线服务的SSID为service。

[AC-wlan-st-service1] ssid service

(2)配置身份认证与密钥管理为PSK模式、加密套件为CCMP、安全信息元素

为WPA

# 配置AKM为PSK,配置PSK密钥,使用明文的字符串12345678作为共享密钥。[AC-wlan-st-service1] akm mode psk

[AC-wlan-st-service1] preshared-key pass-phrase simple 12345678

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

相关主题