无线基础配置

配置图

各部分配置

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

效果图

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值