WLAN实验简述

news2024/9/20 14:47:48

一:配置生产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.coloradmin.cn/o/2141159.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

【爱给网-注册安全分析报告-无验证方式导致安全隐患】

前言 由于网站注册入口容易被黑客攻击,存在如下安全问题: 1. 暴力破解密码,造成用户信息泄露 2. 短信盗刷的安全问题,影响业务及导致用户投诉 3. 带来经济损失,尤其是后付费客户,风险巨大,造…

OpenGL笔记二十一之几何类设计

OpenGL笔记二十一之几何类设计 —— 2024-09-16 下午 bilibili赵新政老师的教程看后笔记 code review! 文章目录 OpenGL笔记二十一之几何类设计1.运行1.1.立方体运行1.2.球体运行 2.几何类搭建1.立方体分析2.球体分析3.图片资源文件4.关键实现4.1.geometry.h4.2.geometry.cpp…

您使用过哪些AI集成工具提升工作效率

您使用过哪些AI集成工具提升工作效率 随着AI技术的飞速发展,个人开始寻求高效的方法来构建和管理定制化模型,以简化复杂的开发过程,提高工作效率。说起用AI集成工具来提高工作效率,个人作为开发者,确实在使用AI代码辅助…

进口车电子信息单二维码解密

目录 效果 二维码信息 解密后信息 进口车电子信息单二维码解密 效果 二维码信息 QzcOcj0yNsb9cVZsGoZKBOrBbn4RJ6O0N4q9/R10ANBvPgWt1vO75YmnWHsImhQUluNYC/OUYwWiO2IljHAhPmSAm3BieWZpXwi1IGWzLKAkRGkTUpqhT2pwEhkbMKcFsfsBfxh9MT1KRy2YaDvLKwLvOVHp7ZJUh4DdDof6GBGfsvam…

Json和Http专栏

json 理论 什么是JSON? 规则 被大括号包括的是JSON对象,被中括号包括的是JSON数组. JSON数组JSON对象 实验 构建JSON 用代码实现如下json内容: //构建JSON void WirteJson() {QJsonObject rootObject;//1.插入name字段rootObject.insert("name","china&quo…

OpenAI o1:隐含在训练与推理间的动态泛化与流形分布

随着OpenAI o1发布,进一步激发了产业与学术各界对AGI的期待以及new scaling law下的探索热情,也看到来自社区和专业机构对o1的阐释,但总感觉还差点什么,因此决定以自己的角度分篇幅梳理下,并分享给大伙: O…

使用mlp算法对Digits数据集进行分类

程序功能 这个程序使用多层感知机(MLP)对 Digits 数据集进行分类。程序将数据集分为训练集和测试集,创建并训练一个具有两个隐藏层的 MLP 模型。训练完成后,模型对测试数据进行预测,并通过准确率、分类报告和混淆矩阵…

vmvare如何给centos7 设置静态IP地址

本章教程,主要介绍如何在vmvare中如何给虚拟机中设置静态IP地址。本章教程中使用的linux发行版是centos7。 目前没有静态IP地址,并且不能联网,此时我们需要给它配置一个静态IP,并且可以实现联网功能。 一、前置步骤 1、网络设置 2、添加网络 添加一个虚拟机网络,选择VMne…

C++笔记---stack和queue

1. stack的介绍及重要接口 stack---栈,是一种“先进后出,后进先出”的数据结构。 此处的stack是STL库中定义的一个类模板,用于实例化出存储各种类型数据的栈。 bool empty() const;判断栈是否为空(空true/非空false)size_t size() const;返…

Kafka日志索引详解与常见问题分析

目录 一、Kafka的Log日志梳理 1、Topic下的消息是如何存储的? 1. log文件追加记录所有消息 2. index和timeindex加速读取log消息日志 2、文件清理机制 1. 如何判断哪些日志文件过期了 2. 过期的日志文件如何处理 3、Kafka的文件高效读写机制 1. Kafka的文件…

刷题日记【160. 相交链表】

160. 相交链表 这虽然是道简单题,但是最简单的方法(Set数组存一边然后另一边遍历判断当前结点是否存在于另一边)性能很一般,可以思考用双指针来优化写法(可以将空间复杂度降至 O(1)) 捋思路时,…

Maya怎么把黑色的面反转为白色面

1、选中需要调整的面。 2、点击菜单栏中的“网格显示”,再点击点击“反转(Reverse)”。 3、反转后,原本黑色的面将会变成正常的面,法线方向也会相应改变。 按住ctrlshift鼠标中键 拖动快捷图标至工具栏

NullPointerException 是什么, 如何修复?

下面是chatGPT 01的回复: **NullPointerException**(空指针异常)是在 Java 等编程语言中出现的运行时错误,当你尝试使用一个尚未初始化的对象引用(即,指向 null)时就会发生。这个异常表示你的程…

金融教育进乡村:红土散户联盟教你如何分辨好坏资产

2024年8月,【红土散户联盟】再度将关注的目光投向了农村地区,特别是那些经济不发达的地区。作为一个致力于为社会带来积极改变的组织,红土散户联盟再次举办了农村理财讲座,旨在帮助这些地区的居民提高他们的财务管理能力和投资意识…

OJ题-反转链表

给你一个单链表的头节点,请反转链表,并返回新的链表 eg: 1,2,3,4,5--->5,4,3,2,1 //反转链表 struct ListNode* reverseList(struct ListNode* head) {//定义三个变量struct ListNode* n1, * n2, * n3;n1 NULL;n2 head;n3 head->n…

图解Self-Attention和代码实现,大语言模型基础思维导图

文章目录 1 Self-Attention的概念注意优缺点 2 Self-Attention的原理Q,K,V, and Self-Attention计算公式代码实现 Self-Attention的计算细节输入是如何Embedding的?Word EmbeddingsSentence EmbeddingsPre-trained Embeddings SelfAttention是如何计算的计算图 4 Se…

为什么说开放式耳机比入耳式的好?学生党必入的蓝牙耳机推荐

因为开放式耳机相比入耳式耳机更具优势,具体如下: 佩戴舒适度更高: 开放式耳机通常不需要插入耳道,不会对耳道产生压迫,长时间佩戴耳朵不易感到闷热、疼痛或不适,减少了对耳部的物理压迫和摩擦&#xff0…

单硬盘安装Win10和麒麟V10双系统指导建议

随着信创电脑的普及,国产操作系统也逐渐走进了大家的视野,许多人选择了国产操作系统来体验其开源、安全、高效的特性,而Windows系统也是大多数人习惯使用的操作系统。一台电脑上同时安装银河麒麟V10和Windiows10双系统也成为了非常常见的需求。那么,如何在一台电脑上安装银…

阿里员工爆料:阿里前CTO张建峰,也是中专毕业的!之前觉得大专生做到 P9已经很牛了,现在看来,原来中专生也能成为合伙人

《网安面试指南》http://mp.weixin.qq.com/s?__bizMzkwNjY1Mzc0Nw&mid2247484339&idx1&sn356300f169de74e7a778b04bfbbbd0ab&chksmc0e47aeff793f3f9a5f7abcfa57695e8944e52bca2de2c7a3eb1aecb3c1e6b9cb6abe509d51f&scene21#wechat_redirect 《Java代码审…

AI大模型在知识管理平台上的应用:泛微·采知连实现自动采集.精准搜索.智能问答.主动推荐

AI技术的发展,正在推动组织知识管理模式发生变革。知识管理系统通过各种应用实现知识体系落地,当前聚焦于整合生成式AI技术,以提升业务效率。 组织在数字化进程中面临着知识增量增多、知识更新频率变快、知识与业务结合更紧密等挑战&#xff…