当前位置:网站首页>华为设备配置中型网络WLAN基本业务
华为设备配置中型网络WLAN基本业务
2022-06-29 07:39:00 【Tony_long7483】

配置LAW1和AC1,使AP与AC1之间能够传输CAPWAP报文
[LSW1]vlan batch 10
[LSW1-GigabitEthernet0/0/1port 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/3]port link-type trunk
[LSW1-GigabitEthernet0/0/3]port trunk pvid vlan 10
[LSW1-GigabitEthernet0/0/3]port trunk allow-pass vlan 10
[AC1]vlan batch 10
[AC1-GigabitEthernet0/0/2]port link-type trunk
[AC1-GigabitEthernet0/0/2]port trunk allow-pass vlan 10配置AC1与上层网络设备互通:配置VLANIF11、12(业务VLAN)和VLANIF20
[AC1]vlan batch 11 12 20
[AC1]int Vlanif 11
[AC1-Vlanif11]ip add 10.1.11.1 24
[AC1-Vlanif11]int Vlanif 12
[AC1-Vlanif12]ip add 10.1.12.1 24
[AC1-Vlanif12]int Vlanif 20
[AC1-Vlanif20]ip add 10.1.2.1 24
[AC1]ip route-static 0.0.0.0 0.0.0.0 10.1.2.3 //配置AC的缺省路由
[AC1-GigabitEthernet0/0/1]port link-type access
[AC1-GigabitEthernet0/0/1]port default vlan 20配置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]int Vlanif 11
[AC1-Vlanif11]dhcp select relay //AC作为DHCP中继
[AC1-Vlanif11]dhcp relay server-ip 10.1.2.3 //使能DHCP中继探测用户表项功能
[AC1-Vlanif11]int Vlanif 12
[AC1-Vlanif12]dhcp select relay
[AC1-Vlanif12]dhcp relay server-ip 10.1.2.3
[AR1]dhcp enable
[AR1]ip pool sta_pool1
[AR1-ip-pool-sta_pool1]gateway-list 10.1.11.1
[AR1-ip-pool-sta_pool1]network 10.1.11.0 mask 24
[AR1]ip pool sta_pool2
[AR1-ip-pool-sta_pool2]gateway-list 10.1.12.1
[AR1-ip-pool-sta_pool2]network 10.1.12.0 mask 24
[AR1-GigabitEthernet0/0/0]ip add 10.1.2.3 24
[AR1-GigabitEthernet0/0/0]dhcp select global
[AR1]ip route-static 10.1.11.0 24 10.1.2.1
[AR1]ip route-static 10.1.12.0 24 10.1.2.1配置VLAN pool,用于作为业务VLAN
[AC1]vlan pool sta_pool
[AC1-vlan-pool-sta_pool]vlan 11 12
[AC1-vlan-pool-sta_pool]assignment hash配置AP上线
[AC1]wlan
[AC1-wlan-view]ap-group name ap-g1 //创建AP组
[AC1-wlan-view]regulatory-domain-profile name domain1 //创建域管理模板
[AC1-wlan-regulate-domain-domain1]country-code cn //配置AC的国家码
[AC1-wlan-view]ap-group name ap-g1
[AC1-wlan-ap-group-ap-g1]regulatory-domain-profile domain1 //在AP组下引用域管理模板
[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-fc80-2e10
[AC1-wlan-ap-0]ap-name ap1
[AC1-wlan-ap-0]ap-group ap-g1
[AC1-wlan-view]ap-id 1 ap-mac 00e0-fc65-68e0
[AC1-wlan-ap-1]ap-name ap2
[AC1-wlan-ap-1]ap-group ap-g1
配置WLAN业务参数
[AC1]wlan
[AC1-wlan-view]security-profile name wlan-sec //创建安全模板
[AC1-wlan-sec-prof-wlan-sec]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]vap-profile name wlan-vap //创建VAP模板
[AC1-wlan-vap-prof-wlan-vap]forward-mode tunnel //配置业务数据转发模式
[AC1-wlan-vap-prof-wlan-vap]service-vlan vlan-pool sta_pool //配置业务VLAN
[AC1-wlan-vap-prof-wlan-vap]security-profile wlan-sec //引用安全模板
[AC1-wlan-vap-prof-wlan-vap]ssid-profile wlan-ssid //引用SSID模板
[AC1-wlan-view]ap-group name ap-g1
[AC1-wlan-ap-group-ap-g1]vap-profile wlan-vap wlan 1 radio all //配置AP组引用VAP模板配置AP射频的信道和功率
[AC1-wlan-view]ap-id 0
[AC1-wlan-ap-0]radio 0 //配置AP射频0的信道和功率
[AC1-wlan-radio-0/0]channel 20mhz 6
[AC1-wlan-radio-0/0]eirp 127
[AC1-wlan-radio-0/0]radio 1 //配置AP射频1的信道和功率
[AC1-wlan-radio-0/1]channel 20mhz 149
[AC1-wlan-radio-0/1]eirp 127验证配置


边栏推荐
- After crossing, she said that the multiverse really exists
- 常见的七大排序
- Django - installing mysqlclient error: mysqlclient 1.4.0 or newer is required; you have 0.9.3
- [eye of depth wuenda machine learning homework class phase IV] summary of logistic regression
- Should product managers learn from ink knife or Axure?
- 使用adb命令调试夜神模拟器
- Improvement direction of programming ability
- Flutter 文件读写-path_provider
- 【6G】算力网络技术白皮书整理
- MySQL系统关键字汇总(官网)
猜你喜欢

一个高频问题,三种模型思维来破解此风控难题

表格背单词的方法

语音信号处理-基础(一):声学基础知识

SQL Server enable CDC
笔记本电脑快速连接手机热点的方法

Friends, static keywords, static methods, and relationships between objects

关于SqlSugar的多对多的级联插入的问题(无法获取集合属性的id,导致无法维护中间表)

Simulation time and bag operation in ROS

城通网盘仿蓝奏网盘源码 附带视频教程

Flutter file read / write -path_ provider
随机推荐
Automatic operation and maintenance management platform - construction and daily use of SPuG
Speech synthesis: overview [generation task of unequal length sequence relation modeling]
Process communication - Pipeline
友元,静态关键字,静态方法以及对象间的关系
[quantitative investment system]django realizes screening and paging from the database
Basic syntax - bit operation
SVM, problems encountered in face recognition and Solutions
Why are two SQL statements that execute very fast, especially after the Union
语音合成:概述【不等长序列关系建模的生成任务】
What are the constraints in MySQL? (instance verification)
Talking about Nacos configuration center from Nacos client
php 清除多维数组里面的空值
【Redis】Redis6学习框架思路和细节
A method to quickly connect notebook computers to mobile phone hotspots
开户买基金,通过网上基金开户安全吗?-
Program debugging - debug/release version
NOR flash application layer operation
dcase_ Util tutorial
AI deep dive of Huawei cloud
sed 替换值为变量