• 拓扑
  • 配置
    • LSW2配置
    • LSW1配置
    • AC1配置
      • 1.有线配置
      • 2.模板配置
        • 管理模板配置
        • ssid模板配置
        • 安全模板配置
        • VAP模板配置
        • AP组配置
      • 3.AP上线
        • 选定认证方式
        • AP1上线
        • AP2上线
      • capwap命令
  • 检测
  • 总结

拓扑

配置

LSW2配置

二层交换嘛,不配也行。

vlan 10
int e0/0/1
port link-type trunk
port trunk allow-pass vlan 10

int e0/0/2
port link-type access
port default vlan 10

int e0/0/2
port link-type access
port default vlan 10

LSW1配置

vlan batch 10 30

int vlan 10
ip add 192.168.1.254 24

int vlan 30
ip add 1.1.1.2 24

int g0/0/1
port link-type trunk
port trunk allow-pass vlan 10

int g0/0/2
port link-type trunk
port trunk allow-pass vlan all

dhcp enable

ip pool forap
gateway-list 192.168.1.254
network 192.168.1.0 mask 255.255.255.0
option 43 sub-option 2 ip-address 1.1.1.1
上面这句这是重点。

interface Vlanif 10
dhcp select global
三层交换要在是vlanif调用全局地址池。

AC1配置

1.有线配置

vlan 30

int vlan 30
ip add 1.1.1.1 24

ip route-static 192.168.1.0 24 1.1.1.2

int g0/0/1
port link-type trunk
port trunk allow-pass vlan all

2.模板配置

wlan

管理模板配置

[AC6005-wlan-view]regulatory-domain-profile name dom
命令解释:
创建名为dom的管理模板。
[AC6005-wlan-regulate-domain-dom]country-code cn
命令解释:
设置国家码为cn,中国是cn。
Info: The current country code is same with the input country code.
[AC6005-wlan-regulate-domain-dom]q

ssid模板配置

这个模板将被引用到4G射频,不理解没关系慢慢看。
[AC6005-wlan-view]ssid-profile name ssid-cfg-1
命令解释:
创建名为 ssid-cfg-1的ssid模板。
[AC6005-wlan-ssid-prof-ssid-cfg-2]ssid wifi-2.4GHz
命令解释:
将ssid命名为wifi-2.4GHz,即WiFi的名称。
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-ssid-prof-ssid-cfg-2]q

这个模板将被引用到5G射频。
[AC6005-wlan-view]ssid-profile name ssid-cfg-2
[AC6005-wlan-ssid-prof-ssid-cfg-2]ssid wifi-5GHz
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-ssid-prof-ssid-cfg-2]q

安全模板配置

[AC6005-wlan-view]security-profile name sec
命令解释:
创建名为sec的安全模板。
[AC6005-wlan-sec-prof-sec]security wpa-wpa2 psk pass-phrase a1234567 aes
命令解释:
配置 wpa-wpa2 psk的安全策略,密码为a1234567,密码加密方式为aes.
[AC6005-wlan-sec-prof-sec]q

VAP模板配置

[AC6005-wlan-view]vap-profile name vap-cfg-1
命令解释:
创建名为vap-cfg-1的VAP模板。
[AC6005-wlan-vap-prof-vap-cfg-1]forward-mode direct-forward
命令解释:
将AP的转发方式设定为直接转发。
[AC6005-wlan-vap-prof-vap-cfg-1]security-profile sec
命令解释:
引用名为sec的安全模板。
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-vap-prof-vap-cfg-1]ssid-profile ssid-cfg-1
命令解释:
引用名为ssid-cfg-1的ssid模板,引用这个模板无线信号会显示为wifi-2.4GHz,理解上面的ssid模板没有哇。
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-vap-prof-vap-cfg-1]q

[AC6005-wlan-view]vap-profile name vap-cfg-2
[AC6005-wlan-vap-prof-vap-cfg-2]forward-mode direct-forward
[AC6005-wlan-vap-prof-vap-cfg-2]security-profile sec
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-vap-prof-vap-cfg-2]ssid-profile ssid-cfg-2
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-vap-prof-vap-cfg-2]q

AP组配置

[AC6005-wlan-view]ap-group name ap-g
命令解释:
创建名为ap-g的AP组。
进入到名为ap-g的AP组也用这句命令。
[AC6005-wlan-ap-group-ap-g]regulatory-domain-profile dom
命令解释:
引用名为dom的管理模板,需提前创建。
Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continue?[Y/N]:y
[AC6005-wlan-ap-group-ap-g]vap-profile vap-cfg-1 wlan 1 radio 0
命令解释:
在编号为1的wlan中,编号为0的radio射频引用名为vap-cfg-1的VAP模板。
编号为0的radio射频是4G。
Info: This operation may take a few seconds, please wait…done.
[AC6005-wlan-ap-group-ap-g]vap-profile vap-cfg-2 wlan 1 radio 1
命令解释:
在编号为1的wlan中,编号为1的radio射频引用名为vap-cfg-2的VAP模板。
编号为1的radio射频是5G。
Info: This operation may take a few seconds, please wait…done.

3.AP上线

选定认证方式

[AC6005-wlan-view]ap auth-mode mac-auth
命令解释:ap的认证方式为mac-auth,即mac地址认证。

AP1上线

[AC6005-wlan-view]ap-id 1 ap-mac 00e0-fc07-0840
命令解释:硬件地址为00e0-fc07-0840的AP上线,编号为1
[AC6005-wlan-ap-1]ap-group ap-g
命令解释:将编号为1的AP添加到名为ap-g的AP组
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 continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment… done.

AP2上线

[AC6005-wlan-view]ap-id 2 ap-mac 00e0-fc55-7750
[AC6005-wlan-ap-2]ap-group ap-g
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 continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment… done.
[AC6005-wlan-ap-2]q
[AC6005-wlan-view]q

capwap命令

[AC6005]capwap source interface vlanif 30

注意:这句命令并不是在WLAN视图下配置的。

检测

有这两个大圈圈就表示OK了

如果对ssid模板还是不理解,可以看下图。

总结

首先:capwap那句命令容易漏掉。
其次:在配置dhcp地址池的时候,option 43这句容易漏掉。
再次:必须得先option 43再dhcp select global,不能已经dhcp select global发现没option 43 ,再去配置option 43,知道为啥嘛?因为分配的dhcp地址和地址池中的东西已经生效,还在租期之内,使用的是没有option 43的地址池中的东西。

最后:这些都是交换机,配IP地址请到vlaif,dhcp select global也一样。

如果有收获,嘿嘿,点个赞呗!

wlan配置——瘦AP配置【拓扑简单,代码详细,命令解释】相关推荐

  1. AC 瘦AP配置 ensp

    AC是专门为瘦AP而打造的.AC就是管理和控制AP的,AP就是一个WiFi信号收发器,除了收发信号就没别的功能了,AC就像一个二层的交换机一样只能在通过VLAN配置IP. 注意:AC连接AP的端口一定 ...

  2. 锐捷ac怎么发现局域网ap_【无线】无线瘦AP配置如何进行AC直连AP配置

    适用场景说明 当无线网络中的AP数量众多,而且需要统一管理和配置. 优点:通过AC(AP控制器)统一配置和管理AP.包括配置下发.升级.重启等 缺点:需要增加网络设备AC,增加有线网络的配置,不同厂商 ...

  3. ac6005直连ap 如何配置_【无线】无线瘦AP配置如何进行AC直连AP配置

    适用场景说明 当无线网络中的AP数量众多,而且需要统一管理和配置. 优点:通过AC(AP控制器)统一配置和管理AP.包括配置下发.升级.重启等 缺点:需要增加网络设备AC,增加有线网络的配置,不同厂商 ...

  4. 【Cisco Packet Tracer】WLC配置瘦AP指南

    实验环境 Windows10 Cisco Packet Tracer 8.0 主要流程 添加与配置实验设备 WLC 2504 初始化设置 WLC 2504 SSID 配置 Security 配置 Li ...

  5. 2021卓见杯第三届CCPC河南省省赛所有题超详细题解附加榜单真题解析,简单代码+详细注释+思想,要看的,补题的速速点进来 2021 10.30

    本人现在比较菜,所以难免出现错误,文章中有不太恰当地方,还请大家指正. 是否因为出题人的简短题解而发愁?,是否看不懂出题人的变态模板标程?是否因为自己是小白而苦恼?来看这片文章,帮助你解决这些问题 题 ...

  6. 组网胖模式_胖AP和瘦AP的区别,组网优缺点分析

    满意答案 fengzhu30 2013.04.11 采纳率:47%    等级:9 已帮助:617人 无线AP是access point(无线接入点)的意思,是WLAN网络中的重要组成部分,其作用是把 ...

  7. 锐捷ac怎么发现局域网ap_【实战】锐捷AC+AP配置WLAN基本服务系列

    本节通过具体配置用例指导用户如何配置 WLAN 基本服务. 拓扑结构 如下图所示,无线控制器(AC).交换机(Switch A 和Switch B).无线接入点(AP1 和AP2) 之间通过Trunk ...

  8. Cisco WLC和瘦ap的配置

    Cisco 无线设备: 设备 型号 数量 5508无线控制器 AIR-CT5508 1 AP AP1242.1131   对于无线局域网覆盖需求,部署2台WLAN控制器5508,每台各支持500台AP ...

  9. 华三无线设备系列 (瘦AP转胖AP的配置方法)

    华三无线设备系列 (瘦AP转胖AP的配置方法) 本次实验演示的AP型号是:华三WA4320-ACN 1.准备WA4320-ACN的升级包. (资源下载地址:https://download.csdn. ...

最新文章

  1. Python3中出现“No module named ‘StringIO‘
  2. [转]centos5.2用memcache 来作PHP 的session.save_handler
  3. linux和aix设置时间
  4. 【PAT乙级】1060 爱丁顿数 (25 分)
  5. 作者:司光亚(1967-),男,国防大学信息作战与指挥训练教研部教授,主要研究方向为战争复杂系统建模仿真。...
  6. linux32位运行64位程序,32位windows下可以运行的程序在64位linux下报错
  7. spark sql之日期函数
  8. 创客匠人:怎么用微信小程序直播?
  9. java实现开根号算法
  10. 单片机软件延时的时间计算
  11. 蓝牙核心技术概述: 蓝牙协议规范(射频、基带链路控制、链路管理)
  12. 电脑华硕A455L系列,机械硬盘换成固态硬盘,光驱位改放机械硬盘
  13. (59)TCL脚本命令【全局变量】
  14. virtualbox安装虚拟机后,虚拟机不显示ip问题
  15. 港口应急广播系统方案
  16. 工作室软路由该用哪个系统?
  17. iOS msgSend消息发送流程
  18. 玩机小技巧 | 自定义专属自己的优麒麟任务栏托盘
  19. WindTerm屏幕锁定
  20. windows软件图标变成白色怎么办

热门文章

  1. 【gnuradio 仿真音频数据ASK调制和解调】
  2. P1 | reference spur of SFB-PLL (JSSC-2013)
  3. UVA - 12627 - Erratic Expansion(找规律递归)
  4. 高桥盾react和boost_耐克的Epic React和阿迪的Boost哪个更厉害
  5. Eclipse Java EE+Tomcat问题和Apache整合Tomcat
  6. dnf最新地图编号2020_DNF2020跨区表-DNF2020跨区介绍_牛游戏网攻略
  7. 深度学习基础 - 积分
  8. windows通过批处理设置ip地址
  9. 单片机GPRS模块与web端通信
  10. 苹果截屏快捷键_苹果12将在10月上市,介绍下苹果手机便捷的实用技巧,