華為無線-小型無線網絡基本配置實驗_v1
允許轉載,但必須註明出版處與原文鏈接,否則追究其法律責任,謝謝合作!
華為無線-小型無線網絡基本配置實驗_v1
網絡結構圖:
步驟一:配置網絡連通性
SW:
interface Vlanif100
ip address 192.168.0.1 255.255.255.0
interface GigabitEthernet0/0/1
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 2 to 4094
interface GigabitEthernet0/0/2
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 2 to 4094
最終實現目標與解釋:
交換機G0/0/2與G/0/0/1接口通過Vlan100 進行連通,為了AP與AC之間能通訊。
AC:
interface Vlanif100
ip address 192.168.0.2 255.255.255.0
dhcp select interface
interface GigabitEthernet0/0/1
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 2 to 4094
最終實現目標與解釋:
AC的G/0/01接口與交換機的G/0/0/1接口通過Vlan100 進行連通,為了AP與AC之間能通訊。
Vlan100接口做為管理網絡的DHCP,註意AC與AP通訊路過的接口都要打上 pvid vlan 100。
步驟二:配置AP上線到AC
AC:
wlan ac-global country-code cn(默認)
wlan ac-global carrier id other ac id 1
wlan
wlan ac source interface vlanif100
ap-region id 10
ap-region-name test
ap-auth-mode mac-auth(默認)
ap id 0 type-id 19 mac 00e0-fc2c-72f0
ap-sysname test-1
region-id 10
最終實現目標與解釋:
在Wlan視圖下,指定AC的Vlan100接口作為AP上線通訊接口,創建一個AP組 ID為10,命名為test。
通過手動mac方式添加AP, type-id 19為AP型號對應的ID編號,AP命名為test-1並加入相應的組。
步驟三:放出Wifi信號
interface Vlanif101
ip address 192.168.101.1 255.255.255.0
dhcp select interface
interface Wlan-Ess1
port hybrid pvid vlan 101
port hybrid untagged vlan 101
最終實現目標與解釋:
為無線用戶提供一個DHCP服務,使用Vlan101接口做DHCP。
創建一個虛擬二層接口Ess1,以普通物理二層接口功能差不多。
wlan
wmm-profile name wmm id 1
radio-profile name radio id 1
wmm-profile id 1
最終實現目標與解釋:
wmm相當於Qos,主要用於質量控制,需要綁到射頻模板上使用。
創建一個射頻模板,某個射頻調用了它,該射頻就擁繼承模板上的參數。
traffic-profile name traffic id 1
security-profile name security id 1
最終實現目標與解釋:
創建一個流量模樣和一個安全模板,可以不配置參數,但必須創建並加到服務集中。
wlan
service-set name test id 1
forward-mode tunnel
ssid test-xcw
wlan-ess 1
service-vlan 101
traffic-profile id 1
security-profile id 1
最終實現目標與解釋:
創建一個服務集,用於射頻調用,裏邊集成了各種剛剛創建的模板。
ap 0 radio 0
radio-profile id 1
service-set id 1 wlan 1
最終實現目標與解釋:
在AP 0上的0=2.4G射頻上調用射頻模板與服務集。
commit ap 0
最終實現目標與解釋:
最後在Wlan視圖下提交AP的配置才會放出Wifi信號。
步驟四:讓用戶訪問互聯網
網絡結構圖:
由於無線用戶是通過AC上的Vlan101接口的DHCP獲取IP地址,所以網關為Vlan101的地址(192.168.101.1),由於訪問其它網段需要路由,建議使用動態路由協議OSPF。
在AR、SW、AC之間建立一個OSPF-AREA,並公布相關網段。本文不作OSPF研究,如需要了解OSPF配置知識,後續會出相關文章。
--END
本文出自 “11169786” 博客,請務必保留此出處http://11179786.blog.51cto.com/11169786/1983525
華為無線-小型無線網絡基本配置實驗_v1