華為 AC6005+華為AP5010 CN-AGN 旁掛式連接
阿新 • • 發佈:2018-10-15
流量 管理vlan code cipher file pro link oba commit 配置分析
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
#
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
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認證、共享密鑰
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
華為設備信道默認為自動調優
華為 AC6005+華為AP5010 CN-AGN 旁掛式連接