IT袋

当前位置:主页 > 经验教程 > 硬件教程 >

华为无线网络射频调优及WLAN跨VLAN的三层漫游示例

华为无线网络射频调优及WLAN跨VLAN的三层漫游示例(3)

更新:2024-04-03 00:46:35 来源:IT袋 作者:马勇
导读:华为无线网络射频调优及WLAN跨VLAN的三层漫游示例,在 SwitchB 上创建 VLANIF101 和 VLANIF102 接口为 STA 提供地址,并指定默认网关 说明: DNS服务器地址请根据实际需要配置。常用配置方法如下: 接口地址池场景

华为无线网络射频调优及WLAN跨VLAN的三层漫游示例

SwitchB上创建VLANIF101VLANIF102接口为STA提供地址,并指定默认网关

说明:

DNS服务器地址请根据实际需要配置。常用配置方法如下:

  • 接口地址池场景,需要在VLANIF接口视图下执行命令dhcp server dns-listip-address&<1-8>。
  • 全局地址池场景,需要在IP地址池视图下执行命令dns-listip-address&<1-8>。
[SwitchB] interface vlanif 101
[SwitchB-Vlanif101] ip address 10.23.101.1 24
[SwitchB-Vlanif101] dhcp select interface
[SwitchB-Vlanif101] dhcp server gateway-list 10.23.101.2
[SwitchB-Vlanif101] quit
[SwitchB] interface vlanif 102
[SwitchB-Vlanif102] ip address 10.23.102.1 24
[SwitchB-Vlanif102] dhcp select interface
[SwitchB-Vlanif102] dhcp server gateway-list 10.23.102.2
[SwitchB-Vlanif102] quit

# 在AC上创建全局地址池为AP提供地址

[AC] dhcp enable
[AC] ip pool huawei
[AC-ip-pool-huawei] network 10.23.10.0 mask 24
[AC-ip-pool-huawei] gateway-list 10.23.10.1
[AC-ip-pool-huawei] option 43 sub-option 3 ascii 10.23.100.1
[AC-ip-pool-huawei] quit
[AC] interface vlanif 100
[AC-Vlanif100] dhcp select global
[AC-Vlanif100] quit

5.4、配置AP上线

# 创建AP

用于将相同配置的AP都加入同一AP组中。

[AC] wlan
[AC-wlan-view] ap-group name ap-group1
[AC-wlan-ap-group-ap-group1] quit
[AC-wlan-view] ap-group name ap-group2
[AC-wlan-ap-group-ap-group2] quit

创建域管理模板

在域管理模板下配置AC的国家码并在AP组下引用域管理模板。

[AC-wlan-view] regulatory-domain-profile name default
[AC-wlan-regulate-domain-default] country-code cn
[AC-wlan-regulate-domain-default] quit
[AC-wlan-view] ap-group name ap-group1
[AC-wlan-ap-group-ap-group1] regulatory-domain-profile default
Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continu
e?[Y/N]:y 
[AC-wlan-ap-group-ap-group1] quit
[AC-wlan-view] ap-group name ap-group2
[AC-wlan-ap-group-ap-group2] regulatory-domain-profile default
Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continu
e?[Y/N]:y 
[AC-wlan-ap-group-ap-group2] quit
[AC-wlan-view] quit

配置AC的源接口

[AC] capwap source interface vlanif 100

注册AP

AC上离线导入AP,并将area_1area_2分别加入APap-group1ap-group2中。

假设APMAC

相关阅读