WLAN原理实验简述——AP上线

一、需求:
AP通过AC上线。
AC通过控制VLAN管理AP,创建VLAN100和放行。
AP同AC建立CAPWAP关系。

二、实验拓扑图:

在这里插入图片描述
三、实验步骤:
LSW1:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]Sysname lsw1
[lsw1]undo info enable
Info: Information center is disabled.
[lsw1]vlan 100
[lsw1-vlan100]int g0/0/2
[lsw1-GigabitEthernet0/0/2]port link-type trunk
[lsw1-GigabitEthernet0/0/2]port trunk allow-pass vlan 100
[lsw1-GigabitEthernet0/0/2]quit
[lsw1]int g0/0/3
[lsw1-GigabitEthernet0/0/3]port link-type trunk
[lsw1-GigabitEthernet0/0/3]port trunk allow-pass vlan 100
[lsw1-GigabitEthernet0/0/3]Quit
[lsw1]interface g0/0/4
[lsw1-GigabitEthernet0/0/4]port link-type trunk
[lsw1-GigabitEthernet0/0/4]port trunk allow-pass vlan 100
[lsw1-GigabitEthernet0/0/4]quit

LSW2:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info enable
Info: Information center is disabled.
[Huawei]sysname lsw2
[lsw2]vlan 100
[lsw2-vlan100]int g0/0/1
[lsw2-GigabitEthernet0/0/1]port link-type trunk
[lsw2-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
[lsw2-GigabitEthernet0/0/1]quit
[lsw2]int g0/0/2
[lsw2-GigabitEthernet0/0/2]port link-type trunk
[lsw2-GigabitEthernet0/0/2]port trunk allow-pass vlan 100
[lsw2-GigabitEthernet0/0/2]quit

LSW3:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info enable
Info: Information center is disabled.
[Huawei]sysname lsw3
[lsw3]vlan 100
[lsw3-vlan100]int g0/0/1
[lsw3-GigabitEthernet0/0/1]port link-type trunk
[lsw3-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
[lsw3-GigabitEthernet0/0/1]quit
[lsw3]int g0/0/2
[lsw3-GigabitEthernet0/0/2]port link-type access
[lsw3-GigabitEthernet0/0/2]port default vlan 100
[lsw3-GigabitEthernet0/0/2]Quit

LSW4:
sys
[Huawei]undo info-center enable
Info: Information center is disabled.
[Huawei]sysname lsw4
[lsw4]vlan 100
[lsw4-vlan100]int g0/0/1
[lsw4-GigabitEthernet0/0/1]port link-type trunk
[lsw4-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
[lsw4-GigabitEthernet0/0/1]quit
[lsw4]int g0/0/2
[lsw4-GigabitEthernet0/0/2]port link-type trunk
[lsw4-GigabitEthernet0/0/2]port trunk allow-pass vlan 100
[lsw4-GigabitEthernet0/0/2]quit

LSW5:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info-center enable
Info: Information center is disabled.
[Huawei]sysname lsw5
[lsw5]vlan 100
[lsw5-vlan100]int g0/0/1
[lsw5-GigabitEthernet0/0/1]port link-type trunk
[lsw5-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
[lsw5-GigabitEthernet0/0/1]int g0/0/2
[lsw5-GigabitEthernet0/0/2]port link-type access
[lsw5-GigabitEthernet0/0/2]port default vlan 100
[lsw5-GigabitEthernet0/0/2]quit

AC1:
sys
Enter system view, return user view with Ctrl+Z.
[AC6605]
[AC6605]sysname AC1
[AC1]VLAN 100
Info: This operation may take a few seconds. Please wait for a moment…done.
[AC1-vlan100]
[AC1-vlan100]int g0/0/1
[AC1-GigabitEthernet0/0/1]port link-type trunk
[AC1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
[AC1-GigabitEthernet0/0/1]Quit
[AC1]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[AC1]int vlanif 100
[AC1-Vlanif100]ip add 172.16.100.254 24
[AC1-Vlanif100]dhcp select interface
[AC1]capwap source interface vlanif 100

AP1:
dis ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 0

Interface IP Address/Mask Physical Protocol
NULL0 unassigned up up(s)
Vlanif1 172.16.100.176/24 up up

ping 172.16.100.254
PING 172.16.100.254: 56 data bytes, press CTRL_C to break
Reply from 172.16.100.254: bytes=56 Sequence=1 ttl=255 time=200 ms
Reply from 172.16.100.254: bytes=56 Sequence=2 ttl=255 time=100 ms
Reply from 172.16.100.254: bytes=56 Sequence=3 ttl=255 time=90 ms
Reply from 172.16.100.254: bytes=56 Sequence=4 ttl=255 time=100 ms
Reply from 172.16.100.254: bytes=56 Sequence=5 ttl=255 time=80 ms

— 172.16.100.254 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 80/114/200 ms

dis interface vlanif 1
Vlanif1 current state : UP
Line protocol current state : UP
Last line protocol up time : 2024-08-29 18:06:53 UTC-05:13
Description:HUAWEI, AP Series, Vlanif1 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet Address is allocated by DHCP, 172.16.100.176/24
IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc93-6250
Current system time: 2024-08-29 19:15:43-05:13
Input bandwidth utilization : –
Output bandwidth utilization : –

AP2:
dis ip int b
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 0

Interface IP Address/Mask Physical Protocol
NULL0 unassigned up up(s)
Vlanif1 172.16.100.171/24 up up

dis int vlanif 1
Vlanif1 current state : UP
Line protocol current state : UP
Last line protocol up time : 2024-08-30 00:35:00 UTC-05:13
Description:HUAWEI, AP Series, Vlanif1 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet Address is allocated by DHCP, 172.16.100.171/24
IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc32-6ac0
Current system time: 2024-08-29 19:26:10-05:13
Input bandwidth utilization : –
Output bandwidth utilization : –

ping 172.16.100.254
PING 172.16.100.254: 56 data bytes, press CTRL_C to break
Reply from 172.16.100.254: bytes=56 Sequence=1 ttl=255 time=200 ms
Reply from 172.16.100.254: bytes=56 Sequence=2 ttl=255 time=90 ms
Reply from 172.16.100.254: bytes=56 Sequence=3 ttl=255 time=70 ms
Reply from 172.16.100.254: bytes=56 Sequence=4 ttl=255 time=100 ms
Reply from 172.16.100.254: bytes=56 Sequence=5 ttl=255 time=60 ms

— 172.16.100.254 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 60/104/200 ms

AC1:G0/0/1口抓包
在这里插入图片描述

在这里插入图片描述

AC1:
[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 1
Info: This operation may take a few seconds. Please wait for a moment.done.
[AC1-wlan-ap-group-1]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 ap-mac 00e0-fc93-6250
[AC1-wlan-ap-1]ap-name ycg
[AC1-wlan-ap-1]ap-group 1

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-view]ap-id 2 ap-mac 00e0-fc32-6ac0
[AC1-wlan-ap-2]ap-name ycg2
[AC1-wlan-ap-2]ap-group 1

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-view]dis 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 STA Uptime


1 00e0-fc93-6250 ycg 1 172.16.100.176 AP6050DN nor 0 2M:23S
2 00e0-fc32-6ac0 ycg2 1 172.16.100.171 AP6050DN nor 0 2S


Total: 2

[AC1]wlan
[AC1-wlan-view]dis this

wlan
traffic-profile name default
security-profile name default
security-profile name default-wds
security-profile name default-mesh
ssid-profile name default
vap-profile name default
wds-profile name default
mesh-handover-profile name default
mesh-profile name default
regulatory-domain-profile name 1
regulatory-domain-profile name default
air-scan-profile name default
rrm-profile name default
radio-2g-profile name default
radio-5g-profile name default
wids-spoof-profile name default
wids-profile name default
wireless-access-specification
ap-system-profile name default
port-link-profile name default
wired-port-profile name default
serial-profile name preset-enjoyor-toeap
ap-group name 1
regulatory-domain-profile 1
ap-group name default
ap-id 1 type-id 56 ap-mac 00e0-fc93-6250 ap-sn 210235448310743EF65C
ap-name ycg
ap-group 1
ap-id 2 type-id 56 ap-mac 00e0-fc32-6ac0 ap-sn 21023544831065599A16
ap-name ycg2
ap-group 1

provision-ap

AP1:

dis ip int b
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 0

Interface IP Address/Mask Physical Protocol
NULL0 unassigned up up(s)
Vlanif1 172.16.100.176/24 up up

AP2:
****dis int vlanif 1
Vlanif1 current state : UP
Line protocol current state : UP
Last line protocol up time : 2024-08-30 00:35:00 UTC-05:13
Description:HUAWEI, AP Series, Vlanif1 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet Address is allocated by DHCP, 172.16.100.171/24
IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc32-6ac0
Current system time: 2024-08-29 19:26:10-05:13
Input bandwidth utilization : –
Output bandwidth utilization : –

AP1 和AP2名称均改变,并且在AC1 WLAN配置中可以查看到AP-ID1 和2,AC1 显示2个AP在线,实验成功。

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

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

相关文章

扩散模型(Diffusion Model)

扩散模型(diffusion model)是一种运用了物理热力学扩散思想的生成模型。扩散模型有很多不同的变形,本文主要介绍最知名的去噪扩散概率模型(Denoising Diffusion Probabilistic Model,DDPM)。如今比较成功的…

Notepad++回车不自动补全

问题 使用Notepad时,按回车经常自动补全,但我们希望回车进行换行,而不是自动补全,而且自动补全使用Tab进行补全足够了。下文介绍设置方法。 设置方法 打开Notepad,进入设置 - 首选项 - 自动完成,在插入选…

Windows上MSYS2的安装和使用

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档 文章目录 前言一、下载二、安装三、使用1.打开命令行2.搜索软件3.安装软件4.卸载软件5.更新环境6.其他四、MSYS2和Cygwin的差别总结前言 MSYS2这个工具我是越用越喜欢,很多东西放在Linux上如鱼得水但是放在…

禁止文件外发 | 如何禁止员工外发文件?严守企业机密,禁止员工外发敏感文件!

近期,我们注意到一些敏感项目资料有外泄的风险,这对公司的核心竞争力构成了严重威胁! 我们必须立即采取行动,严守企业机密,确保每一份文件都安全无虞。 从今天起,我们要全面升级信息安全措施,…

2024世界机器人大会盛大开幕,卓翼飞思携无人智能领域产品集中亮相 !

开放创新 聚享未来!万众瞩目的2024世界机器人大会暨博览会于8月21日在北京亦创国际会展中心盛大开幕。大会聚焦机器人技术与产业前沿趋势,展示机器人创新应用赋能千行百业的多元场景,全球顶尖的机器人科学家、行业领袖、创新精英汇聚一堂&…

React学习day04-useEffect、自定义Hook函数

11、useEffect(一个React Hook函数) (1)作用:用于在React组件中创建不是由事件引起而是由渲染本身引起的操作,比如发送AJAX请求,更改DOM等(即:视图渲染完后会触发一些事…

前端开发,太难啦!

声明:此篇为 ai123.cn 原创文章,转载请标明出处链接:https://ai123.cn/#1 《黑神话:悟空》作为一款国产3A游戏,其前端开发的游戏界面和交互设计复杂度极高,这要求开发团队与设计师之间进行紧密合作&#xf…

嵌入式Qt移植之tslib部署到Busybox根文件-思维导图-学习笔记-基于正点原子阿尔法开发板

嵌入式Qt移植之tslib部署到Busybox根文件 烧写Busybox根文件系统到开发板 准备好一个固化系统 以TF卡为例子 TF 卡用读卡器插到 Ubuntu 虚拟机 会出现两个分区 boot分区是存放内核和设备树这些 rootfs分区是存放文件系统的 eMMC、NADA FLASH或者其他方式挂载也可&#xf…

中国严肃游戏开发的最佳实践

严肃游戏产业在中国迅速发展,将娱乐与教育、培训和宣传活动融为一体。旨在实现特定学习成果或行为改变的严肃游戏在从企业培训到医疗保健和教育的各个领域越来越受欢迎。然而,为中国市场开发成功的严肃游戏需要深入了解当地文化、用户偏好和技术趋势。以…

[000-01-001].第04节:Shell中的内置命令

5、Shell内置命令:alias设置别名 目标 1.理解内置命令的含义 2.能够使用alias内置命令进行给命令定义别名 内置命令介绍 Shell 内置命令,就是由 Bash Shell 自身提供的命令,而不是文件系统中的可执行脚本文件。 使用type 来确定一个命令…

恶意代码防范技术原理

恶意代码概述 定义与分类 恶意代码:指违背目标安全策略的程序代码,会造成目标系统信息泄露、资源滥用,破坏系统的完整性及可用性。 传播途径:经过存储介质或网络进行传播,在计算机系统之间传播,未经授权…

【Word与WPS如何冻结首行首列及窗口】

1.Word如何冻结首行首列及窗口 microsoft word 中锁定表头是一项实用的功能,可让您在滚动文档时保持表头可见。这在处理大型文档或包含大量数据的表格时非常有用。php小编柚子将为您详细介绍 word 锁定表头位置的方法,帮助您轻松掌握这项实用技巧。 1.…

认知杂谈43

今天分享 有人说的一段争议性的话 I I 年轻:潜力如海,挑战重重,绝非轻易挥霍的资本 I 咱都觉得年轻好像一张白纸,能在上面画出精彩人生呢。可实际上,年轻可不是啥简单的好事儿,它更像是个宝库&#xff0…

x264 编码器 AArch64汇编系列:DCT 变换相关汇编函数

DCT变换 在x264_dct_init函数中初始化具体的 dct 实现函数。 4x4 块DCT 变换 c 语言版本实现 4x4DCT 变换函数:sub4x4_dct。pixel_sub_wxh 函数: 这个函数的作用是从两个像素块中减去一个像素块,得到差分值,这些差分值将用于DCT变换。参数: diff:指向存储结果差分值的数组…

OHIF Viewers 项目介绍

项目结构 项目架构 │ ├── extensions │ ├── default # 默认功能 │ ├── cornerstone # 使用 Cornerstonejs 处理 2D/3D 图像 │ ├── cornerstone-dicom-sr # 结构化报告 (DICOM SR) │ ├── measurement-tracking # 测量追…

FTP服务器(服务名vsftpd,端口tcp/20和tcp/21)

目录 前言 配置文件 FTP服务器的配置 FTP服务的下载 配置防火墙 编辑配置文件 常用字段: 常用字段(匿名用户): 常用字段(系统用户): 指定系统用户访问: 编辑名单/etc/vsf…

leetcode_001_两数之和解析

两数之和解析 题目: 给定一个整数数组 nums 和一个整数目标值 target,请你在该数组中找出 和为目标值 target 的那 两个 整数,并返回它们的数组下标。你可以假设每种输入只会对应一个答案,并且你不能使用两次相同的元素。你可以按任意顺序…

代码随想录(day8)—环形链表

题目 预备知识点: for和while的区别 while语句属于循环语句,在判断是,如果条件为true,则会继续判断,直到false为止,即会进行多次判断(除非一开始条件就是错的)。 if语句属于条件判…

【Material-UI】Slider中的 Continuous Sliders 与 Sizes 详解

文章目录 一、Slider 组件概述1. 组件介绍2. 使用场景 二、Continuous Sliders 的详解1. Continuous Sliders 的作用2. Continuous Sliders 的基本用法3. 禁用状态下的 Continuous Sliders4. Continuous Sliders 的实际应用5. Continuous Sliders 的优缺点 三、Slider 的尺寸控…

005-CircuitBreaker断路器-Resilience4J

文章目录 1 CircuitBreaker1.1 实现原理1.2 一句话 2 Resilience4J2.1 是什么2.2 能干嘛2.3 怎么用 3 熔断(CircuitBreaker)(服务熔断服务降级)3.1 断路器三大状态3.2断路器3大状态之前的转换3.3断路器所有配置参数参考3.4 熔断降级案例需求说明3.5 COUNT_BASED(计数的滑动窗口…