欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

多AP无线服务配置

程序员文章站 2022-05-01 18:33:31
...

多AP 无线服务配置

配置方案多AP无线服务配置

The device is running!
<AC6605>sys
Enter system view, return user view with Ctrl+Z.
[AC6605]
[AC6605]sys AC1

################配置DHCP服务
[AC1]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[AC1]ip pool pool1
Info: It is successful to create an IP address pool.
[AC1-ip-pool-pool1]network 192.168.1.0 mask 255.255.255.0
[AC1-ip-pool-pool1]gateway-list 192.168.1.1
[AC1-ip-pool-pool1]dns 114.114.114.114
[AC1-ip-pool-pool1]excluded-ip-address 192.168.1.200 192.168.1.254
[AC1-ip-pool-pool1]q

################配置VLAN1应用DHCP
[AC1]int vlan 1
[AC1-Vlanif1]ip ad 192.168.1.1 24
[AC1-Vlanif1]dhcp select golbal
[AC1-Vlanif1]dis int vlan 1                                                     //检测配置情况 应有物理层链路层两个UP
Vlanif1 current state : UP                                                      
Line protocol current state : UP                                            
Last line protocol up time : 2020-04-24 11:28:01 UTC-05:13
Description:HUAWEI, AC Series, Vlanif1 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet Address is 192.168.1.1/24
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc50-0e16
Current system time: 2020-04-24 11:28:51-05:13
    Input bandwidth utilization  : --
    Output bandwidth utilization : --
[AC1-Vlanif1]q

################配置AP与AC之间通信的源接口
[AC1]capwap source interface Vlanif 1

################查看未认证AP
[AC1]dis ap un 
Unauthorized AP record:
Total number: 3
--------------------------------------------------------------------------------
AP type: AP3030DN
AP SN: 210235448310A911281F
AP MAC address: 00e0-fc7a-5000
AP IP address: 192.168.1.193
Record time: 2020-04-24 11:29:50
--------------------------------------------------------------------------------
AP type: AP3030DN
AP SN: 210235448310A137993E
AP MAC address: 00e0-fc2e-5450
AP IP address: 192.168.1.74
Record time: 2020-04-24 11:29:49
--------------------------------------------------------------------------------
AP type: AP3030DN
AP SN: 210235448310E5207F63
AP MAC address: 00e0-fca1-6720
AP IP address: 192.168.1.65
Record time: 2020-04-24 11:29:48
--------------------------------------------------------------------------------

################注册AP
[AC1]wlan
[AC1-wlan-view]ap auth-mode no-auth                                             //自动注册AP,选用no-auth认证
Warning: It is insecure to configure none authentication mode.
[AC1-wlan-view]q
[AC1]dis ap all                                                                                         
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
nor  : normal          [3]
--------------------------------------------------------------------------------
--------------------
ID   MAC            Name           Group   IP            Type            State S
TA Uptime
--------------------------------------------------------------------------------
--------------------
0    00e0-fc7a-5000 00e0-fc7a-5000 default 192.168.1.193 AP3030DN        nor   0
   8S
1    00e0-fca1-6720 00e0-fca1-6720 default 192.168.1.65  AP3030DN        nor   0
   2S
2    00e0-fc2e-5450 00e0-fc2e-5450 default 192.168.1.74  AP3030DN        nor   0
   1S
--------------------------------------------------------------------------------
--------------------
Total: 3

################建立AP组
[AC1]wlan 
[AC1-wlan-view]ap-group name ap-group1                        //建立ap-group1的 AP组
Info: This operation may take a few seconds. Please wait for a moment.done.
[AC1-wlan-ap-group-ap-group1]ap-id 1
[AC1-wlan-ap-1]ap-group ap-group1
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-ap-1]ap-id 2
[AC1-wlan-ap-2]ap-group ap-group1
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 0
[AC1-wlan-ap-0]ap-group ap-group1
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-ap-0]q
[AC1-wlan-view]q
[AC1]dis ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
nor  : normal          [3]
--------------------------------------------------------------------------------
----------------------
ID   MAC            Name           Group     IP            Type            State
 STA Uptime
--------------------------------------------------------------------------------
----------------------
0    00e0-fc7a-5000 00e0-fc7a-5000 ap-group1 192.168.1.193 AP3030DN        nor  
 0   6S
1    00e0-fca1-6720 00e0-fca1-6720 ap-group1 192.168.1.65  AP3030DN        nor  
 0   1M:6S
2    00e0-fc2e-5450 00e0-fc2e-5450 ap-group1 192.168.1.74  AP3030DN        nor  
 0   31S
--------------------------------------------------------------------------------
----------------------
Total: 3

################WLAN基本业务配置阶段
[AC1]wlan 	
[AC1-wlan-view]ssid-profile name V1
[AC1-wlan-ssid-prof-V1]ssid wifi
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-ssid-prof-V1]q
[AC1-wlan-view]security-profile name V2
[AC1-wlan-sec-prof-V2]q
[AC1-wlan-view]traffic-profile name V3
[AC1-wlan-traffic-prof-V3]q

################创建VAP模板
[AC1-wlan-view]vap-profile name V
[AC1-wlan-vap-prof-V]forward-mode direct-forward                                                  //转发模式
[AC1-wlan-vap-prof-V]service-vlan vlan-id 1
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-V]ssid-profile V1
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-V]security-profile V2
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-V]q

#################配置AP组引用VAP模板
[AC1-wlan-view]ap-group name ap-group1                                                            //AP上射频0和射频1都使用VAP模板V的配置。 
[AC1-wlan-ap-group-ap-group1]vap-profile V wlan 1 radio 0
Info: This operation may take a few seconds, please wait...done.
[AC1-wlan-ap-group-ap-group1]vap-profile V wlan 1 radio 1
Info: This operation may take a few seconds, please wait...done.
[AC1-wlan-ap-group-ap-group1]q
[AC1-wlan-view]q
[AC1]q
<AC1>save all
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file has been saved successfully
  Note: The configuration file will take effect after being activated

相关标签: 无线技术