当前位置:网站首页>华为无线设备配置静态负载均衡
华为无线设备配置静态负载均衡
2022-07-17 20:35:00 【Tony_long7483】

配置LSW和AC,使AP与AC之间能够传输CAPWAP报文
[LSW1]vlan batch 10
[LSW1-GigabitEthernet0/0/1]port link-type trunk
[LSW1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10
[LSW1-GigabitEthernet0/0/2]port link-type trunk
[LSW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 10
[LSW1-GigabitEthernet0/0/2]port trunk pvid vlan 10
[LSW1-GigabitEthernet0/0/2]port-isolate enable
[LSW1-GigabitEthernet0/0/3]port link-type trunk
[LSW1-GigabitEthernet0/0/3]port trunk allow-pass vlan 10
[LSW1-GigabitEthernet0/0/3]port trunk pvid vlan 10
[LSW1-GigabitEthernet0/0/3]port-isolate enable
[AC1]vlan batch 10
[AC1-GigabitEthernet0/0/1]port link-type trunk
[AC1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10配置AC与上层网络设备互通
[AC1]vlan batch 20 30 40
[AC1-Vlanif20]ip add 10.1.2.1 24
[AC1-Vlanif30]ip add 10.1.3.1 24
[AC1-Vlanif40]ip add 10.1.4.1 24
[AC1]ip route-static 0.0.0.0 0.0.0.0 10.1.4.2
[AC1-GigabitEthernet0/0/2]port link-type trunk
[AC1-GigabitEthernet0/0/2]port trunk allow-pass vlan 40
[AC1-GigabitEthernet0/0/2]port trunk pvid vlan 40配置AC给AP分配IP地址,AR给STA分配IP地址
[AC1]dhcp enable
[AC1]int Vlanif 10
[AC1-Vlanif10]ip add 10.1.1.1 24
[AC1-Vlanif10]dhcp select interface //配置AC通过接口地址池为AP分配IP地址
[AC1-Vlanif20]dhcp select relay //配置AC作为DHCP中继并使能DHCP中继探测用户表项功能
[AC1-Vlanif20]dhcp relay server-ip 10.1.4.2
[AC1-Vlanif30]dhcp select relay
[AC1-Vlanif30]dhcp relay server-ip 10.1.4.2
[AR1]dhcp enable //配置AR作为DHCP服务器为STA分配IP地址
[AR1]ip pool sta-ip-pool1
[AR1-ip-pool-sta-ip-pool1]gateway-list 10.1.2.1
[AR1-ip-pool-sta-ip-pool1]network 10.1.2.0 mask 24
[AR1]ip pool sta-ip-pool2
[AR1-ip-pool-sta-ip-pool2]gateway-list 10.1.3.1
[AR1-ip-pool-sta-ip-pool2]network 10.1.3.0 mask 24
[AR1-GigabitEthernet0/0/0]ip add 10.1.4.2 24
[AR1-GigabitEthernet0/0/0]dhcp select global
[AR1]ip route-static 10.1.2.0 24 10.1.4.1
[AR1]ip route-static 10.1.3.0 24 10.1.4.1配置VLAN pool,用于作为业务VLAN
[AC1]vlan pool sta-pool
[AC1-vlan-pool-sta-pool]vlan 20 30
[AC1-vlan-pool-sta-pool]assignment hash配置AP上线
[AC1]wlan
[AC1-wlan-view]ap-group name ap-group1 //创建AP组
[AC1-wlan-view]regulatory-domain-profile name domain1 //创建域管理模板,在域管理模板下配置AC的国家码并在AP组下引用域管理模板
[AC1-wlan-regulate-domain-domain1]country-code cn
[AC1-wlan-view]ap-group name ap-group1
[AC1-wlan-ap-group-ap-group1]regulatory-domain-profile domain1
[AC1]capwap source interface Vlanif 10 //配置AC的源接口
[AC1]wlan
[AC1-wlan-view]ap auth-mode mac-auth
[AC1-wlan-view]ap-id 0 ap-mac 00e0-fcae-6d70 //在AC上离线导入AP
[AC1-wlan-ap-0]ap-name ap1
[AC1-wlan-ap-0]ap-group ap-group1
[AC1-wlan-view]ap-id 1 ap-mac 00e0-fc31-7140
[AC1-wlan-ap-1]ap-name ap2
[AC1-wlan-ap-1]ap-group ap-group1
配置WLAN业务参数
[AC1-wlan-view]security-profile name wlan-security //创建安全模板,并配置安全策略
[AC1-wlan-sec-prof-wlan-security]security wpa2 psk pass-phrase [email protected] aes
[AC1-wlan-view]ssid-profile name wlan-ssid //创建名SSID模板,并配置SSID名称
[AC1-wlan-ssid-prof-wlan-ssid]ssid wlan-net
[AC1-wlan-view]vap-profile name wlan-vap //创建VAP模板,配置业务数据转发模式、业务VLAN,并且引用安全模板和SSID模板
[AC1-wlan-vap-prof-wlan-vap]forward-mode tunnel
[AC1-wlan-vap-prof-wlan-vap]service-vlan vlan-pool sta-pool
[AC1-wlan-vap-prof-wlan-vap]security-profile wlan-security
[AC1-wlan-vap-prof-wlan-vap]ssid-profile wlan-ssid
[AC1-wlan-view]ap-group name ap-group1 //配置AP组引用VAP模板,AP上射频0和射频1都使用VAP模板配置
[AC1-wlan-ap-group-ap-group1]vap-profile wlan-vap wlan 1 radio all配置AP射频的信道和功率
[AC1-wlan-view]rrm-profile name default
[AC1-wlan-rrm-prof-default]calibrate auto-channel-select disable //关闭射频的信道自动调优功能
[AC1-wlan-rrm-prof-default]calibrate auto-txpower-select disable //关闭射频的功率自动调优功能
[AC1-wlan-view]ap-id 0 //配置AP射频0的信道和功率
[AC1-wlan-ap-0]radio 0
[AC1-wlan-radio-0/0]channel 20mhz 6
[AC1-wlan-radio-0/0]eirp 127
[AC1-wlan-ap-0]radio 1
[AC1-wlan-radio-0/1]channel 20mhz 149
[AC1-wlan-radio-0/1]eirp 127配置静态负载均衡功能
[AC1-wlan-view]sta-load-balance static-group name wlan-static //创建静态负载均衡组
[AC1-wlan-sta-lb-static-wlan-static]start-threshold 15 //指定静态负载均衡起始阈值为15个
[AC1-wlan-sta-lb-static-wlan-static]gap-threshold 5 //指定静态负载均衡差值阈值为5%
[AC1-wlan-sta-lb-static-wlan-static]member ap-name ap1 //将AP加入静态负载均衡组
[AC1-wlan-sta-lb-static-wlan-static]member ap-name ap2验证配置


边栏推荐
- ModuleNotFoundError: No module named ‘_distutils_hack‘
- Tke (k8s) deploy MySQL using CFS storage
- Elastic load balancing automatically distributes the access traffic to multiple cloud servers, expands the external service capacity of the application system, and improves the security of the applica
- How to quickly calculate the FID, is, sfid, precision, recall and other key evaluation indicators of the generated model?
- 「津津樂道播客」#392 原湯話原食:仲夏夜,馬砂、肉串兒、趿拉板兒
- Go exceed API source code reading (III) -- openreader ()
- How to prepare for the autumn recruitment for the graduate students of the second non science class of Graduate School
- 主流erp系统排名,主流erp系统对比
- (附源码)多种机器学习模型(KNN\LR\RF\Ada\Xg\GBDT...)下的降水降尺度中的模型训练
- 「技术播客月」Day 10: Meta Podcast: 聊聊播客这件事
猜你喜欢

看一看try{}catch{}

A Classical Review of nonconvex optimization problems from Symmetry to Geometry, Rochester University, etc.

Some puzzles about data dictionary

Class 3 practice

No.4 bits, bytes, information storage

No.2 compilation preliminary

Tencent cloud object storage operation process

这些年我开源的几个小项目
![[7.13] code source - [hungry meals] [path count 2] [function sum]](/img/0a/d0510848c473679a4c93132968ddce.png)
[7.13] code source - [hungry meals] [path count 2] [function sum]

FreeRTOS personal notes - multi priority support
随机推荐
A Classical Review of nonconvex optimization problems from Symmetry to Geometry, Rochester University, etc.
uniapp 高德地图定位功能
AcWing 136. 邻值查找
研二非科班研究生如何备战秋招
Several small open source projects of mine over the years
STL string replication comparison
NFT市场格局仍未变化,Okaleido能否掀起新一轮波澜?
Event preview | Apache Doris x Apache seatunnel joint meetup to start registration!
Version announcement | Apache Doris 1.1 release version officially released!
【Acwing】第60场周赛 题解
Interview records
Silent AI: how does shengteng AI solve the problem of sign language learning with large models?
【7.9】代码源 -【选数】【序列操作】【Minimum Or Spanning Tree】
[understanding of opportunity-46]: Guiguzi - Chapter 10 - schemer, meaning of wisdom
微服务调用组件feign实战
Deep learning from getting started to giving up the 100 day challenge
分析并HOOK SSHD来劫持密码
腾讯云对象存储操作流程
2. Sum of three numbers
面额10exp(303)的钞票