无线漫游是一种能让你的设备在移动过程中保持不间断网络连接的技术。
配置流程:
-
AC创建vlan200 201,vlan200用于管理,给AP下发IP地址,vlan201用于业务给终端下发IP地址
-
AC和SW1全部接口配置为Trunk,并且SW1的G0/0/3口和G0/0/2口需要加上PVID
-
AC上配置ssid模板、security模板、vap模板、漫游组,AP1和AP2加入到同一个组,最后在AP组内调用
话不多说,直接上配置。
实验拓扑图:
SW1配置:
sys
sw1
vlan batch 100 101
int g0/0/1
port link-type trunk
port trunk allow-pass vlan
int g0/0/2
port link-type trunk
port trunk allow-pass vlan
port trunk pvid vlan 100
q
int g0/0/3
port link-type trunk
port trunk allow-pass vlan
port trunk pvid vlan 100
q
dhcp enable
vlan batch 100 101
int vlan 101
ip address 192.168.101.1 24
dhcp select interface
AC配置:
sys
sys AC1
int g0/0/1
port link-type trunk
port trunk allow-pass vlan
q
dhcp enable
vlan batch 100 101
int vlan 100
ip address 192.168.100.1 24
dhcp select interface
q
capwap source interface vlanif 100
wlan
ssid-profile name 1
ssid huawei
q
security-profile name 1
security wpa-wpa2 psk pass-phrase 123456789 aes
y
q
vap-profile name 1
forward-mode tunnel
service-vlan vlan-id 101
ssid-profile 1
security-profile 1
q
mobility-group name 1
member ip-address 192.168.100.1
q
ap-group name 1
y
q
ap auth-mode mac-auth
ap-id 1 ap-mac 00e0-fcbd-6520
ap-name ap1
ap-group 1
y
q
ap-id 2 ap-mac 00e0-fc54-7090
ap-name ap2
ap-group 1
y
q
ap-group name 1
vap-profile 1 wlan 1 radio all
查看命令:
[AC1]display vap all
Info: This operation may take a few seconds, please wait.
WID : WLAN ID
---------------------------------------------------------------------------
AP ID AP name RfID WID BSSID Status Auth type STA SSID
---------------------------------------------------------------------------
0 ap1 0 1 00E0-FCBD-6520 ON WPA/WPA2-PSK 0 huawei
0 ap1 1 1 00E0-FCBD-6530 ON WPA/WPA2-PSK 0 huawei
1 ap2 0 1 00E0-FC54-7090 ON WPA/WPA2-PSK 1 huawei
1 ap2 1 1 00E0-FC54-70A0 ON WPA/WPA2-PSK 0 huawei
---------------------------------------------------------------------------
Total: 4
[AC1]display mobility-group name 1 //查看漫游组信息
--------------------------------------------------------------------------------
State IP address Description
--------------------------------------------------------------------------------
normal 192.168.100.1 -
--------------------------------------------------------------------------------
Total: 1
[AC1]display station all
Rf/WLAN: Radio ID/WLAN ID
Rx/Tx: link receive rate/link transmit rate(Mbps)
--------------------------------------------------------------------------------
----------------------
STA MAC AP ID Ap name Rf/WLAN Band Type Rx/Tx RSSI VLAN IP a
ddress SSID
--------------------------------------------------------------------------------
----------------------
5489-9892-69d5 1 ap2 0/1 2.4G - -/- - 101 192.
168.101.254 huawei
--------------------------------------------------------------------------------
----------------------
Total: 1 2.4G: 1 5G: 0
[AC1]display station roam-track sta-mac 5489-9892-69D5 //查看终端漫游统计
Access SSID:huawei
Rx/Tx: link receive rate/link transmit rate(Mbps)
z: Zero Roam c:PMK Cache Roam r:802.11r Roam
------------------------------------------------------------------------------
L2/L3 AC IP AP name Radio ID
BSSID TIME In/Out RSSI Out Rx/Tx
------------------------------------------------------------------------------
-- 192.168.100.1 ap2 0
00e0-fc54-7090 2024/04/03 18:22:11 -95/-95 0/0
L2 192.168.100.1 ap1 0
00e0-fcbd-6520 2024/04/03 18:22:29 -95/-95 0/0
L2 192.168.100.1 ap2 0
00e0-fc54-7090 2024/04/03 18:22:33 -95/-95 0/0
L2 192.168.100.1 ap1 0
00e0-fcbd-6520 2024/04/03 18:22:48 -95/-95 0/0
L2 192.168.100.1 ap2 0
00e0-fc54-7090 2024/04/03 18:22:58 -95/- -/-
------------------------------------------------------------------------------
Number: 4
标签:AC,ENSP,name,ap,vlan,192.168,AP,trunk,port
From: https://blog.csdn.net/m0_62037376/article/details/137357572