12-H3C WA系列用户在线检测功能典型配置举例
本章节下载: 12-H3C WA系列用户在线检测功能典型配置举例 (116.10 KB)
H3C WA系列用户在线检测功能典型配置举例
关键词:在线检测,keepalive
摘 要:本文介绍了H3C公司WA系列无线局域网接入点设备用户在线检测功能配置的方法。
注 意:AP的配置要根据具体的AP和序列号进行配置
缩略语:
缩略语 |
英文全名 |
中文解释 |
AP |
Access Ponit |
无线接入点 |
H3C WA系列无线局域网接入点的用户在线检测功能可以检测到异常Client下线。正常情况下,Client下线时会发送离线报文通知AP,AP收到该报文后会从自己的用户列表中删除该Client。但是,若Client由于电源故障、系统崩溃等原因离线,Client便无法通知AP,这样AP的用户列表中就会一直保存该僵死用户。大量的僵死用户会占用AP的内存,降低AP性能。为了防止这种情况发生,可以在AP上打开用户在线检测功能,AP周期性的对用户列表中的Client进行扫描,若AP没有收到Client的扫描应答报文,AP就认为该Client已经离线,并从用户列表中删除该Client。
用户在线检测功能默认是关闭的,可以在任何情况下打开该功能。由于断电和系统死机等都是不可预知的,推荐用户使用时打开该功能。
本配置举例中的AP使用的是WA1208E系列无线局域网接入点设备。
图3-1 用户在线检测功能组网图
<AP> display version
H3C Comware Platform Software
Comware Software, Version 5.20, Beta 1106P03
Copyright (c) 2004-2008 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
WA1208E-AGP uptime is 0 week, 0 day, 0 hour, 54 minutes
CPU type: IXP422
64M bytes SDRAM Memory
8M bytes Flash Memory
Pcb Version: Ver.A
Basic BootROM Version: 2.08
Extend BootROM Version: 2.08
[SLOT 1]CON (Hardware)Ver.A, (Driver)1.0
[SLOT 1]ETH1/0/1 (Hardware)Ver.A, (Driver)1.0
[SLOT 1]RADIO1/0/1 (Hardware)Ver.A, (Driver)1.0
[SLOT 1]RADIO1/0/2 (Hardware)Ver.A, (Driver)1.0
<AP> display current-configuration
#
version 5.20, Beta 1106P03
#
sysname AP
#
domain default enable system
#
telnet server enable
#
wlan client keep-alive 300
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
#
local-user admin
password simple h3capadmin
authorization-attribute level 3
service-type telnet
#
wlan rrm
dot11a mandatory-rate 6 12 24
dot11a supported-rate 9 18 36 48 54
dot11b mandatory-rate 1 2
dot11b supported-rate 5.5 11
dot11g mandatory-rate 1 2 5.5 11
dot11g supported-rate 6 9 12 18 24 36 48 54
#
wlan service-template 1 clear
ssid H3C
service-template enable
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.0.50 255.255.255.0
#
interface Ethernet1/0/1
#
interface WLAN-BSS1
#
interface WLAN-Radio1/0/1
#
interface WLAN-Radio1/0/2
channel 1
service-template 1 interface wlan-bss 1
#
load xml-configuration
#
user-interface con 0
user-interface vty 0 4
authentication-mode scheme
#
return
# 创建并配置无线服务模版。
[AP] wlan service-template 1 clear
[AP-wlan-st-1] ssid H3C
[AP-wlan-st-1] service-template enable
# 创建无线虚接口。
[AP] interface WLAN-BSS 1
[AP-WLAN-BSS1] quit
# 在无线接口上绑定无线服务模版和虚接口。
[AP] interface WLAN-Radio 1/0/2
[AP-WLAN-Radio1/0/2] service-template 1 interface WLAN-BSS 1
# 配置用户在线检测功能,可配置的范围为3-1800s,实例中配置为300s,表示间隔5分钟检测一次用户是否在线,如果连续3次检测不到用户在线,则用户会自动从AP的用户列表中老化掉。
[AP] wlan client keep-alive 300
Client上线后,拔掉Client上的无线网卡,此时Client非正常下线,AP无从获知Client已经下线。默认情况下,由于没有开启用户下线检测功能,该Client会一直在AP的Client列表中。开启用户下线检测功能,并在AP上观察用户列表。约15分钟后,该Client会从AP的用户列表中老化掉。
<AP> display wlan client verbose
Total Number of Clients : 1
Total Number of Clients Connected : 1
Client Information
-------------------------------------------------------------------------------
MAC Address : 0013-46fd-9d4e
AID : 1
Radio Interface : WLAN-Radio1/0/2
SSID : H06532_clear1
BSSID : 000f-e200-0010
Port : WLAN-BSS1
VLAN : 1
State : Running
Power Save Mode : Active
Wireless Mode : 11g
QoS Mode : WMM
Listen Interval (Beacon Interval) : 10
RSSI : 65
SNR : 31
Rx/Tx Rate : 54/54
Client Type : PRE-RSNA
Authentication Method : Open System
AKM Method : None
4-Way Handshake State : -NA-
Group Key State : -NA-
Encryption Cipher : Clear
Roam Status : Normal
Up Time (hh:mm:ss) : 00:20:38
-------------------------------------------------------------------------------
[AP] wlan client keep-alive 300
15分钟后,再次观察用户,发现用户已经下线。
<AP> display wlan client
% Info: Clients do not exist.
无
《H3C WA系列无线局域网接入点设备 用户手册》“WLAN分册”。
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!