WLAN实验简述

一:配置生产AP1上级接入层交换机LSW3

sys
[Huawei]sysname LSW3
[LSW3]undo info-center enable
[LSW3]vlan batch 10 100
[LSW3]int g0/0/2
[LSW3-GigabitEthernet0/0/2]port link-type trunk
[LSW3-GigabitEthernet0/0/2]port trunk allow-pass vlan 10 100
[LSW3-GigabitEthernet0/0/2]port trunk pvid vlan 100
[LSW3-GigabitEthernet0/0/2]int g0/0/1
[LSW3-GigabitEthernet0/0/1]port link-type trunk
[LSW3-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 100
[LSW3]quit
save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0.
Save the configuration successfully.
二、配置LWS3上级汇聚层交换机LSW2
sys
[Huawei]undo info-center enable
[Huawei]vlan batch 10 100
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port link-type trunk
[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 100
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port link-type trunk
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan 10 100
save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0.
Save the configuration successfully.
三、配置LSW2上级核心层交换机LSW1
sys
[Huawei]undo info-center enable
[Huawei]sysname LSW1
[LSW1]vlan batch 10 20 100
[LSW1]int g0/0/3
[LSW1-GigabitEthernet0/0/3]port link-type trunk
[LSW1-GigabitEthernet0/0/3]port trunk allow-pass vlan 10 100
[LSW1-GigabitEthernet0/0/3]int g0/0/4
[LSW1-GigabitEthernet0/0/4]port link-type trunk
[LSW1-GigabitEthernet0/0/4]port trunk allow-pass vlan 20 100
[LSW1-GigabitEthernet0/0/4]quit
[LSW1]int g0/0/2
[LSW1-GigabitEthernet0/0/2]port link-type trunk
[LSW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 20 100
[LSW1-GigabitEthernet0/0/2]quit
[LSW1]int vlanif 10
[LSW1-Vlanif10]ip add 192.168.10.254 24
[LSW1-Vlanif10]quit
[LSW1]dhcp enable
[LSW1]int vlanif 10
[LSW1-Vlanif10]dhcp select interface
[LSW1-Vlanif10]int vlanif 20
[LSW1-Vlanif20]ip add 192.168.20.254 24
[LSW1-Vlanif20]dhcp select interface
[LSW1-Vlanif20]quit
[LSW1]quit
save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0…
Save the configuration successfully.

四、配置业务AP2上级接入层交换机LSW5
sys
[Huawei]sysname LSW5
[LSW5]undo info-center enable
[LSW5]vlan batch 20 100
[LSW5]int g0/0/1
[LSW5-GigabitEthernet0/0/1]port link-type trunk
[LSW5-GigabitEthernet0/0/1]port trunk allow-pass vlan 20 100
[LSW5-GigabitEthernet0/0/1]int g0/0/2
[LSW5-GigabitEthernet0/0/2]port link-type trunk
[LSW5-GigabitEthernet0/0/2]port trunk allow-pass vlan 20 100
[LSW5-GigabitEthernet0/0/2]port trunk pvid vlan 100
[LSW5-GigabitEthernet0/0/2]quit
[LSW5]quit
save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0…
Save the configuration successfully.

五、配置LSW5上级汇聚层交换机LSW4
sys
[Huawei]sysname LSW4
[LSW4]undo info-center enable
[LSW4]vlan batch 20 100
[LSW4]int g0/0/1
[LSW4-GigabitEthernet0/0/1]port link-type trunk
[LSW4-GigabitEthernet0/0/1]port trunk allow-pass vlan 20 100
[LSW4-GigabitEthernet0/0/1]int g0/0/2
[LSW4-GigabitEthernet0/0/2]port link-type trunk
[LSW4-GigabitEthernet0/0/2]port trunk allow-pass vlan 20 100
[LSW4-GigabitEthernet0/0/2]quit
[LSW4]quit
save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0…
Save the configuration successfully.

六、配置AC1接入控制器
sys
Enter system view, return user view with Ctrl+Z.
[AC6605]undo info-center enable
Info: Information center is disabled.
[AC6605]sysname AC1
[AC1]VLAN batch 100 20
Info: This operation may take a few seconds. Please wait for a moment…done.
[AC1]int vlanif 100
[AC1-Vlanif100]ip add 10.1.100.254 24
[AC1-Vlanif100]quit
[AC1]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[AC1]int vlanif 100
[AC1-Vlanif100]dhcp select interface
[AC1-Vlanif100]quit
[AC1]capwap source interface vlanif100
[AC1]int g0/0/1
[AC1-GigabitEthernet0/0/1]port link-type trunk
[AC1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 20
[AC1-GigabitEthernet0/0/1]quit
[AC1]ping 10.1.100.138
PING 10.1.100.138: 56 data bytes, press CTRL_C to break
Request time out
Reply from 10.1.100.138: bytes=56 Sequence=2 ttl=255 time=70 ms
Reply from 10.1.100.138: bytes=56 Sequence=3 ttl=255 time=100 ms
Reply from 10.1.100.138: bytes=56 Sequence=4 ttl=255 time=100 ms
Reply from 10.1.100.138: bytes=56 Sequence=5 ttl=255 time=70 ms
**10.1.100.138 ping statistics —
5 packet(s) transmitted
4 packet(s) received
20.00% packet loss
round-trip min/avg/max = 70/85/100 ms
[AC1]wlan
[AC1-wlan-view]ap auth-mode mac-auth
[AC1-wlan-view]ap-id 1 ap-mac 00e0-fc93-6250
[AC1-wlan-ap-1]ap-name ap1-shengchang
[AC1-wlan-ap-1]quit
[AC1-wlan-view]ap-id 2 ap-mac 00e0-fc32-6ac0
[AC1-wlan-ap-2]ap-name ap2-yewu
[AC1-wlan-ap-2]quit
[AC1-wlan-view]quit
[AC1]display ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
nor : normal [2]

ID MAC Name Group IP Type State ST
A Uptime

1 00e0-fc93-6250 ap1-shengchang default 10.1.100.138 AP6050DN nor 0
1M:58S
2 00e0-fc32-6ac0 ap2-yewu default 10.1.100.218 AP6050DN nor 0
29S

Total: 2
[AC1]wlan
[AC1-wlan-view]regulatory-domain-profile name 1
[AC1-wlan-regulate-domain-1]country-code cn
Info: The current country code is same with the input country code.
[AC1-wlan-regulate-domain-1]quit
[AC1-wlan-view]ap-group name jxskxy
[AC1-wlan-ap-group-jxskxy]regulatory-domain-profile 1
Warning: Modifying the country code will clear channel, power and antenna gain c
onfigurations of the radio and reset the AP. Continue?[Y/N]:y
[AC1-wlan-view]ap-id 1
[AC1-wlan-ap-1]ap-group jxskxy
Warning: This operation may cause AP reset. If the country code changes, it will
clear channel, power and antenna gain configurations of the radio, Whether to c
ontinue? [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment… done.
[AC1-wlan-ap-1]ap-id 2
[AC1-wlan-ap-2]ap-group jxskxy
Warning: This operation may cause AP reset. If the country code changes, it will
clear channel, power and antenna gain configurations of the radio, Whether to c
ontinue? [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment… done.
[AC1-wlan-ap-2]quit
[AC1-wlan-view]quit
[AC1]dis ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
**fault: fault [2]
*
**ID MAC Name Group IP Type State STA Uptime

1 00e0-fc93-6250 ap1-shengchang jxskxy - AP6050DN fault 0 -
2 00e0-fc32-6ac0 ap2-yewu jxskxy - AP6050DN fault 0 -

总结:以上为生产AP1和业务AP2上线配置,并且配置AP名称和所属组。

七、继续配置AC1接入控制器
[AC1-wlan-view]ssid-profile name 1
[AC1-wlan-ssid-prof-1]ssid shengchang-2.4
[AC1-wlan-view]ssid-profile name 2
[AC1-wlan-ssid-prof-1]ssid shengchang-5
[AC1-wlan-view]ssid-profile name 3
[AC1-wlan-ssid-prof-1]ssid yewu-5
[AC1-wlan-view]security-profile name jxskxy
[AC1-wlan-sec-prof-jxskxy]security wpa2 psk pass-phrase huawei123 aes
[AC1-wlan-sec-prof-jxskxy]quit
sys
Enter system view, return user view with Ctrl+Z.
[AC1]wlan
[AC1-wlan-view]vap-profile name 1
[AC1-wlan-vap-prof-1]ssid-profile 1
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-1]security-profile jxskxy
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-1]service-vlan vlan-id 10
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-1]forward-mode direct-forward
[AC1-wlan-view]quit
[AC1]wlan
[AC1-wlan-view]ap-id 1
[AC1-wlan-ap-1]vap-profile 1 wlan 1 radio 0
[AC1-wlan-view]vap-profile name 2
[AC1-wlan-vap-prof-2]ssid-profile 2
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-2]security-profile jxskxy
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-2]service-vlan vlan-id 10
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-1]forward-mode direct-forward
[AC1-wlan-view]quit
[AC1-wlan-view]ap-id 1
[AC1-wlan-ap-1]vap-profile 2 wlan 1 radio 1
[AC1-wlan-view]vap-profile name 3
[AC1-wlan-vap-prof-3]ssid-profile 3
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-3]security-profile jxskxy
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-3]service-vlan vlan-id 20
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-3]forward-mode tunnel
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-3]quit
[AC1-wlan-view]ap-id 2
[AC1-wlan-ap-2]vap-profile 3 wlan 1 radio 1
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

八、配置AR1路由器
[AR1]int g0/0/0
[AR1-GigabitEthernet0/0/0]ip add 200.1.1.2 24
[AR1-GigabitEthernet0/0/0]quit
[AR1-GigabitEthernet0/0/1]ip add 223.3.2.200 24
[AR1]acl 2000
[AR1-acl-basic-2000]rule 5 permit source 192.168.20.0 0.0.0.255
[AR1-acl-basic-2000]quit
[AR1]int g0/0/1
[AR1-GigabitEthernet0/0/1]nat outbound 2000
[AR1-GigabitEthernet0/0/1]quit
[AR1]ip route-static 0.0.0.0 0 223.3.2.201
[AR1]ip route-static 192.168.20.0 24 200.1.1.1
九、配置AR2路由器
[Huawei]sysname AR2
[AR2]int g0/0/1
[AR2-GigabitEthernet0/0/1]ip add 223.3.2.201 24
[AR2]int LoopBack 0
[AR2-LoopBack0]ip add 1.1.1.1 32
[AR2-LoopBack0]quit
十、配置核心交换机
sys
Enter system view, return user view with Ctrl+Z.
[LSW1]vlan 200
[LSW1]interface vlanif 200
[LSW1-vlanif200]ip add 200.1.1.1 24
[LSW1]ip route-static 0.0.0.0 0 200.1.1.2
在这里插入图片描述
在这里插入图片描述

实验成功。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.rhkb.cn/news/425261.html

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Java企业面试题3

1. break和continue的作用(智*图) break:用于完全退出一个循环(如 for, while)或一个 switch 语句。当在循环体内遇到 break 语句时,程序会立即跳出当前循环体,继续执行循环之后的代码。continue:用于跳过…

STM32 的 CAN 通讯全攻略

目录 一、CAN 通讯概述 二、 CAN 通讯原理 1.ISO11898 标准下的物理层特征 2.CAN 协议的帧类型 3. 总线仲裁介绍 4.位时序 5.STM32 CAN 控制器简介 6.标识符筛选器 三、软件设计 1.发送流程 1.1初始化 CAN 控制器 1.2准备发送数据 1.3 将数据填充到发送缓冲区 1.4…

Vue.js入门系列(二十九):深入理解编程式路由导航、路由组件缓存与路由守卫

个人名片 🎓作者简介:java领域优质创作者 🌐个人主页:码农阿豪 📞工作室:新空间代码工作室(提供各种软件服务) 💌个人邮箱:[2435024119qq.com] &#x1f4f1…

pikachu下

CSRF(跨站请求伪造) CSRF(get) url变成了这样了,我们就可以新开个页面直接拿url去修改密码 http://pikachu-master/vul/csrf/csrfget/csrf_get_login.php?username1&password2&submitLogin CSRF(post) 这里只是请求的方式不同,…

简洁明了!中缀表达式转为后缀表达式规则及代码

简单来说&#xff0c;就是弄两个栈&#xff0c;判断执行&#xff1a; 上代码&#xff1a; #include<iostream> #include<stack> #include<cstring> using namespace std; stack<char>s1,s2; char now; int main(){string c;cin>>c;for(int i0;…

Linux 开发工具(vim、gcc/g++、make/Makefile)+【小程序:进度条】-- 详解

目录 一、Linux软件包管理器 - yum&#xff08;ubuntu用apt代替yum&#xff09;1、Linux下安装软件的方式2、认识 yum3、查找软件包4、安装软件5、如何实现本地机器和云服务器之间的文件互传 二、Linux编辑器 - vim1、vim 的基本概念2、vim 下各模式的切换3、vim 命令模式各命令…

形式向好、成本较低、可拓展性较高的名厨亮灶开源了

简介 AI视频监控平台, 是一款功能强大且简单易用的实时算法视频监控系统。愿景在最底层打通各大芯片厂商相互间的壁垒&#xff0c;省去繁琐重复的适配流程&#xff0c;实现芯片、算法、应用的全流程组合&#xff0c;减少企业级应用约 95%的开发成本&#xff0c;在强大视频算法加…

电子连接器温升仿真教程 一

电子连接器温升是指电子连接器的所有端子在施加额定电载荷的情况下,经过一段时间后,达成热平衡,连接器局部温度不再继续升高,此时规定测试点的温度与测试环境温度的差值。连接器的温升规格值因其应用环境不同,而不同。工业应用,且不与人体接触的电子连接器一般允许温升会…

mybatis 查询Not Found TableInfoCache

近期在工程迁移中遇到一个mybatis查询的问题&#xff0c;检查代码没有问题&#xff0c;但是报Not Found TableInfoCache 解决过程 是不是数据库对应表错误或者实体类指定的表名错误 查看配置文件链接的数据源是否正确TableName中指定的表名然后去数据库看一下是否存在 如果…

【C++】模板进阶:深入解析模板特化

C语法相关知识点可以通过点击以下链接进行学习一起加油&#xff01;命名空间缺省参数与函数重载C相关特性类和对象-上篇类和对象-中篇类和对象-下篇日期类C/C内存管理模板初阶String使用String模拟实现Vector使用及其模拟实现List使用及其模拟实现容器适配器Stack与Queue 本章将…

SQL进阶技巧:如何将字符串数组清洗为简单map结构? | translate + regexp_replace方法

目录 0 场景描述 1 数据准备 2 问题分析 2.1 方法1 特征法-通用解法 2.2 方法2枚举法(不通用) 3 小结 ~~END~~ 如果觉得本文对你有帮助,那么不妨也可以选择去看看我的博客专栏 ,部分内容如下: 数字化建设通关指南专栏原价99,现在活动价29.9,按照阶梯式增长,直到恢…

Linux命令分享 四 (ubuntu 16.04)(vi操作文件)

1、su 切换用户 su - 用户名 切换到该用户并将目录切换至该用户的主目录 **注意该语句执行后需要输入密码&#xff0c;输入密码时终端不回显&#xff08;不会显示你输入的密码&#xff09;&#xff0c;输完直接回车即可 su 用户名 切换用户但不切换目录 su - root su root **注…

c++20 std::format 格式化说明

在标头<format>定义 ()功能很强大&#xff0c;它把字符串当成一个模板&#xff0c;通过传入的参数进行格式化&#xff0c;并且使用大括号‘{}’作为特殊字符代替‘%’。 1、基本用法 &#xff08;1&#xff09;不带编号&#xff0c;即“{}”&#xff08;2&#xff09;带…

2024年【浙江省安全员-C证】考试试卷及浙江省安全员-C证模拟考试题库

题库来源&#xff1a;安全生产模拟考试一点通公众号小程序 浙江省安全员-C证考试试卷是安全生产模拟考试一点通总题库中生成的一套浙江省安全员-C证模拟考试题库&#xff0c;安全生产模拟考试一点通上浙江省安全员-C证作业手机同步练习。2024年【浙江省安全员-C证】考试试卷及…

arcgisPro修改要素XY容差

1、在arcgisPro中XY容差的默认值为1个毫米&#xff0c;及0.001米。为了更精细的数据&#xff0c;需要提高这个精度&#xff0c;如何提高呢&#xff1f; 2、如果直接在数据库下新建要素类&#xff0c;容差只能调至0.0002米。所以&#xff0c;需要在数据库下新建要素数据集。 3…

安全工具 | 使用Burp Suite的10个小tips

Burp Suite 应用程序中有用功能的集合 img Burp Suite 是一款出色的分析工具&#xff0c;用于测试 Web 应用程序和系统的安全漏洞。它有很多很棒的功能可以在渗透测试中使用。您使用它的次数越多&#xff0c;您就越发现它的便利功能。 本文内容是我在测试期间学到并经常的主要…

Gradio 中如何让 Chatbot 自动滚动

在 Gradio 中&#xff0c; Chatbot 是对话组件&#xff0c;接受 history 参数&#xff0c;在目前版本中 &#xff08;gradio4.44.0&#xff09;&#xff0c;不支持自动滚动&#xff0c;用起来很不方便&#xff0c;该功能在社区中已经提出了&#xff0c;目前该功能还没有发布。本…

[000-01-008].第05节:OpenFeign特性-重试机制

我的后端学习大纲 SpringCloud学习大纲 1.1.重试机制的默认值&#xff1a; 1.重试机制默认是关闭的&#xff0c;给了默认值 1.2.测试重试机制的默认值&#xff1a; 1.3.开启Retryer功能&#xff1a; 1.修改配置文件YML的配置&#xff1a; 2.新增配置类&#xff1a; packa…

如何用 Helm Chart 安装指定版本的 GitLab Runner?

本分分享如何使用 Helm 来在 Kubernetes 集群上安装极狐GitLab Runner。整体步骤分为&#xff1a;Helm 的安装、vaules.yaml 文件的配置、Runner 的安装、Runner 的测试。 极狐GitLab 为 GitLab 在中国的发行版&#xff0c;中文版本对中国用户更友好。极狐GitLab 支持一键私有…

2024.9最新:CUDA安装,pytorch库安装

目录 一、CUDA安装 1.查看自己电脑适配的CUDA的最高版本 2.安装CUDA 3.检查环境变量是否配置&#xff0c;安装是否成功 二、pytorch库安装 1.pytorch库下载 2.选择合适的版本 3.查看版本 一、CUDA安装 1.查看自己电脑适配的CUDA的最高版本 在命令提示符里输入nvidia-…