码迷,mamicode.com
首页 > 其他好文 > 详细

配置AP+AC

时间:2019-08-28 22:43:45      阅读:132      评论:0      收藏:0      [点我收藏+]

标签:run   code   trunk   默认   csharp   radio   server   bat   业务   

配置交换机:

[swich]vlan batch  100 101
[swich]interface g0/0/1
[Swith-GigabitEthernet0/0/1]description Link-to-AP
[Swith-GigabitEthernet0/0/1]port link-type trunk
[Swith-GigabitEthernet0/0/1] port trunk pvid vlan 100
[Swith-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 101
[Swith-GigabitEthernet0/0/1]quit


[swich]interface g0/0/2
[Swith-GigabitEthernet0/0/2]description Link-to-AC
[Swith-GigabitEthernet0/0/2]port link-type trunk
[Swith-GigabitEthernet0/0/2] port trunk allow-pass vlan 100 101
[Swith-GigabitEthernet0/0/2]quit

  

配置AC

1、配置接口信息和VLAN信息,AC为DHCP Server,为AP和Client分配地址
[AC]vlan bath 100 101
[AC]int g0/0/1
[AC-GigabitEthernet0/0/1]description Link-to-SW
[AC-GigabitEthernet0/0/1]port link-type trunk
[AC-GigabitEthernet0/0/1]port link-type trunk
[AC-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 101
[AC-GigabitEthernet0/0/1]quit

[AC]dhcp enable
[AC]interface vlanif 100
[AC-Vlanif100]description for-ap
[AC-Vlanif100] ip address 192.168.100.1 24
[AC-Vlanif100]dbcp select interface
[AC-Vlanif100]quit


[AC]interface vlanif 101
[AC-Vlanif101]description for-STA
[AC-Vlanif101] ip address 192.168.101.1 24
[AC-Vlanif101]dbcp select interface
[AC-Vlanif101]quit

  

2、配置AC WLAN基础配置
[AC]wlan ac-global ac id 1 carrier id other
[AC]wlan ac-global country-code CN
[AC]wlan
[AC_wlan-view]wlan ac source interface Vlanif 100
[AC_wlan-view]ap-auth-mode no-auth

3、配置AC WLAN业务参数
#创建wlan-ess接口
[AC]interface Wlan-Ess 0
[AC-Wlan-Ess0]port hybrid pvid vlan 101
[AC-Wlan-Ess0]port hybrid untagged vlan 101
[AC-Wlan-Ess0]quit

#创建WMM模板,采用默认参数
[AC-wlan-view]wmm-profile name wmm-profile-0
[AC-wlan-wmm-prof-wmm-profile-0]quit
#创建安全模板,采用默认参数
[AC-wlan-view]security-profile name security-profile-0
[AC-wlan-sec-prof-security-profile-0]quit
#创建流量模板,采用默认参数
[AC-wlan-view]traffic-profile name traffic-profile-0
[AC-wlan-traffic-prof-traffic-profile-0]quit
#创建服务集并绑定WLAN-ESS接口,安全模板和流量模板
[AC-wlan-view]service-set name service-set-0
[AC-wlan-service-set-service-set-0]ssid SSID-Tmp1
[AC-wlan-service-set-service-set-0]wlan-ess 0
[AC-wlan-service-set-service-set-0]service-vlan 101
[AC-wlan-service-set-service-set-0]security-profile name security-profile-0
[AC-wlan-service-set-service-set-0]traffic-profile name traffic-profile-0

#创建射频模板,并绑定WMM模板
[AC-wlan-view]radio-profile name radio-profile-0
[AC-wlan-radio-prof-radio-profile-0]wmm-profile name wmm-profile-0
[AC-wlan-radio-prof-radio-profile-0]quit
#配置VAP并下发
[AC-wlan-view]ap 0 radio 0
[AC-wlan-radio-0/0]radio-profile name radio-profile-0
[AC-wlan-radio-0/0]service-set name service-set-0
[AC-wlan-radio-0/0]quit
[AC-wlan-view]commit ap 0

配置结束.

  效果如下:

技术图片

 

配置AP+AC

标签:run   code   trunk   默认   csharp   radio   server   bat   业务   

原文地址:https://www.cnblogs.com/hanbinglengxie/p/11426730.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!