Collecting Information
User Status
[HUAWEI] display access-user mac-address xxxx-xxxx-xxxx
trace and station-trace
Collect trace information on an AC to reproduce the problems. The STA authentication process is displayed.
[HUAWEI] trace object mac-address xxxx-xxxx-xxxx [HUAWEI] trace object ip-address xx.xx.xx.xx [HUAWEI] trace enable
Collect station-trace information on the AC and reproduce the problems. The authentication packets sent and received on APs are displayed.
[HUAWEI-diagnose] station-trace sta-mac xxxx-xxxx-xxxx
When the collection is complete, disable the station-trace function.
[HUAWEI] undo trace object mac-address xxxx-xxxx-xxxx [HUAWEI] undo trace object ip-address xx.xx.xx.xx [HUAWEI] undo trace enable [HUAWEI-diagnose] undo station-trace sta-mac xxxx-xxxx-xxxx
Reasons for STAs Go Online and Offline
- Run the following commands on the AAA server:
[HUAWEI] display aaa online-fail-record mac-address xxxx-xxxx-xxxx [HUAWEI] display aaa abnormal-offline-record mac-address xxxx-xxxx-xxxx [HUAWEI] display aaa offline-record mac-address xxxx-xxxx-xxxx
- Run the following commands on the WLAN side:
[HUAWEI-diagnose] display station online-fail-record sta-mac xxxx-xxxx-xxxx [HUAWEI-diagnose] display station offline-record sta-mac xxxx-xxxx-xxxx
Protocol Trace
[HUAWEI-diagnose] display aaa abnormal-radius-track mac xxxx-xxxx-xxxx
Logs
- AAA going-online logs (recorded in AC logs)
%%01CM/5/USER_ACCESSRESULT(s)[395622]:[WLAN_STA_INFO_AUTHENTICATION]ACMAC:xx-xx-xx-xx-xx-xx;ACNAME:xxx;APMAC:xx-xx-xx-xx-xx-xx;APNAME:xxx;SSID:xxx;RADIOID:1;USER:xxx;MAC:xx-xx-xx-xx-xx-xx;IPADDRESS:-;TIME:1608639482;ZONE:UTC+0300;DAYLIGHT:false;ERRCODE:4294967295;RESULT:Open;USERGROUP:NULL;CIB ID:10192;INTERFACE:Wlan-Dbss18108;ACCESS TYPE:None;RDSIP:-;Portal TYPE:-;AUTHID=866625466;AuthFailType:MAC;AUTHPROTOCOL:PAP;
- AAA going-offline logs (recorded in AC logs)
%%01CM/5/USER_OFFLINERESULT(s)[395621]:[WLAN_STA_INFO_OFFLINE]ACMAC:xx-xx-xx-xx-xx-xx;ACNAME:xxx;APMAC:xx-xx-xx-xx-xx-xx;APNAME:xxx;SSID:xxx;RADIOID:1;USER:xxx;MAC:xx-xx-xx-xx-xx-xx;IPADDRESS:-;TIME:1608639482;ZONE:UTC+0300;DAYLIGHT:false;SESSIONTIME:2;ERRCODE:208;RESULT:Authentication during association failed;USERGROUP:NULL;AUTHENPLACE:None;EXTENDINFO:The signal strength of the STA is -43 dbm.;CIB ID:11430;INTERFACE:Wlan-Dbss18108;ACCESS TYPE:None;RDSIP:-;Portal TYPE:-;AUTHID=1837558961;AUTHPROTOCOL:-;
- 802.1X high-precision logs on an AP (recorded in the AP logs)
%%01WSRV/6/STA_EVENT_DOT1X_PROC(l)[294062]:dot1x authentication procedure(ApMac=xx-xx-xx-xx-xx-xx,UserMac=xx-xx-xx-xx-xx-xx,Identify=xxx,RadioId=1,Band=2,VapId=20,SSID=xxx,Result=Fail,Msg=ae 5 17;se 0 19;se 38 26;ae 6 47;se 166 49;ae 1012 77;se 6 104;ae 1008 121;se 6 122;ae 10 154;se 136 162;ae 57 219;se 6 229;ae 36 246;se 69 248;ae 69 269;se 123 272;ae 82 293;se 37 294;ae 46 314;se 46 315;ae 4
- STA association and disassociation logs on an AP
One-Click Diagnosis Information
[HUAWEI] display diagnostic-information