华为ENSP AC+AP二层漫游基础实验配置

无线漫游是一种能让你的设备在移动过程中保持不间断网络连接的技术。

配置流程:

  1. AC创建vlan200 201,vlan200用于管理,给AP下发IP地址,vlan201用于业务给终端下发IP地址

  2. AC和SW1全部接口配置为Trunk,并且SW1的G0/0/3口和G0/0/2口需要加上PVID

  3. 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

  • 11
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值