华为 AC6005+华为AP5010 CN-AGN 旁挂式连接

配置分析

#
System-view
#
Sysname AC
#
vlan batch 2 6 \创建wlan 管理2 业务6
#
interfaceGigabitEthernet0/0/7 \汇聚层连接端口并透传
port link-type trunk
port trunk allow-pass vlan 2 6
quit
#
dhcp enable \开启dhcp
#
interface Vlanif2 \配置wlan管理vlan 并开启端口dhcp
ip address 10.10.2.254 255.255.255.0
dhcp select interface
#
interface Vlanif6 \配置wlan业务vlan 并开启端口dhcp
ip address 10.10.6.254 255.255.255.0
dhcp select interface
#
wlan ac-global country-code cn \配置国家码
#
wlan ac-global ac id 1 carrier id other \配置AC ID、运营商标识
#
wlan
wlan ac source interface vlanif 2 \配置AC的源vlan
#
ap-auth-mode mac-auth \配置AP的认证方式为MAC认证
#
display ap-type all 查询AP的设备类型
#
ap id 1 type-id 30 mac 3400-a304-0b00 \AP ID+AP类型+MAC地址
#
ap-region id 6 \创建域并将AP加入域
quit
ap id 1
region-id 6
#
interface Wlan-Ess0 \创建wlan虚接口并添加业务vlan
porthybrid pvid vlan 6
port hybrid untagged vlan 6
#
wlan \配置WMM模板、射频模板(默认)并相互绑定
wmm-profile name wlan
radio-profilename wlan
wmm-profile name wlan
#
security-profile name wlan \配置安全模板、wep认证、共享密钥
security-profile wep
wep authentication-method share-key
wep key wep-40 pass-phrase 0 cipher 12345
#
traffic-profile name \配置流量模板
#
service-set name wlan \配置数据转发模式为隧道及服务模板
ssid wlan
wlan-ess 0
service-vlan 6
security-profile name wlan
traffic-profile name wlan
forward-mode tunnel
#
ap 1 radio 0 \配置AP对应的VAP并下发配置
radio-profile name wlan
service name wlan
quit
commit ap 1

华为设备信道默认为自动调优

猜你喜欢

转载自blog.51cto.com/jiafm/2299860