当前位置:网站首页>华为设备配置大型网络WLAN基本业务
华为设备配置大型网络WLAN基本业务
2022-07-01 10:53:00 【Tony_long7483】

配置网络互通
[LSW2]vlan batch 100 to 104
[LSW2-GigabitEthernet0/0/1]port link-type trunk
[LSW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 to 104
[LSW2-GigabitEthernet0/0/2]port link-type trunk
[LSW2-GigabitEthernet0/0/2]port trunk allow-pass vlan 100 to 102
[LSW2-GigabitEthernet0/0/2]port trunk pvid vlan 100
[LSW2-GigabitEthernet0/0/2]port-isolate enable
[LSW2-GigabitEthernet0/0/3]port link-type trunk
[LSW2-GigabitEthernet0/0/3]port trunk allow-pass vlan 100 to 102
[LSW2-GigabitEthernet0/0/3]port trunk pvid vlan 100
[LSW2-GigabitEthernet0/0/3]port-isolate enable
[LSW2-GigabitEthernet0/0/4]port link-type trunk
[LSW2-GigabitEthernet0/0/4]port trunk allow-pass vlan 100 103 104
[LSW2-GigabitEthernet0/0/4]port trunk pvid vlan 100
[LSW2-GigabitEthernet0/0/4]port-isolate enable
[LSW2-GigabitEthernet0/0/5]port link-type trunk
[LSW2-GigabitEthernet0/0/5]port trunk allow-pass vlan 100 103 to 104
[LSW2-GigabitEthernet0/0/5]port trunk pvid vlan 100
[LSW2-GigabitEthernet0/0/5]port-isolate enable
[LSW1]vlan batch 100 to 104 200 201
[LSW1-GigabitEthernet0/0/1]port link-type trunk
[LSW1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 to 104
[LSW1-GigabitEthernet0/0/3]port link-type trunk
[LSW1-GigabitEthernet0/0/3]port trunk allow-pass vlan 200
[LSW1-GigabitEthernet0/0/2]port link-type access
[LSW1-GigabitEthernet0/0/2]port default vlan 201
[LSW1-Vlanif100]ip add 10.1.1.1 24
[LSW1-Vlanif101]ip add 10.1.11.1 24
[LSW1-Vlanif102]ip add 10.1.12.1 24
[LSW1-Vlanif103]ip add 10.1.13.1 24
[LSW1-Vlanif104]ip add 10.1.14.1 24
[LSW1-Vlanif200]ip add 10.2.1.1 24
[LSW1-Vlanif201]ip add 10.3.1.1 24
[AC1]vlan batch 101 to 104 200
[AC1-GigabitEthernet0/0/1]port link-type trunk
[AC1-GigabitEthernet0/0/1]port trunk allow-pass vlan 200
[AC1-Vlanif200]ip add 10.2.1.2 24
[AR1-GigabitEthernet0/0/0]ip add 10.3.1.3 24
[AR1]ip route-static 10.1.1.0 24 10.3.1.1 //配置AR1到LSW1的路由
[AR1]ip route-static 10.1.11.0 24 10.3.1.1
[AR1]ip route-static 10.1.12.0 24 10.3.1.1
[AR1]ip route-static 10.1.13.0 24 10.3.1.1
[AR1]ip route-static 10.1.14.0 24 10.3.1.1
[LSW1]ip route-static 0.0.0.0 0.0.0.0 10.3.1.3 //配置LSW1的缺省路由
[AC1]ip route-static 10.1.1.0 24 10.2.1.1 //配置AC到AP的路由配置DHCP服务,为AP和STA分配IP地址
[LSW1]dhcp enable
[LSW1-Vlanif100]dhcp select relay
[LSW1-Vlanif100]dhcp relay server-ip 10.3.1.3
[LSW1-Vlanif101]dhcp select relay
[LSW1-Vlanif101]dhcp relay server-ip 10.3.1.3
[LSW1-Vlanif102]dhcp select relay
[LSW1-Vlanif102]dhcp relay server-ip 10.3.1.3
[LSW1-Vlanif103]dhcp select relay
[LSW1-Vlanif103]dhcp relay server-ip 10.3.1.3
[LSW1-Vlanif104]dhcp select relay
[LSW1-Vlanif104]dhcp relay server-ip 10.3.1.3
[AR1]dhcp enable
[AR1]ip pool ap //配置由AR1作为DHCP服务器给AP分配IP地址
[AR1-ip-pool-ap]network 10.1.1.0 mask 24
[AR1-ip-pool-ap]gateway-list 10.1.1.1
[AR1-ip-pool-ap]option 43 sub-option 3 ascii 10.2.1.2
[AR1]ip pool sta1 //配置由AR1作为DHCP服务器给STA分配IP地址
[AR1-ip-pool-sta1]network 10.1.11.0 mask 24
[AR1-ip-pool-sta1]gateway-list 10.1.11.1
[AR1]ip pool sta2
[AR1-ip-pool-sta2]network 10.1.12.0 mask 24
[AR1-ip-pool-sta2]gateway-list 10.1.12.1
[AR1]ip pool sta3
[AR1-ip-pool-sta3]network 10.1.13.0 mask 24
[AR1-ip-pool-sta3]gateway-list 10.1.13.1
[AR1]ip pool sta4
[AR1-ip-pool-sta4]network 10.1.14.0 mask 24
[AR1-ip-pool-sta4]gateway-list 10.1.14.1
[AR1-GigabitEthernet0/0/0]dhcp select global配置VLAN pool,用于作为业务VLAN
[AC1]vlan pool sta-pool1
[AC1-vlan-pool-sta-pool1]vlan 101 102
[AC1-vlan-pool-sta-pool1]assignment hash
[AC1]vlan pool sta-pool2
[AC1-vlan-pool-sta-pool2]vlan 103 104
[AC1-vlan-pool-sta-pool2]assignment hash配置AP上线
[AC1-wlan-view]ap-group name guest //创建AP组
[AC1-wlan-view]ap-group name employee
[AC1-wlan-view]regulatory-domain-profile name domain1 //创建域管理模板
[AC1-wlan-regulate-domain-domain1]country-code cn //配置AC的国家码
[AC1-wlan-view]ap-group name guest
[AC1-wlan-ap-group-guest]regulatory-domain-profile domain1 //在AP组下引用域管理模板
[AC1-wlan-view]ap-group name employee
[AC1-wlan-ap-group-employee]regulatory-domain-profile domain1
[AC1]capwap source interface Vlanif 200 //配置AC的源接口
[AC1]wlan
[AC1-wlan-view]ap auth-mode mac-auth
[AC1-wlan-view]ap-id 0 ap-mac 00e0-fc32-56d0 //在AC上离线导入AP
[AC1-wlan-ap-0]ap-name ap1
[AC1-wlan-ap-0]ap-group guest
[AC1-wlan-view]ap-id 1 ap-mac 00e0-fc42-47d0
[AC1-wlan-ap-1]ap-name ap2
[AC1-wlan-ap-1]ap-group guest
[AC1-wlan-view]ap-id 2 ap-mac 00e0-fcc1-3660
[AC1-wlan-ap-2]ap-name ap3
[AC1-wlan-ap-2]ap-group employee
[AC1-wlan-view]ap-id 3 ap-mac 00e0-fca3-0630
[AC1-wlan-ap-3]ap-name ap4
[AC1-wlan-ap-3]ap-group employee
配置WLAN业务参数
[AC1-wlan-view]security-profile name guest //创建名为安全模板
[AC1-wlan-sec-prof-guest]security wpa2 psk pass-phrase [email protected] aes //配置安全策略
[AC1-wlan-view]security-profile name employee
[AC1-wlan-sec-prof-employee]security wpa2 psk pass-phrase a[email protected] aes
[AC1-wlan-view]ssid-profile name guest //创建SSID模板
[AC1-wlan-ssid-prof-guest]ssid guest //配置SSID名称
[AC1-wlan-view]ssid-profile name employee
[AC1-wlan-ssid-prof-employee]ssid employee
[AC1-wlan-view]vap-profile name guest //创建VAP模板
[AC1-wlan-vap-prof-guest]forward-mode direct-forward //配置业务数据转发模式
[AC1-wlan-vap-prof-guest]service-vlan vlan-pool sta-pool1 //配置业务VLAN
[AC1-wlan-vap-prof-guest]security-profile guest //引用安全模板
[AC1-wlan-vap-prof-guest]ssid-profile guest //引用SSID模板
[AC1-wlan-view]vap-profile name employee
[AC1-wlan-vap-prof-employee]forward-mode direct-forward
[AC1-wlan-vap-prof-employee]service-vlan vlan-pool sta-pool2
[AC1-wlan-vap-prof-employee]security-profile employee
[AC1-wlan-vap-prof-employee]ssid-profile employee
[AC1-wlan-view]ap-group name guest
[AC1-wlan-ap-group-guest]vap-profile guest wlan 1 radio 0 //配置AP组引用VAP模板,AP上射频0使用VAP模板的配置
[AC1-wlan-ap-group-guest]vap-profile guest wlan 1 radio 1 //配置AP组引用VAP模板,AP上射频0使用VAP模板的配置
[AC1-wlan-view]ap-group name employee
[AC1-wlan-ap-group-employee]vap-profile employee wlan 1 radio 0
[AC1-wlan-ap-group-employee]vap-profile employee wlan 1 radio 1配置AP射频的信道和功率
[AC1-wlan-view]ap-id 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验证配置


边栏推荐
- LeetCode.515. 在每个树行中找最大值___逐一BFS+DFS+按层BFS
- 爬虫(2) - Requests(1) | Requests模块的深度解析
- A new round of popularity of digital collections opens
- 《百年巨匠》数字藏品中奖名单公布
- MIT最新论文《对可解释特征的需求:动机和分类》:在机器学习模型的组成元素中建立可解释性
- 【MPC】①二次规划问题MATLAB求解器quadprog
- 数字藏品新一轮热度开启
- 投稿开奖丨轻量应用服务器征文活动(5月)奖励公布
- [MPC] ② quadprog solves positive definite, semi positive definite and negative definite quadratic programming
- 大佬们 有没有搞过sink分流写入clickhouse 或者其他数据库的操作。
猜你喜欢

【MPC】①二次规划问题MATLAB求解器quadprog

数字藏品市场新局面
![[encounter Django] - (II) database configuration](/img/23/aed472757f7e238a146b043c0405d7.png)
[encounter Django] - (II) database configuration

What are the advantages and disadvantages of PHP

Submission lottery - light application server essay solicitation activity (may) award announcement

Programmers want to go to state-owned enterprises? The technology is backward and the salary is low. I can't find a job after lying flat for several years

What legal risks and qualifications should be paid attention to when building a digital collection platform?

NC | 肠道细胞和乳酸菌共同作用来防止念珠菌感染

Wireshark TS | confusion between fast retransmission and out of sequence

价值1000毕业设计校园信息发布平台网站源码
随机推荐
Handling distributed transactions with powerful dbpack (PHP tutorial)
PHP有哪些优势和劣势
CodeBlocks 左侧项目栏消失,workspace 自动保存项目,Default workspace,打开上次的workspace,工作区(图文教程,已解决)
Infinite innovation in cloud "vision" | the 2022 Alibaba cloud live summit was officially launched
Valgrind usage of memory leak locating tool
使用强大的DBPack处理分布式事务(PHP使用教程)
[.net6] use ml.net+onnx pre training model to liven the classic "Huaqiang buys melons" in station B
CVPR 2022 | Virtual Correspondence: Humans as a Cue for Extreme-View Geometry
LeetCode.515. 在每个树行中找最大值___逐一BFS+DFS+按层BFS
SQL server2014 failed to delete the database, with an error offset of 0x0000
flutter path_ Provider: ^2.0.10 can get temporary directory
php 实现抽奖功能
商城小程序源码开源版-可二开
谷歌新论文-Minerva:用语言模型解决定量推理问题
个人商城二开逍遥B2C商城系统源码-可商用版/拼团拼购优惠折扣秒杀源码
678. 有效的括号字符串
flutter Uint8List格式的图片和File格式图片的互相转换
云上“视界” 创新无限 | 2022阿里云直播峰会正式上线
关于#SQL#的问题,如何解决?
SQL Server列一相同的情况下,如何取列二的最大值,并重新生成表