您好,登錄后才能下訂單哦!
路由器的基本配置
[Huawei]interface GigabitEthernet 0/0/2
[Huawei-GigabitEthernet0/0/2]ip address 11.0.0.1 30
[Huawei]int LoopBack 1
[Huawei-LoopBack1]ip add 1.1.1.1 30
AC的配置
規劃vlan :vlan 102 為上行和路由器接口vlan ,vlan100為AC管理vlan ,vlan101為AP下發業務vlan.
[AC6605]vlan batch 100 101 102
[AC6605]dhcp enable
[AC6605]int vlan 100
[AC6605-Vlanif100]ip address 192.168.100.1 24
[AC6605-Vlanif100]dhcp select interface
[AC6605]int vlan 101
[AC6605-Vlanif101]ip add 192.168.101.1 24
[AC6605-Vlanif101]dhcp select interface
[AC6605-Vlanif101]dhcp server dns-list 8.8.8.8
[AC6605]int vlan 102
[AC6605-Vlanif102]ip address 11.0.0.2 30
[AC6605]ip route 0.0.0.0 0 11.0.0.1
[AC6605-GigabitEthernet0/0/2]port hybrid pvid vlan 102
[AC6605-GigabitEthernet0/0/2]port hybrid untagged vlan 102
配置AC的wlan功能
[AC6605]wlan ac-global carrier id cmcc ac id 1 AC編號為1、運營商為cmcc
[AC6605]wlan
[AC6605-wlan-view]ac sysnetid ac01 網元名稱為ac01
[AC6605-wlan-view]wlan ac source interface vlan 100 用管理vlan100
por為下面AP建立隧道
[AC6605]interface GigabitEthernet 0/0/1
[AC6605-GigabitEthernet0/0/1]port link-type trunk
[AC6605-GigabitEthernet0/0/1]port trunk pvid vlan 100
[AC6605-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 101
配置AP上線
[AC6605]wlan
[AC6605-wlan-view]ap-auth-mode mac-auth 用AP的MAC認證
[AC6605-wlan-view]ap id 1 type-id 19 mac 00e0-fc7a-39a0 輸入ap的MAC地址
配置區域
[AC6605-wlan-view]ap-region id 1 相當建立個區域編號為1 ,也可以任意定義
[AC6605-wlan-ap-r]ap id 1 把第一臺AP加入
[AC6605-wlan-ap-1]region-id 1 實行加入區域1
配置wmm模版
[AC6605-wlan-view]wmm-profile id 1 name wmm 配置wmm模版名字為wmm
[AC6605-wlan-view]radio-profile id 1 name radio 配置射頻模版名字為radio
[AC6605-wlan-view]security-profile id 1 name secu 配置安全模版名字為secu
security-policy wep
wep authentication-method share-key 在安全模版下調用密碼, 這個可選。
wep key wep-40 pass-phrase 0 cipher xxxxx
[AC6605-wlan-view]traffic-profile id 1 name tarff 配置流量模版名字為tarff
[AC6605-wlan-view]radio-profile id 1 進入射頻模版
[AC6605-wlan-radio-prof-radio]wmm-profile id 1
創建服務集
[AC6605]int Wlan-Ess 1
[AC6605-Wlan-Ess1]port hybrid pvid vlan 101
[AC6605-Wlan-Ess1]port hybrid untagged vlan 101
[AC6605]wlan
[AC6605-wlan-view]service-set id 1 name s01
[AC6605-wlan-service-set-s01]wlan-ess 1
[AC6605-wlan-service-set-s01]traffic-profile id 1
[AC6605-wlan-service-set-s01]security-profile id 1
[AC6605-wlan-service-set-s01]ssid huawei
[AC6605-wlan-service-set-s01]service-vlan 101
建立虛擬ap
[AC6605-wlan-view]ap 1 radio 0 radio 0意思是工作頻率2.4GH 如果是radio 1 工作頻率是5GH
[AC6605-wlan-radio-1/0]radio-profile id 1 服務集推給AP
[AC6605-wlan-radio-1/0]service-set id 1 綁定射頻模版
[AC6605-wlan-view]commit ap 1 下發給AP1 ,此命令是必不可少
可選:配置同一個網段中,不能互訪ping
[AC6605-wlan-view]service-set id 1 1表示某個AP的編號。
[AC6605-wlan-service-set-s01]user-isolate 拒絕互訪
[AC6605-wlan-view]commit ap 1 最后要記得應用到AP才能生效。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。