当前位置: 首页 > news >正文

无线配置实验

配置

sw1

[sw1]vlan batch 10 20 100

[sw1-GigabitEthernet0/0/1]port link-type trunk

[sw1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20 100

[sw1-GigabitEthernet0/0/1]port trunk pvid vlan 100

接口g124一样的配置

[sw1-GigabitEthernet0/0/3]port link-type trunk 
[sw1-GigabitEthernet0/0/3]port trunk  allow-pass vlan 10 20 100
 

[sw1]int Vlanif 10
[sw1-Vlanif10]ip address 192.168.1.2 24
[sw1]int Vlanif 20
[sw1-Vlanif10]ip address 192.168.2.2 24

 

sw2 

[sw2-GigabitEthernet0/0/1]port link-type trunk 
[sw2-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20 100

[sw2-GigabitEthernet0/0/2]port link-type trunk 
.
[sw2-GigabitEthernet0/0/2]port link-type access
[sw2-GigabitEthernet0/0/2]p d v 30


[sw2-GigabitEthernet0/0/3]port link-type trunk 
[sw2-GigabitEthernet0/0/3]port trunk allow-pass vlan 10 20 100
[sw2-Vlanif30]ip add 192.168.4.1 24

r3 

[r3-GigabitEthernet0/0/0]ip add 192.168.4.2 24 

AC 

[AC6605]vlan batch 10 20 100
Info: This operation may take a few seconds. Please wait for a moment...done.
[AC6605]int vlanif10
[AC6605-Vlanif10]ip add 192.168.1.254 24

[AC6605]dhcp enable 
[AC6605]ip pool vlan10
Info: It is successful to create an IP address pool.
[AC6605-ip-pool-vlan10]gateway-list 192.168.1.254
[AC6605-ip-pool-vlan10]netbios-type
[AC6605-ip-pool-vlan10]network 192.168.1.0 mask 24 
[AC6605-ip-pool-vlan10]dns-list 8.8.8.8
[AC6605-Vlanif10]dhcp select global 

[AC6605]int Vlanif 20
[AC6605-Vlanif20]ip add 192.168.2.254 24
[AC6605-Vlanif20]dhcp select global 
[AC6605]ip pool vlan20
[AC6605-ip-pool-vlan20]network 192.168.2.0 mask 24
[AC6605-ip-pool-vlan20]gateway-list 192.168.2.254
[AC6605-ip-pool-vlan20]dns-list 8.8.8.8

WLAN:

组1:
[AC6605-Vlanif100]ip add 10.1.1.1 24

[AC6605]capwap source interface Vlanif 100

[AC6605]wlan 
[AC6605-wlan-view]regulatory-domain-profile name domain
[AC6605-wlan-regulate-domain-domain]country-code cn
[AC6605-wlan-regulate-domain-domain]q
[AC6605-wlan-view]ap-group name group-1

[AC6605-wlan-ap-group-group-1]regulatory-domain-profile domain  调

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

[AC6605-wlan-view]ap auth-mode mac-auth  

[AC6605-wlan-view]ap-id 0 ap-mac 00e0-fc94-2010  

[AC6605-wlan-ap-0]ap-group group-1  

[AC6605-wlan-view]ap-id 1 ap-mac 00e0-fc2a-3690
[AC6605-wlan-ap-1]ap-group group-1

Info: This operation may take a few seconds. Please wait for a moment.. done.

[AC6605]display ap all

[AC6605-wlan-view]vap-profile name test-1  

[AC6605-wlan-vap-prof-test-1]forward-mode tunnel  

[AC6605-wlan-vap-prof-test-1]service-vlan vlan-id 10

[AC6605-wlan-vap-prof-test-1]ssid-profile test-1  关联wife名称

[AC6605-wlan-vap-prof-test-1]security-profile test-1  关联密码名称

[AC6605-wlan-view]ap-group name group-1

[AC6605-wlan-ap-group-group-1]vap-profile test-1 wlan 1 radio all  

[AC6605-wlan-view]display vap ssid test-1

组2:

[AC6605-wlan-view]ap-group name group-2

[AC6605-wlan-view]ap-id 2 ap-mac 00e0-fc35-6740
[AC6605-wlan-ap-2]ap-group group-2
[AC6605-wlan-view]security-profile name text-2
[AC6605-wlan-sec-prof-text-2]security wpa-wpa2 psk pass-phrase huawei123 aes
[AC6605-wlan-sec-prof-text-2]q
[AC6605-wlan-view]vap-profile name text-2
[AC6605-wlan-vap-prof-text-2]forward-mode tunnel 
[AC6605-wlan-vap-prof-text-2]service-vlan vlan-id 20
[AC6605-wlan-vap-prof-text-2]ssid-profile text-2
Info: This operation may take a few seconds, please wait.done.
[AC6605-wlan-vap-prof-text-2]security-profile text-2

[AC6605-wlan-ap-group-group-2]vap-profile text-2 wlan 1 radio all 

STA获得IP 

 

 


http://www.mrgr.cn/news/64779.html

相关文章:

  • 哲学家就餐问题(Java实现信号量和PV操作)
  • python操作MySQL以及SQL综合案例
  • 11.Node.js API接口
  • 【JAVA】第3关:素数链
  • css实现边框双色凹凸半圆
  • Rocky Linux 9安装后无法远程ssh密码登录解决
  • 淘宝 API 多语言接入:释放技术开发新潜力
  • DNS域名系统
  • C语言编译所有知识点
  • 记住电机原理及几个重要公式,搞清楚电机so easy
  • 如何确保多进程中的数据一致性?
  • 【基础】使用template替换yaml中的变量
  • 【运动的&足球】足球场上球检测系统源码&数据集全套:改进yolo11-DGCST
  • 【网络面试篇】HTTP(1)(笔记)——状态码、字段、GET、POST、缓存
  • Zypher Network:全栈式 Web3 游戏引擎,服务器抽象叙事的领导者
  • 《TCP/IP网络编程》学习笔记 | Chapter 2:套接字类型与协议设置
  • Java-I/O框架08:BufferedReader、BufferedWriter、PrintWriter使用
  • FPGA(现场可编程门阵列)的时序分析
  • aws(学习笔记第十课) 对AWS的EBS如何备份(snapshot)以及使用snapshot恢复数据,AWS实例存储
  • Shell
  • 站长福音(二)-爬虫代理IP合集(国内版)
  • DNS服务部署
  • 第8章 利用CSS制作导航菜单
  • 中文词向量质量的评估
  • 鸿蒙生态崛起:开发者如何抓住机遇与应对挑战
  • 【Linux系统】—— 基本指令(一)