Huawei 大型 WLAN 组网 AC 间漫游

AC1配置命令

<AC6005>display current-configuration 
#
vlan batch 100
#
interface Vlanif100
 description to_S3_CAPWAP
 ip address 10.0.100.254 255.255.255.0
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 100

#
ip route-static 10.0.10.0 255.255.255.0 10.0.100.1
ip route-static 10.0.200.0 255.255.255.0 10.0.100.1
#
capwap source interface vlanif100
#
wlan
 security-profile name department1
  security wpa2 psk pass-phrase huawei123 aes
 ssid-profile name department1
  ssid roam
 vap-profile name department1
  service-vlan vlan-id 11
  ssid-profile department1
  security-profile department1
 mobility-group name mobility
  member ip-address 10.0.100.254
  member ip-address 10.0.200.254
 ap-group name default
 ap-group name department1
  radio 0
   vap-profile department1 wlan 1
  radio 1
   vap-profile department1 wlan 1
  radio 2
   vap-profile department1 wlan 1
 ap-id 0  ap-mac 00e0-fcb4-7c80 
  ap-name ap1
  ap-group department1
<AC6005>

AC2配置命令

<AC6005>display current-configuration 
#
vlan batch 200
#
interface Vlanif200
 description to_S3_CAPWAP
 ip address 10.0.200.254 255.255.255.0
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 200
#
ip route-static 10.0.20.0 255.255.255.0 10.0.200.1
ip route-static 10.0.100.0 255.255.255.0 10.0.200.1
#
capwap source interface vlanif200
#
wlan
 traffic-profile name default
 security-profile name department2
  security wpa2 psk pass-phrase huawei123 aes
 ssid-profile name department2
  ssid roam
 vap-profile name department2
  service-vlan vlan-id 21
  ssid-profile department2
  security-profile department2
 mobility-group name mobility
  member ip-address 10.0.100.254
  member ip-address 10.0.200.254
 ap-group name department2
  radio 0
   vap-profile department2 wlan 1
  radio 1
   vap-profile department2 wlan 1
  radio 2
   vap-profile department2 wlan 1
 ap-id 0 ap-mac 00e0-fc2e-57c0 
  ap-name ap2
  ap-group department2
<AC6005>

SW3配置命令

<Huawei>display current-configuration 
#
vlan batch 10 to 11 20 to 21 100 200
#
dhcp enable
#
ip pool ap1
 gateway-list 10.0.10.1
 network 10.0.10.0 mask 255.255.255.0
 option 43 sub-option 3 ascii 10.0.100.254
#
ip pool ap2
 gateway-list 10.0.20.1
 network 10.0.20.0 mask 255.255.255.0
 option 43 sub-option 3 ascii 10.0.200.254
#
ip pool service_ap_1
 gateway-list 10.0.11.1
 network 10.0.11.0 mask 255.255.255.0
 dns-list 10.0.11.1
#
ip pool service_ap_2
 gateway-list 10.0.21.1
 network 10.0.21.0 mask 255.255.255.0
 dns-list 10.0.21.1
#
interface Vlanif10
 description ap1_management
 ip address 10.0.10.1 255.255.255.0
 dhcp select global
#
interface Vlanif11
 description ap1_service
 ip address 10.0.11.1 255.255.255.0
 dhcp select global
#
interface Vlanif20
 description ap2_managment
 ip address 10.0.20.1 255.255.255.0
 dhcp select global
#
interface Vlanif21
 description ap2_service
 ip address 10.0.21.1 255.255.255.0
 dhcp select global
#
interface Vlanif100
 description to_AC1
 ip address 10.0.100.1 255.255.255.0
#
interface Vlanif200
 description to_AC2
 ip address 10.0.200.1 255.255.255.0
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 100
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 200
#
interface GigabitEthernet0/0/3
 port link-type trunk
 port trunk allow-pass vlan 20 to 21
#
interface GigabitEthernet0/0/4
 port link-type trunk
 port trunk pvid vlan 10
 port trunk allow-pass vlan 10 to 11
#
interface LoopBack0
 ip address 10.0.3.3 255.255.255.255
<Huawei>

SW4配置命令

<Huawei>display current-configuration 
vlan batch 20 to 21
#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 20 to 21
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk pvid vlan 20
 port trunk allow-pass vlan 20 to 21
<Huawei>

移动STA到另一个区域 ,命令查看漫游设备如下

相关推荐
@海~涛4 小时前
鸿蒙OpenHarmony
华为·harmonyos
训山10 小时前
【11】纯血鸿蒙HarmonyOS NEXT星河版开发0基础学习笔记-模块化语法与自定义组件
笔记·学习·华为·harmonyos·鸿蒙系统
helloxmg11 小时前
鸿蒙harmonyos next flutter混合开发之开发package
flutter·华为·harmonyos
东林知识库1 天前
鸿蒙NEXT开发-自定义构建函数(基于最新api12稳定版)
华为·harmonyos
真正的醒悟2 天前
华为资源分享
运维·服务器·华为
鸿蒙自习室2 天前
鸿蒙网络管理模块04——网络连接管理
华为·harmonyos·鸿蒙·媒体
Yeats_Liao2 天前
华为开源自研AI框架昇思MindSpore应用案例:计算高效的卷积模型ShuffleNet
人工智能·深度学习·华为
cn_mengbei2 天前
HUAWEI New4.9G 与 2.6G 无法正常切换问题处理案例
网络·华为
叶庭云2 天前
了解华为计算产品线,昇腾的业务都有哪些?
人工智能·华为·昇腾·计算产品线·ai 大模型时代
训山2 天前
【10】纯血鸿蒙HarmonyOS NEXT星河版开发0基础学习笔记-泛型基础全解(泛型函数、泛型接口、泛型类)及参数、接口补充
笔记·学习·华为·harmonyos·鸿蒙系统