1. 程式人生 > >FAT AP上行鏈路完整性檢測功能

FAT AP上行鏈路完整性檢測功能

[WA2620i-AGN]vlan 2
[WA2620i-AGN-vlan2]ip add 192.168.45.51 24(該錯誤是因為沒有在inter vlan 2 介面下 配置ip)
                   ^
 % Unrecognized command found at '^' position.

[WA2620i-AGN-vlan2]inter vlan 2           
[WA2620i-AGN-Vlan-interface2]ip add 192.168.45.51 24
[WA2620i-AGN-Vlan-interface2]quit

建立無線虛擬介面,並設定無線終端從此無線虛擬介面接入時屬於VLAN 2
[WA2620i-AGN]inter WLAN-BSS 2

建立無線服務模板,採用開放系統驗證(Open-system),定義SSID為H3C
[WA2620i-AGN]wlan service-template 2 clear 
[WA2620i-AGN-wlan-st-2]ssid lyy
[WA2620i-AGN-wlan-st-2]authentication-method open-system 
[WA2620i-AGN-wlan-st-2]service-template enable 
 Please wait... Done.
[WA2620i-AGN-wlan-st-2]quit


建立無線射頻介面,繫結無線虛擬介面和服務模板
[WA2620i-AGN]inter WLAN-Radio 1/0/2
[WA2620i-AGN-WLAN-Radio1/0/2]radio-type dot11g
[WA2620i-AGN-WLAN-Radio1/0/2]service-template 2 inte WLAN-BSS 2
[WA2620i-AGN-WLAN-Radio1/0/2]quit

在AP的上行鏈路開啟完整性測試功能並驗證
[WA2620i-AGN]wlan uplink-interface 

使用STA連線SSID,並在AP上檢視客戶端列表。
[WA2620i-AGN]disp wlan client
 Total Number of Clients           : 1
                              Client Information
 SSID: lyy
--------------------------------------------------------------------------------
MAC Address    User Name            APID/RID IP Address                     VLAN
--------------------------------------------------------------------------------
74ac-5fe9-bd6a -NA-                 1   /2   0.0.0.0                        1
--------------------------------------------------------------------------------

使用命令關閉AP的上行介面
此時AP上會有uplink-interface相關的提示資訊,

[WA2620i-AGN]inter g1/0/1
[WA2620i-AGN-GigabitEthernet1/0/1]shutdown
[WA2620i-AGN-GigabitEthernet1/0/1](此時AP上會有uplink-interface相關的提示資訊)
%Apr 20 19:38:09:234 2012 WA2620i-AGN IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/1 link status is DOWN.
%Apr 20 19:38:09:235 2012 WA2620i-AGN IFNET/3/LINK_UPDOWN: Vlan-interface1 link status is DOWN.
%Apr 20 19:38:09:235 2012 WA2620i-AGN IFNET/5/LINEPROTO_UPDOWN: Line protocol on the interface Vlan-interface1 is DOWN.
%Apr 20 19:38:10:737 2012 WA2620i-AGN WMAC/3/WMAC_ALL_UPLINK_INTERFACE_DOWN:  WLAN service is disabled because all uplink interfaces are down.
[WA2620i-AGN-GigabitEthernet1/0/1]quit

再次在AP上檢視客戶端列表。
[WA2620i-AGN]disp wlan client
 Info: Clients do not exist.

用STA搜尋你的SSID,看能否找到。(搜不到)
重新開啟interface G 1/0/1,再次搜尋。
[WA2620i-AGN]inter g1/0/1    
[WA2620i-AGN-GigabitEthernet1/0/1]undo shutdown 
[WA2620i-AGN-GigabitEthernet1/0/1]
%Apr 20 19:39:54:422 2012 WA2620i-AGN IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/1 link status is UP.
%Apr 20 19:39:54:427 2012 WA2620i-AGN IFNET/3/LINK_UPDOWN: Vlan-interface1 link status is UP.
%Apr 20 19:39:54:427 2012 WA2620i-AGN IFNET/5/LINEPROTO_UPDOWN: Line protocol on the interface Vlan-interface1 is UP.
%Apr 20 19:40:30:186 2012 WA2620i-AGN WMAC/6/WMAC_CHANNEL_CHANGE:  Channel change for APID 1, RadioId 2 from channel 0 to channel 1.
%Apr 20 19:40:33:980 2012 WA2620i-AGN WMAC/6/WMAC_CLIENT_JOIN_WLAN:  Client 74ac-5fe9-bd6a successfully joins WLAN lyy, on APID 1 with BSSID 0cda-4125-e891.
%Apr 20 19:40:33:980 2012 WA2620i-AGN IFNET/3/LINK_UPDOWN: WLAN-BSS2 link status is UP.
[WA2620i-AGN-GigabitEthernet1/0/1]quit

用STA搜尋你的SSID嘗試連線。重新在AP上檢視客戶端列表。
[WA2620i-AGN]disp wlan client
 Total Number of Clients           : 1
                              Client Information
 SSID: lyy
--------------------------------------------------------------------------------
MAC Address    User Name            APID/RID IP Address                     VLAN
--------------------------------------------------------------------------------
74ac-5fe9-bd6a -NA-                 1   /2   0.0.0.0                        1
--------------------------------------------------------------------------------