【華爲】華爲模擬器 huawei ensp 無線網路配置模擬

【華爲】華爲模擬器 huawei ensp 無線網路配置模擬

【華爲】華爲模擬器 huawei ensp 無線網路配置模擬

LSW2:
system-view
int G0/0/1
port link-type trunk
port trunk pvid 100
port trunk allow-pass vlan 100 101
quit
int G0/0/2
port link-type trunk
port trunk pvid 100
port trunk allow-pass vlan 100 102
quit
int G0/0/3
port link-type trunk
port trunk allow-pass vlan 100 to 102
quit
LSW1:
int G0/0/2
port link-type trunk
port trunk allow-pass vlan 100 to 102

int G0/0/3
port link-type trunk
port trunk allow-pass vlan 100 to 102
AC端口基本配置
system-view
vlan batch 100 to 102
int G0/0/1
port link-type trunk
port trunk allow-pass vlan 100 to 102
quit
配置AC基本功能
[AC]WLAN ac-global ac id 1 carrier other
[AC]WLAN ac-global country-code TW
配置DHCP功能和VLANIF接口
[AC] dhcp enable
int vlanif 100
ip addr 10.1.100.1 24
dhcp select interface
int vlanif 101
ip addr 10.1.101.1 24
dhcp select interface
int vlanif 102
ip addr 10.1.102.1 24
dhcp select interface
interface WLAN-ESS0
port hybrid untagged vlan 101
interface WLAN-ESS1
port hybrid untagged vlan 102
指定AC的源IP地址,使該AC下接入AP獲得該AC地址都是指定的AC源IP地址
[AC]wlan (進入wlan view)
[AC-WLAN-view]WLAN ac source interface vlanif 100
配置AC與AP互通
[AC-WLAN-view]ap-region id 101
[AC-WLAN-view]ap-region id 102
[AC-WLAN-view]ap-auth mode no-auth
ap id 0 type-id 19 mac xxxx-xxxx-xxxx sn xxxxxxxxxxx   (看AP的值)
region-id 101
ap id 1 type-id 19 mac xxxx-xxxx-xxxx sn xxxxxxxxxxx   (看AP的值)
region-id 102
建立WMM模板
[AC]WLAN
[AC-WLAN-view]wmm-profile name wmm-1
quit

建立射頻模板
[AC-WLAN-view]radio-profile name radio-1 
wmm-profile name wmm-1
quit

綁定AP的射頻
ap 0 radio 0   (0: 2.4GHZ   1: 5GHZ)
radio-profile name radio-1
quit
ap 1 radio 0 
radio-profile name radio-1
配置AP的服務集
1) 建立安全模板
[AC-WLAN-view] security-profile name security-1 id 1
wep authentication-method open-system
security-policy wep
quit

2)建立流量模板
[AC-WLAN-view]traffic-profile name traffic-1
quit

3)建立服務集
[AC-wlan-view]service-set name huawei-1
ssid huawei-1
traffic-profile name traffic-1
security-profile name security-1
WLAN-ess 0
service vlan 101
[AC-wlan-view]service-set name huawei-2
ssid huawei-2
traffic-profile name traffic-1
security-profile name security-1
WLAN-ess 1
service vlan 102
quit 
forward-mode direct-forward
配置VAP
[AC-WLAN-view]ap 0 radio 0 
service-set name huawei-1

[AC-WLAN-view]ap 1 radio 0 
service-set name huawei-2

quit

[AC-WLAN-view]commit ap 0 
[AC-WLAN-view]commit ap 1

專案下載:
https://drive.google.com/open?id=19gmH3ExfqEg9bRRstOLBouZ67ciZ8vwD安全

下載下來後,由於網卡的部分必需要從新設置: ide

[AC-6605-wlan-view]
undo ap-auth-mode
undo ap id 0
undo ap id 1
ap-auth-mode no-auth
等一陣子,在通信事後,會找到ap0、ap1 的資訊 (MAC,SN)
**要特別注意哪個是ap0 ,哪個是ap1(比對MAC)

ap-region id 102
ap id 0
ap-region id 101
ap id 1
ap 0 radio 0
radio-profile name radio-1
ap 1 radio 0
radio-profile name radio-1
ap 0 radio 0 
service-set name huawei-2
ap 1 radio 0
service-set name huawei-1
quit
commit ap 0
commit ap 1
(注意,在迴應y的時候,要大寫Y)

~若文章中有寫錯或沒法執行,麻煩請你們發私訊給我,互相交流~ui

相關文章
相關標籤/搜索