
AC(无线控制器) + FIT AP + 交换机 + 认证服务器
典型拓扑:

下面整理网络工程师日常最常用 WLAN 配置命令。⭐
display version
作用:
查看:
display ap all
示例:
ID MAC State
0 xxxx-xxxx nor
1 xxxx-xxxx nor
状态:
状态 | 含义 |
|---|---|
nor | 正常在线 |
fault | 故障 |
idle | 未上线 |
display capwap link
查看:
display station all
显示:
进入 WLAN:
wlan
例如:
创建企业无线:
Office-WIFI
命令:
ssid-profile name Office-WIFI
进入:
ssid Office-WIFI
查看:
display ssid-profile
创建安全模板:
security-profile name Office-sec
配置:
security wpa-wpa2 psk pass-phrase cipher aes
设置密码:
wpa2 psk pass-phrase Huawei@123
查看:
display security-profile
VAP:
Virtual Access Point
作用:
绑定:
创建:
vap-profile name Office-vap
绑定SSID:
ssid-profile Office-WIFI
绑定安全:
security-profile Office-sec
例如:
员工无线:
VLAN 20
创建 VLAN:
vlan 20
quit
配置 VAP:
service-vlan vlan-id 20
效果:

进入:
wlan
配置 AP:
ap-id 1
绑定MAC:
ap-mac xxxx-xxxx-xxxx
命名:
ap-name AP-Office-01
绑定组:
ap-group Office-group
创建:
ap-group name Office-group
绑定:
ap-group Office-group
作用:
统一管理多个AP。
例如:
100个办公室AP:
一次配置全部生效。
2.4G:
radio-2g-profile name 2.4G-radio
5G:
radio-5g-profile name 5G-radio
自动:
channel-mode auto
手工:
channel 36
例如:
20dBm
eirp 20
进入:
wlan
创建:
vap-profile name Office-vap
绑定:
ap-group Office-group
绑定射频:
radio 0
service-vlan vlan-id 20
创建地址池:
ip pool wifi
地址:
network 192.168.20.0 mask 255.255.255.0
网关:
gateway-list 192.168.20.1
DNS:
dns-list 8.8.8.8
启用:
dhcp enable
接口:
interface vlanif 20
dhcp select global
创建认证模板:
authentication-profile name portal-auth
配置:
authentication-scheme portal
绑定:
authentication-profile portal-auth
#3 十二、配置 802.1X认证 🔐
创建:
authentication-profile dot1x-auth
指定:
authentication-scheme radius
应用:
vap-profile Office-vap
authentication-profile dot1x-auth
开启:
roam enable
查看:
display station roam
查看:
display ap all
查看CAPWAP:
display capwap configuration
display station all
display radio all
display wlan
display current-configuration
检查顺序:
AP供电
↓
DHCP地址
↓
Option43
↓
CAPWAP
↓
AP认证
检查:
SSID
↓
认证
↓
VLAN
↓
DHCP
↓
网关
↓
出口
检查:
信号强度
↓
信道干扰
↓
用户数量
↓
AP负载
↓
带宽
功能 | 命令 |
|---|---|
查看AP | display ap all |
查看用户 | display station all |
查看CAPWAP | display capwap link |
查看射频 | display radio all |
查看配置 | display current-configuration |
进入WLAN | wlan |
创建SSID | ssid-profile |
创建安全模板 | security-profile |
创建VAP | vap-profile |
创建AP组 | ap-group |
查看VLAN | display vlan |
查看DHCP | display ip pool |