AC AP 配置

本文详细介绍了华为AC和AP的基本配置步骤,包括Switch和AC的VLAN、接口、DHCP配置,以及WLAN的ESS、服务集、安全、流量模板等设置,确保AP能正常上线并提供无线服务。
部署运行你感兴趣的模型镜像

华为AC AP基本配置

  (2016-07-29 08:42:54)
  

 华为AC <wbr>AP基本配置


配置Switch 

[Switch]vlan batch 100 101               //管理Vlan100  业务vlan101

 [Switch]interface GigabitEthernet0/0/1  

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

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

//给接AP的端口打上管理vlan100PVID

[Switch-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 101 

 [Switch-GigabitEthernet0/0/1]quit  

[Switch]interface GigabitEthernet0/0/2  

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

[Switch-GigabitEthernet0/0/2]port trunk allow-pass vlan 100 101 

 [Switch-GigabitEthernet0/0/2]quit

配置AC 

1. 配置接口和VLAN信息,ACDHCP Server,为APclient分配地址

 [AC]vlan batch 100 101  

[AC]interface GigabitEthernet0/0/1  

 [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             //配置管理vlan100IP地址 并且开启DHCP

[AC -Vlanif100]description for-ap 

[AC -Vlanif100]ip address 192.168.100.1 24 

[AC -Vlanif100]dhcp select interface 

[AC-Vlanif100]quit  

[AC]interface vlanif 101               //配置业务vlan101IP地址 并且开启DHCP

[AC -Vlanif101]description for-STA 

[AC -Vlanif101]ip address 192.168.101.1 24 

[AC -Vlanif101]dhcp select interface 

[ACVlanif101]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

 //  配置AP的管理VLAN,从哪个VLAN下拿地址

 [AC-wlan-view]ap-auth-mode no-auth   // AP上线模式改为不认证

此配置做完后在全局查询AP    display ap all   查看AP是否上线

ap id 0 type-id 38 mac 0006-f468-91a0 sn 21500821798W47001474  AP上线后会自动生成)

3.配置AC WLAN 业务参数 #创建wlan-ess接口    

[AC]interface Wlan-Ess 1     //之后会与下面 service-set(服务集)绑定

[AC-Wlan-Ess0]port hybrid pvid vlan 101    //打上业务vlan101PVID

[AC-Wlan-Ess0]port hybrid untagged vlan 101     //打上业务vlan101PVID

[AC-Wlan-Ess0]quit

#创建WMM模板,采用默认参数 

[AC-wlan-view]wmm-profile name wmm-profile-0 

 [AC -wlan-wmm-prof-wmm-profile-0]quit   

 //之后会与下面 radio-profile(射频)模板绑定

#创建安全模板,采用默认参数 

[AC-wlan-view]security-profile name security-profile-0

 [AC-wlan-sec-prof-security-profile-0]quit /之后会与下面service-set(服务集)绑定

{如果需要为无线设置密码则:

security-policy wpa-wpa2       设置无线的加密方式

  wpa-wpa2 authentication-method psk pass-phrase cipher 12344321  encryption-method tkip-ccmp      设置加密算法,密码,密文处为密码}

#创建流量模板,采用默认参数 

[AC-wlan-view]traffic-profile name traffic-profile-0 

[AC-wlan-traffic-prof-traffic-profile-0]quit  //之后会与下面 service-set(服务集)绑定

#创建服务集并绑定WLAN-ESS接口、安全模板和流量模板 

[AC-wlan-view]service-set name service-set-0 

[AC-wlan-service-set-service-set-0]ssid SSID-Temp1 

[AC-wlan-service-set-service-set-0]wlan-ess 1

[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

您可能感兴趣的与本文相关的镜像

ACE-Step

ACE-Step

音乐合成
ACE-Step

ACE-Step是由中国团队阶跃星辰(StepFun)与ACE Studio联手打造的开源音乐生成模型。 它拥有3.5B参数量,支持快速高质量生成、强可控性和易于拓展的特点。 最厉害的是,它可以生成多种语言的歌曲,包括但不限于中文、英文、日文等19种语言

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

wsasy12345

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值