您好,登錄后才能下訂單哦!
【如果在實(shí)驗(yàn)中有什么疑問,歡迎關(guān)注微信公眾號(hào)“IT后院”給我留言,我會(huì)抽空回答你的問題】
華為無線-AC+AP小型無線網(wǎng)絡(luò)配置實(shí)驗(yàn)_v1
網(wǎng)絡(luò)結(jié)構(gòu)圖:
步驟一:配置網(wǎng)絡(luò)連通性
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
最終實(shí)現(xiàn)目標(biāo)與解釋:
交換機(jī)G0/0/2與G/0/0/1接口通過Vlan100 進(jìn)行連通,為了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
最終實(shí)現(xiàn)目標(biāo)與解釋:
AC的G/0/01接口與交換機(jī)的G/0/0/1接口通過Vlan100 進(jìn)行連通,為了AP與AC之間能通訊。
Vlan100接口做為管理網(wǎng)絡(luò)的DHCP,注意AC與AP通訊路過的接口都要打上 pvid vlan 100。
步驟二:配置AP上線到AC
AC:
wlan ac-global country-code cn(默認(rèn))
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(默認(rèn))
ap id 0 type-id 19 mac 00e0-fc2c-72f0
ap-sysname test-1
region-id 10
最終實(shí)現(xiàn)目標(biāo)與解釋:
在Wlan視圖下,指定AC的Vlan100接口作為AP上線通訊接口,創(chuàng)建一個(gè)AP組 ID為10,命名為test。
通過手動(dòng)mac方式添加AP, type-id 19為AP型號(hào)對(duì)應(yīng)的ID編號(hào),AP命名為test-1并加入相應(yīng)的組。
步驟三:放出Wifi信號(hào)
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
最終實(shí)現(xiàn)目標(biāo)與解釋:
為無線用戶提供一個(gè)DHCP服務(wù),使用Vlan101接口做DHCP。
創(chuàng)建一個(gè)虛擬二層接口Ess1,以普通物理二層接口功能差不多。
wlan
wmm-profile name wmm id 1
radio-profile name radio id 1
wmm-profile id 1
最終實(shí)現(xiàn)目標(biāo)與解釋:
wmm相當(dāng)于Qos,主要用于質(zhì)量控制,需要綁到射頻模板上使用。
創(chuàng)建一個(gè)射頻模板,某個(gè)射頻調(diào)用了它,該射頻就擁繼承模板上的參數(shù)。
traffic-profile name traffic id 1
security-profile name security id 1
最終實(shí)現(xiàn)目標(biāo)與解釋:
創(chuàng)建一個(gè)流量模樣和一個(gè)安全模板,可以不配置參數(shù),但必須創(chuàng)建并加到服務(wù)集中。
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
最終實(shí)現(xiàn)目標(biāo)與解釋:
創(chuàng)建一個(gè)服務(wù)集,用于射頻調(diào)用,里邊集成了各種剛剛創(chuàng)建的模板。
ap 0 radio 0
radio-profile id 1
service-set id 1 wlan 1
最終實(shí)現(xiàn)目標(biāo)與解釋:
在AP 0上的0=2.4G射頻上調(diào)用射頻模板與服務(wù)集。
commit ap 0
最終實(shí)現(xiàn)目標(biāo)與解釋:
最后在Wlan視圖下提交AP的配置才會(huì)放出Wifi信號(hào)。
步驟四:讓用戶訪問互聯(lián)網(wǎng)
網(wǎng)絡(luò)結(jié)構(gòu)圖:
????????由于無線用戶是通過AC上的Vlan101接口的DHCP獲取IP地址,所以網(wǎng)關(guān)為Vlan101的地址(192.168.101.1),由于訪問其它網(wǎng)段需要路由,建議使用動(dòng)態(tài)路由協(xié)議OSPF。
????????在AR、SW、AC之間建立一個(gè)OSPF-AREA,并公布相關(guān)網(wǎng)段。本文不作OSPF研究,如需要了解OSPF配置知識(shí),后續(xù)會(huì)出相關(guān)文章。
--END
允許轉(zhuǎn)載,但必須注明出版處與原文鏈接,否則追究其法律責(zé)任,謝謝合作!
(原文博客:https://blog.51cto.com/11179786)
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。