下列網址是個國外工程師的分享!! 有很不錯的指令可讓新的工程師加速學習Unified Wireless 學習
重點是範例說明,不只是指令說明,其中還有範例解說,如何檢查設定與確認設定資訊
一旦AP 備控制器納管後, 如果想要改名 是不是只有一種方法 刪除AP在重新納管呢?
有個指令很好用
[wifi-830-ac1] wlan rename-ap 4431-92ae-d9a0 be-ant-ap01
請參考!! 網頁中有更詳細說明!!
啟用AP Telnet 功能 確定AP設定相關資訊 是否由控制器派送
http://abouthpnetworking.com/2014/10/09/unified-wireless-ap-consoletelnet-access/#more-837
[wifi-830-ac1] _hidecmd #隱藏指令
Now you enter a hidden command view for developer's testing, some commands may
affect operation by wrong use, please carefully use it with our engineer's
direction.
[wifi-830-ac1-hidecmd] wlan ap-execute be-ant-ap01 exec-control enable
[wifi-830-ac1-hidecmd] wlan ap-execute be-ant-ap01 telnet enable
[wifi-830-ac1-hidecmd] quit
[wifi-830-ac1] quit
檢查AP 使用IP位置資訊
<wifi-830-ac1> display wlan ap all address
Total Number of APs configured : 2
Total Number of configured APs connected : 2
Total Number of auto APs connected : 0
Total Number of APs connected : 2
Maximum AP capacity : 12
Remaining AP capacity : 10
AP Address
-------------------------------------------------------------------------------
AP Name IP Address MAC Address
-------------------------------------------------------------------------------
be-ant-ap01 10.0.3.10 4431-92ae-d9a0
be-ant-ap02 10.0.3.11 4431-92ae-d9c0
-------------------------------------------------------------------------------
Telnet 到AP上面,Telent 到AP上後 整個操作介面 基本上跟 Comware 系統相同!!
<wifi-830-ac1> telnet 10.0.3.10
Trying 10.0.3.10 ...
Press CTRL+K to abort
Connected to 10.0.3.10 ...
******************************************************************************
* Copyright (c) 2010-2014 Hewlett-Packard Development Company, L.P. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
<be-ant-ap01>
<be-ant-ap01>
通常在大型的無線網路架構中 會啟用這樣的功能,在於一個VLAN上無法滿足使用者對於人數的需要,並且可以降低L2互相干擾 的情況。
VLAN-Pool feature
This is a sample configuration for an education topology with 2 campus locations, which takes advantage of the new vlan-pool feature on an AP group. (vlan-pool was already supported, but had to be set per AP).
The example assumes:
vlan 20 to 39 # enable auto-ap and auto-persistent # avoids having to manually create an AP template/serial auto wlan auto-ap enable wlan auto-persistent enable # enable AP and AC arp/dhcp based client IP learning wlan client learn-ipaddr enable # create virtual Layer2 interface interface WLAN-ESS21 port link-type hybrid undo port hybrid vlan 1 port hybrid vlan 20 untagged port hybrid pvid vlan 20 # make a wireless template wlan service-template 21 clear ssid Students bind WLAN-ESS 21 service-template enable # define vlan pools wlan vlan-pool StudentsA vlan-id 21 to 29 wlan vlan-pool StudentsB vlan-id 31 to 39 # define ap-groups, use if-match to auto-add APs # activate the service template and bind it to a vlan pool wlan ap-group CampusA if-match ip 10.1.20.0 255.255.254.0 dot11a service-template 21 vlan-pool StudentsA dot11bg service-template 21 vlan-pool StudentsA wlan ap-group CampusB if-match ip 10.1.30.0 255.255.254.0 dot11a service-template 21 vlan-pool StudentsB dot11bg service-template 21 vlan-pool StudentsB
定時開啟與關閉SSID ..使用JOB 命令
# Define the virtual L2 interface
interface WLAN-ESS10
description v10-guest
port link-type access
port access vlan 10
# Define the WLAN Service Template, bind it to the virtual L2 interface and enable it:
wlan service-template 10 clear
ssid guest
bind WLAN-ESS 10
service-template enable
#
Next the WLAN Service Template must be bound to an AP Radio, this is not part of the article.
Comware Job Scheduler
Comware devices have a local job scheduler, which can be used for ad-hoc jobs or to have jobs saved in the configuration file (these will remain scheduled after a reload)
A Job has 2 parameters:
When a command must be executed in user-view, the view is called monitor.
Combining the Scheduler with the WLAN configuration
In this example, we need to be in the system-view, but not just the global configuration, but the WLAN Service Template. To figure out how the view is called, you need to enter the context in the CLI and see how it is displayed in the prompt:
[wifi-uni-ac]wlan service-template 10
[wifi-uni-ac-wlan-st-10]
So the CLI prompt shows that the view is called wlan-st-10, so this is what needs to be used in the job object.
This job will disable the SSID at 19.00 every weekday.
job wifi10-disable
view wlan-st-10
time 1 repeating at 19:00 week-day Mon Tue Wed Thu Fri command service-template disable
And this job will enable the SSID at 7.00 every weekday:
job wifi10-enable
view wlan-st-10
time 1 repeating at 07:00 week-day Mon Tue Wed Thu Fri command service-template enable
The name of the jobs wifi10-disable and wifi10-enable can be defined by the admin.