当前位置:网站首页>华为无线设备配置全局双链路冷备份(AC全局配置方式)
华为无线设备配置全局双链路冷备份(AC全局配置方式)
2022-08-01 22:16:00 【Tony_long7483】
- 配置LSW和AC,使AP和AC互通
[LSW1]vlan batch 100 101
[LSW1-GigabitEthernet0/0/1]port link-type trunk
[LSW1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
[LSW1-GigabitEthernet0/0/2]port link-type trunk
[LSW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 100
[LSW1-GigabitEthernet0/0/3]port link-type trunk
[LSW1-GigabitEthernet0/0/3]port trunk allow-pass vlan 100 101
[LSW1-GigabitEthernet0/0/3]port trunk pvid vlan 100
[LSW1-GigabitEthernet0/0/3]port-isolate enable
[AC1]vlan batch 100 101
[AC1-GigabitEthernet0/0/1]port link-type trunk
[AC1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
[AC2]vlan batch 100 101
[AC2-GigabitEthernet0/0/1]port link-type trunk
[AC2-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 - 配置LSW的DHCP功能,为AP和STA分配IP地址
[LSW1]dhcp enable
[LSW1]int Vlanif 100
[LSW1-Vlanif100]ip add 10.1.100.1 24
[LSW1-Vlanif100]dhcp select interface
[LSW1-Vlanif100]dhcp server excluded-ip-address 10.1.100.2 10.1.100.3
[LSW1]int Vlanif 101
[LSW1-Vlanif101]ip add 10.1.101.1 24
[LSW1-Vlanif101]dhcp select interface - 配置AC1的WLAN基本业务
(1)配置AP上线
创建AP组,用于将相同配置的AP都加入同一AP组中
[AC1]wlan
[AC1-wlan-view]ap-group name ap-group1
创建域管理模板,在域管理模板下配置AC的国家码并在AP组下引用域管理模板
[AC1-wlan-view]regulatory-domain-profile name domain1
[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
配置AC的源接口
[AC1]int Vlanif 100
[AC1-Vlanif100]ip add 10.1.100.2 24
[AC1]capwap source interface Vlanif 100
在AC上离线导入AP,并将AP加入AP组
[AC1]wlan
[AC1-wlan-view]ap auth-mode mac-auth
[AC1-wlan-view]ap-id 0 ap-mac 00e0-fc76-5740
[AC1-wlan-ap-0]ap-name ap1
[AC1-wlan-ap-0]ap-group ap-group1
(2)配置WLAN业务参数
创建安全模板,并配置安全策略
[AC1]wlan
[AC1-wlan-view]security-profile name wlan-security
[AC1-wlan-sec-prof-wlan-security]security wpa2 psk pass-phrase [email protected] aes
创建SSID模板,并配置SSID名称
[AC1-wlan-view]ssid-profile name wlan-ssid
[AC1-wlan-ssid-prof-wlan-ssid]ssid wlan-net
创建VAP模板,配置业务数据转发模式、业务VLAN,并且引用安全模板和SSID模板
[AC1-wlan-view]vap-profile name wlan-vap
[AC1-wlan-vap-prof-wlan-vap]forward-mode direct-forward
[AC1-wlan-vap-prof-wlan-vap]service-vlan vlan-id 101
[AC1-wlan-vap-prof-wlan-vap]security-profile wlan-security
[AC1-wlan-vap-prof-wlan-vap]ssid-profile wlan-ssid
配置AP组引用VAP模板,AP上射频0和射频1都使用VAP模板的配置
[AC1-wlan-view]ap-group name ap-group1
[AC1-wlan-ap-group-ap-group1]vap-profile wlan-vap wlan 1 radio 0
[AC1-wlan-ap-group-ap-group1]vap-profile wlan-vap wlan 1 radio 1
4. 配置AC2的WLAN基本业务
(1)配置AP上线
创建AP组,用于将相同配置的AP都加入同一AP组中
[AC2]wlan
[AC2-wlan-view]ap-group name ap-group1
创建域管理模板,在域管理模板下配置AC的国家码并在AP组下引用域管理模板
[AC2-wlan-view]regulatory-domain-profile name domain1
[AC2-wlan-regulate-domain-domain1]country-code cn
[AC2-wlan-view]ap-group name ap-group1
[AC2-wlan-ap-group-ap-group1]regulatory-domain-profile domain1
配置AC的源接口
[AC2]int Vlanif 100
[AC2-Vlanif100]ip add 10.1.100.3 24
[AC2]capwap source interface Vlanif 100
在AC上离线导入AP,并将AP加入AP组
[AC2-wlan-view]ap auth-mode mac-auth
[AC2-wlan-view]ap-id 0 ap-mac 00e0-fc76-5740
[AC2-wlan-ap-0]ap-name ap1
[AC2-wlan-ap-0]ap-group ap-group1
(2)配置WLAN业务参数
创建安全模板,并配置安全策略
[AC2-wlan-view]security-profile name wlan-security
[AC2-wlan-sec-prof-wlan-security]security wpa2 psk pass-phrase [email protected] aes
创建SSID模板,并配置SSID名称
[AC2-wlan-view]ssid-profile name wlan-ssid
[AC2-wlan-ssid-prof-wlan-ssid]ssid wlan-net
创建VAP模板,配置业务数据转发模式、业务VLAN,并且引用安全模板和SSID模板
[AC2-wlan-view]vap-profile name wlan-vap
[AC2-wlan-vap-prof-wlan-vap]forward-mode direct-forward
[AC2-wlan-vap-prof-wlan-vap]service-vlan vlan-id 101
[AC2-wlan-vap-prof-wlan-vap]security-profile wlan-security
[AC2-wlan-vap-prof-wlan-vap]ssid-profile wlan-ssid
配置AP组引用VAP模板,AP上射频0和射频1都使用VAP模板的配置
[AC2-wlan-view]ap-group name ap-group1
[AC2-wlan-ap-group-ap-group1]vap-profile wlan-vap wlan 1 radio 0
[AC2-wlan-ap-group-ap-group1]vap-profile wlan-vap wlan 1 radio 1
5. 配置主用AC1和备用AC2双链路备份功能
在AC1上,配置备AC2的IP地址,AC1的优先级,用于双链路备份。全局使能双链路备份和回切功能,重启所有AP使双链路备份功能生效
[AC1-wlan-view]ac protect protect-ac 10.1.100.3 priority 0
[AC1-wlan-view]undo ac protect restore disable
[AC1-wlan-view]ac protect enable
在AC2上,配置主用AC1的IP地址,AC2的优先级,用于双链路备份
[AC2-wlan-view]ac protect protect-ac 10.1.100.2 priority 1
[AC2-wlan-view]undo ac protect restore disable
[AC2-wlan-view]ac protect enable
6. 验证配置
边栏推荐
- 【C语言】猜数字小游戏
- Analysis of the development trend of game metaverse
- SOM网络1:原理讲解
- 入门数据库Days4
- Implementation principle of VGUgarbage collector (garbage collector)
- 深度学习Course2第二周Optimization Algorithms习题整理
- [机缘参悟-58]:《素书》-5-奉行仁义[遵义章第五]
- 46.全排列
- JS prototype hasOwnProperty in Add method Prototype end point Inherit Override parent class method
- 毕业十年,财富自由:那些比拼命努力更重要的事,从来没人会教你
猜你喜欢
【Verilog刷题篇】硬件工程师从0到入门1|基础语法入门
(翻译)按钮的对比色引导用户操作的方式
xctf攻防世界 Web高手进阶区 web2
使用分类权重解决数据不平衡的问题
Postman 批量测试接口详细教程
(*゚ヮ゚)*【精品C语言整理】*(゚ヮ゚*)女盆友缠着你让你教她写代码怎么办?安排,三万字博文带你走遍C语言,从此不再害怕编程
LeetCode952三部曲之二:小幅度优化(137ms -> 122ms,超39% -> 超51%)
(Translation) How the contrasting color of the button guides the user's actions
毕业十年,财富自由:那些比拼命努力更重要的事,从来没人会教你
联邦学习入门
随机推荐
10年稳定性保障经验总结,故障复盘要回答哪三大关键问题?|TakinTalks大咖分享
NgRx Store createSelector 的单步调试和源代码分析
熟悉的朋友
LeetCode952三部曲之二:小幅度优化(137ms -> 122ms,超39% -> 超51%)
小程序容器+自定义插件,可实现混合App快速开发
SAP ABAP OData 服务如何支持删除(Delete)操作试读版
使用Jenkins做持续集成,这个知识点必须要掌握
PAM 回文自动机
小程序毕设作品之微信体育馆预约小程序毕业设计成品(2)小程序功能
46.全排列
【建议收藏】ヾ(^▽^*)))全网最全输入输出格式符整理
2022 edition of MySQL tutorial, top collection good, take your time
xctf攻防世界 Web高手进阶区 webshell
[Niu Ke brush questions-SQL big factory interview questions] NO4. Travel scene (a taxi)
深度学习Course2第二周Optimization Algorithms习题整理
number of solutions to solve a multivariate multi-degree equation
xctf攻防世界 Web高手进阶区 web2
ImportError: `save_weights` requires h5py. Problem solved
毕业十年,财富自由:那些比拼命努力更重要的事,从来没人会教你
数据分析面试手册《指标篇》