FAQ - How to check or record the authentication result history of an access user on a switch?

Publication Date:  2017-05-31 Views:  527 Downloads:  0
Issue Description

The CM module of the switch generates the CM/5/USER_ACCESSRESULT and CM/5/USER_OFFLINERESULT logs to record information about the user authentication access result or status of an access user. The logs in question have a severity level of 5(notification level) and are not outputted in the log buffer by default, hence the logs cannot be viewed with the display logbuffer command (even though they are saved in the logfile). By default only the logs with a severity level of 4 (warning or higher) are outputted in the logbuffer. 

Solution

To send logs higher than the notification level for the CM module to the logbuffer we can adjust the info center configuration by using the “ info-center source CM channel logbuffer log state on level notification “ command in the system view of the switch. After the command is added on the switch, the CM logs can be viewed locally on the device by running the display logbuffer command.

LOG :


wired user


CM/5/USER_ACCESSRESULT:[USER_INFO_AUTHENTICATION]DEVICEMAC:[CHAR1];DEVICENAME:[STRING1];USER:[STRING2];MAC:[CHAR2];IPADDRESS:[IPADDRESS1];TIME:[STRING3];ZONE:[STRING4];DAYLIGHT:false;ERRCODE:[STRING5];RESULT:[STRING6];UclGroupName:[STRING7];UclGroupId:[STRING8];AUTHENPLACE:[STRING8];

wireless user


CM/5/USER_ACCESSRESULT:[WLAN_STA_INFO_AUTHENTICATION]ACMAC:[CHAR1];ACNAME:[STRING1];APMAC:[CHAR2];APNAME:[STRING2];USER:[STRING3];MAC:[CHAR3];IPADDRESS:[IPADDRESS1];TIME:[STRING4];ZONE:[STRING5];DAYLIGHT:false;ERRCODE:[STRING6];RESULT:[STRING7];UclGroupName:[STRING8];UclGroupId:[STRING9];AUTHENPLACE:[STRING10];


wired user


CM/5/USER_OFFLINERESULT:[USER_INFO_OFFLINE]DEVICEMAC:[CHAR1];DEVICENAME:[STRING1];USER:[STRING2];MAC:[CHAR2];IPADDRESS:[IPADDRESS1];TIME:[STRING3];ZONE:[STRING4];DAYLIGHT:false;ERRCODE:[STRING5];RESULT:[STRING6];UclGroupName:[STRING7];UclGroupId:[STRING8];AUTHENPLACE:[STRING8];

wireless user


CM/5/USER_OFFLINERESULT:[WLAN_STA_INFO_OFFLINE]ACMAC:[CHAR1];ACNAME:[STRING1];APMAC:[CHAR2];APNAME:[STRING2];USER:[STRING3];MAC:[CHAR3];IPADDRESS:[IPADDRESS1];TIME:[STRING4];ZONE:[STRING5];DAYLIGHT:false;ERRCODE:[STRING6];RESULT:[STRING7];UclGroupName:[STRING8];UclGroupId:[STRING9];AUTHENPLACE:[STRING10];

END