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

无线基础配置

配置图

各部分配置

AC1

vlan b    
[AC6605]vlan batch 10 20 100
Info: This operation may take a few seconds. Please wait for a moment...done.
[AC6605]int    
[AC6605]interface g    
[AC6605]interface GigabitEthernet 0/0/2

[AC6605-GigabitEthernet0/0/2]port link-type trunk 

[AC6605-GigabitEthernet0/0/2]port trunk allow-pass vlan 10 20 100
[AC6605-GigabitEthernet0/0/2]q
[AC6605]int    
[AC6605]interface v    
[AC6605]interface Vlanif 100
[AC6605-Vlanif100]ip a    
[AC6605-Vlanif100]ip address 100.0.0.1 24
[AC6605-Vlanif100]
[AC6605-Vlanif100]
[AC6605-Vlanif100]q

[AC6605]capwap source interface Vlanif 100
[AC6605]wl    
[AC6605]wlan 
[AC6605-wlan-view]re    
[AC6605-wlan-view]regulatory-domain-profile na    
[AC6605-wlan-view]regulatory-domain-profile name domain
[AC6605-wlan-regulate-domain-domain]coun    
[AC6605-wlan-regulate-domain-domain]country-code  CN
Info: The current country code is same with the input country code.

[AC6605-wlan-regulate-domain-domain]ap-group name group-1
Info: This operation may take a few seconds. Please wait for a moment.done.
[AC6605-wlan-ap-group-group-1]re    
[AC6605-wlan-ap-group-group-1]regulatory-domain-profile do    
[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-ap-group-group-1]q
[AC6605-wlan-view]ap-au    
[AC6605-wlan-view]ap au    
[AC6605-wlan-view]ap auth-mode ma    
[AC6605-wlan-view]ap auth-mode mac-auth 
[AC6605-wlan-view]ap-i    
[AC6605-wlan-view]ap-id 0 ap-    
[AC6605-wlan-view]ap-id 0 ap-mac 00e0-fc02-5300
[AC6605-wlan-ap-0]ap    

[AC6605-wlan-ap-0]ap-group gro    
[AC6605-wlan-ap-0]ap-group 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.
[AC6605-wlan-ap-0]q
[AC6605-wlan-view]q
[AC6605]dhcp en    
[AC6605]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[AC6605]ip po    
[AC6605]ip pool  vla    
[AC6605]ip pool  vlan 100
                      ^
Error: Too many parameters found at '^' position.
[AC6605]ip pool vlan100
Info: It is successful to create an IP address pool.
  
[AC6605-ip-pool-vlan100]network 100.0.0.0 mask 24

[AC6605-ip-pool-vlan100]gateway-list 100.0.0.1
[AC6605-ip-pool-vlan100]q
[AC6605]int    
[AC6605]interface v    
[AC6605]interface Vlanif 100
[AC6605-Vlanif100]dhc    
[AC6605-Vlanif100]dhcp se    
[AC6605-Vlanif100]dhcp select g    
[AC6605-Vlanif100]dhcp select global 
[AC6605-Vlanif100]q
[AC6605]dis    
[AC6605]display ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
nor  : normal          [1]
--------------------------------------------------------------------------------
-----------------
ID   MAC            Name           Group   IP         Type            State STA 
Uptime
--------------------------------------------------------------------------------
-----------------
0    00e0-fc02-5300 00e0-fc02-5300 group-1 100.0.0.90 AP2050DN        nor   0   
20S
--------------------------------------------------------------------------------
-----------------
Total: 1
[AC6605]wl    
[AC6605]wlan 

[AC6605-wlan-view]ssid-profile name test-1
[AC6605-wlan-ssid-prof-test-1]ss    
[AC6605-wlan-ssid-prof-test-1]ssid hubin
Info: This operation may take a few seconds, please wait.done.
[AC6605-wlan-ssid-prof-test-1]q
[AC6605-wlan-view]security-profile name test-1
[AC6605-wlan-sec-prof-test-1]security wpa-wpa2 psk pass-phrase huawei123 aes
[AC6605-wlan-sec-prof-test-1]q
[AC6605-wlan-view]va    
[AC6605-wlan-view]vap-profile na    
[AC6605-wlan-view]vap-profile name test-1
[AC6605-wlan-vap-prof-test-1]ss    
[AC6605-wlan-vap-prof-test-1]ssid-profile test-1
Info: This operation may take a few seconds, please wait.done.
[AC6605-wlan-vap-prof-test-1]se    
[AC6605-wlan-vap-prof-test-1]security-profile test-1
Info: This operation may take a few seconds, please wait.done.
[AC6605-wlan-vap-prof-test-1]fo    
[AC6605-wlan-vap-prof-test-1]forward-mode di    
[AC6605-wlan-vap-prof-test-1]forward-mode direct-forward 
[AC6605-wlan-vap-prof-test-1]ser    
[AC6605-wlan-vap-prof-test-1]service-v    
[AC6605-wlan-vap-prof-test-1]service-vlan v    
[AC6605-wlan-vap-prof-test-1]service-vlan vlan-id 10
Info: This operation may take a few seconds, please wait.done.
[AC6605-wlan-vap-prof-test-1]q
[AC6605-wlan-view]ap-i    
[AC6605-wlan-view]ap-id 0
[AC6605-wlan-ap-0]ap-g    
[AC6605-wlan-ap-0]ap-group 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.
[AC6605-wlan-ap-0]q
[AC6605-wlan-view]ap-group name group-1 
[AC6605-wlan-ap-group-group-1]vap-profile test-1 wlan 1 radio all 
Info: This operation may take a few seconds, please wait...done.
[AC6605-wlan-ap-group-group-1]q
[AC6605-wlan-view]q
[AC6605]ip po    
[AC6605]ip pool v    
[AC6605]ip pool vlan10
Info: It is successful to create an IP address pool.
[AC6605-ip-pool-vlan10]q
[AC6605]interface Vlanif 10
[AC6605-Vlanif10]ip address 192.168.10.1 24
[AC6605-Vlanif10]q
[AC6605]ip p    
[AC6605]ip pool v    
[AC6605]ip pool vlan10
[AC6605-ip-pool-vlan10]network 192.168.10.0 mask 24
[AC6605-ip-pool-vlan10]g    
[AC6605-ip-pool-vlan10]gateway-list 192.168.10.1
[AC6605-ip-pool-vlan10]dns-list 8.8.8.8
[AC6605-ip-pool-vlan10]q 
[AC6605]interface Vlanif 10
[AC6605-Vlanif10]dns    
[AC6605-Vlanif10]dhcp select global 
[AC6605-Vlanif10]q
[AC6605]

 
 

AP1

vlan batch 10
#
arp learning strict
#
lldp enable 
#
dns resolve 
#
interface Vlanif1
#
interface GigabitEthernet0/0/0
 port hybrid tagged vlan 2 to 4094
 lldp dot3-tlv power 802.3at
#
interface GigabitEthernet0/0/1
 port hybrid tagged vlan 2 to 4094
 lldp dot3-tlv power 802.3at
#
interface GigabitEthernet0/0/2
 port hybrid tagged vlan 2 to 4094
 lldp dot3-tlv power 802.3at
#
interface GigabitEthernet0/0/3
 port hybrid tagged vlan 2 to 4094
 lldp dot3-tlv power 802.3at
#
interface GigabitEthernet0/0/4
 port hybrid tagged vlan 2 to 4094
 lldp dot3-tlv power 802.3at
#
interface NULL0
#
 sftp server enable 
 stelnet server enable 
 undo telnet server enable 
 undo telnet ipv6 server enable 
ssh server secure-algorithms cipher aes256_ctr aes128_ctr
ssh server secure-algorithms hmac sha2_256
ssh server key-exchange dh_group14_sha1
ssh client secure-algorithms cipher aes256_ctr aes128_ctr
ssh client secure-algorithms hmac sha2_256
ssh client key-exchange dh_group14_sha1
#
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
#
interface Wlan-Radio0/0/0
#
interface Wlan-Radio0/0/1

LSW1 

[Huawei]vlan batch 10 20 100

[Huawei]interface GigabitEthernet 0/0/1

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

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

[Huawei-GigabitEthernet0/0/1]q

[Huawei]interface  GigabitEthernet 0/0/2

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

[Huawei-GigabitEthernet0/0/2]port trunk pvid vlan 100

[Huawei-GigabitEthernet0/0/2]q

[Huawei]interface GigabitEthernet 0/0/3

[Huawei-GigabitEthernet0/0/3]port link-type access 

[Huawei-port-group-discar]port default vlan 20

效果图

 


http://www.kler.cn/a/374976.html

相关文章:

  • 1-Linux 基础入门指南
  • C#使用Tesseract C++ API过程记录
  • Elasticsearch:normalizer
  • 游戏开发-UE4高清虚幻引擎教程
  • Java Stream流详解——串行版
  • Docker部署GitLab服务器
  • 深入解析C/C++中的__attribute__((packed)):内存对齐与紧打包技术
  • 目录遍历漏洞
  • AE制作太阳光线穿过手指间隙的教程
  • A*算法求第k短路
  • 机器学习:我们能用机器学习来建立投资模型吗
  • 解决宝塔安装wxwork_finance_sdk出现free():invalid pointer Aborted (core dumped)
  • leetcode 2710 移除字符串中的尾随零
  • 车载总线系列 --- CAN FD简介
  • 【自动化运维从 0-1 保姆级教程-超细-超长篇】
  • 遥感辐射传输方程中的格林函数
  • 如何保护网站安全
  • 大家觉得做一个大模型检索增强生成(RAG)系统,最难搞定的是那部分工作?
  • Java:网络初识
  • Linux 多线程编程
  • 视频文件损坏无法播放怎么办?有什么办法可以修复视频吗?
  • PPT编辑限制密码忘记了怎么办?2个方法快速取消编辑限制
  • CSS3新增盒子属性(三)
  • 无需手动部署的正式版comfyUI是否就此收费?开源等同免费?
  • 【AI抠图整合包及教程】Meta SAM 2:视觉分割的革命性飞跃
  • 2024wdb|misc01