当前位置:网站首页>华为设备配置信道切换业务不中断
华为设备配置信道切换业务不中断
2022-07-05 10:37:00 【Tony_long7483】

配置LSW1和AC1,使AP和AC1互:VLAN100用于管理VLAN,VLAN101用于业务VLAN
[LSW1]vlan batch 100 200
[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 200
[LSW1-GigabitEthernet0/0/3]port trunk pvid vlan 100
[LSW1-GigabitEthernet0/0/3]port-isolate enable
[LSW1-GigabitEthernet0/0/4]port link-type trunk
[LSW1-GigabitEthernet0/0/4]port trunk pvid vlan 100
[LSW1-GigabitEthernet0/0/4]port trunk allow-pass vlan 100 200
[LSW1-GigabitEthernet0/0/4]port-isolate enable
[LSW1-GigabitEthernet0/0/1]port link-type access
[LSW1-GigabitEthernet0/0/1]port default vlan 200
[AC1]vlan batch 100 200
[AC1-GigabitEthernet0/0/1]port link-type trunk
[AC1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100配置LSW1的DHCP功能,为AP和STA分配IP地址
[LSW1]dhcp enable
[LSW1]int Vlanif 100
[LSW1-Vlanif100]ip add 10.1.1.1 24
[LSW1-Vlanif100]dhcp select interface //VLANIF100使用接口地址池为AP分配IP地址
[LSW1-Vlanif100]dhcp server excluded-ip-address 10.1.1.2
[LSW1]int Vlanif 200
[LSW1-Vlanif200]ip add 10.1.2.1 24
[LSW1-Vlanif200]dhcp select interface //VLANIF200使用接口地址池为STA分配IP地址
[LSW1-Vlanif200]dhcp server excluded-ip-address 10.1.2.2配置AP上线
[AC1]wlan
[AC1-wlan-view]ap-group name ap-group1 //创建AP组,用于将相同配置的AP都加入同一AP组中
[AC1-wlan-view]regulatory-domain-profile name domain //创建域管理模板
[AC1-wlan-regulate-domain-domain]country-code cn //配置AC的国家码
[AC1-wlan-view]ap-group name ap-group1
[AC1-wlan-ap-group-ap-group1]regulatory-domain-profile domain //在AP组下引用域管理模板
[AC1]int Vlanif 100
[AC1-Vlanif100]ip add 10.1.1.2 24
[AC1]capwap source interface Vlanif 100 //配置AC的源接口
[AC1]wlan
[AC1-wlan-view]ap auth-mode mac-auth
[AC1-wlan-view]ap-id 0 ap-mac 00e0-fcb1-4700 //在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-fc20-4430
[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模板
[AC1-wlan-ssid-prof-wlan-ssid]ssid wlan-net //配置SSID名称
[AC1-wlan-view]radio-2g-profile name wlan-2g //创建2G射频模板
[AC1-wlan-radio-2g-prof-wlan-2g]undo channel-switch announcement disable
[AC1-wlan-radio-2g-prof-wlan-2g]channel-switch mode continue-transmitting /配置信道切换业务不中断
[AC1-wlan-view]radio-5g-profile name wlan-5g
[AC1-wlan-radio-5g-prof-wlan-5g]undo channel-switch announcement disable
[AC1-wlan-radio-5g-prof-wlan-5g]channel-switch mode continue-transmitting
[AC1-wlan-view]vap-profile name wlan-vap // 创建VAP模板
[AC1-wlan-vap-prof-wlan-vap]forward-mode direct-forward //配置业务数据转发模式
[AC1-wlan-vap-prof-wlan-vap]service-vlan vlan-id 200 //配置业务VLAN
[AC1-wlan-vap-prof-wlan-vap]security-profile wlan-security //引用安全模板
[AC1-wlan-vap-prof-wlan-vap]ssid-profile wlan-ssid //引用SSID模板
[AC1-wlan-view]ap-group name ap-group1
[AC1-wlan-ap-group-ap-group1]radio-2g-profile wlan-2g radio all //配置AP组引用2G射频模板
[AC1-wlan-ap-group-ap-group1]radio-5g-profile wlan-5g radio all //配置AP组引用5G射频模板
[AC1-wlan-ap-group-ap-group1]vap-profile wlan-vap wlan 1 radio 0 //配置AP组引用VAP模板,AP上射频0使用VAP模板的配置
[AC1-wlan-ap-group-ap-group1]vap-profile wlan-vap wlan 1 radio 1 //配置AP组引用VAP模板,AP上射频1使用VAP模板的配置验证配置

边栏推荐
- 2022年化工自动化控制仪表考试试题及在线模拟考试
- 2022年危险化学品经营单位主要负责人特种作业证考试题库及答案
- 【JS】提取字符串中的分数,汇总后算出平均分,并与每个分数比较,输出
- vite//
- Implement the rising edge in C #, and simulate the PLC environment to verify the difference between if statement using the rising edge and not using the rising edge
- Implementation of wechat applet bottom loading and pull-down refresh
- Coneroller执行时候的-26374及-26377错误
- Explanation of full vulnerability script of network security C module of secondary vocational group script containing 4 vulnerabilities
- Golang应用专题 - channel
- 双向RNN与堆叠的双向RNN
猜你喜欢

matlab cov函数详解

Crawler (9) - scrape framework (1) | scrape asynchronous web crawler framework

谈谈对Flink框架中容错机制及状态的一致性的理解

2022年化工自动化控制仪表考试试题及在线模拟考试

2022年危险化学品经营单位主要负责人特种作业证考试题库及答案

LSTM应用于MNIST数据集分类(与CNN做对比)

Go language-1-development environment configuration

Review the whole process of the 5th Polkadot Hackathon entrepreneurship competition, and uncover the secrets of the winning projects!

ModuleNotFoundError: No module named ‘scrapy‘ 终极解决方式

关于vray 5.2的使用(自研笔记)(二)
随机推荐
[vite] 1371 - develop vite plug-ins by hand
关于vray5.2怎么关闭日志窗口
BOM//
Go-3-the first go program
Go language learning notes - first acquaintance with go language
5g NR system architecture
iframe
关于vray 5.2的使用(自研笔记)
A mining of edu certificate station
Implementation of wechat applet bottom loading and pull-down refresh
第五届 Polkadot Hackathon 创业大赛全程回顾,获胜项目揭秘!
2022鹏城杯web
微信核酸检测预约小程序系统毕业设计毕设(7)中期检查报告
ModuleNotFoundError: No module named ‘scrapy‘ 终极解决方式
PWA (Progressive Web App)
2022 chemical automation control instrument examination questions and online simulation examination
函数///
Pull up loading principle
使用bat命令一键启动常用浏览器
Based on shengteng AI Yisa technology, it launched a full target structured solution for video images, reaching the industry-leading level