Administrator Guide

Switch Management Commands 2170
<189> DEC 20 20:45:20 10.130.182.151-1 TRAPMGR[249300304]: traputil.c(657) 6
%% Failed User Login with User ID: abcd
The following example shows the logging format when logging protocol is set
to 1.
console(config)#logging protocol 1
console(config)#
<190>1 DEC 20 20:46:20.250 10.130.182.151-1 USER_MGR[249300304]:
user_mgr.c(1789) 9 %% User xyz Failed to login because of authentication
failures
<189>1 DEC 20 20:46:20.250 10.130.182.151-1 TRAPMGR[249300304]:
traputil.c(657) 10 %% Failed User Login with User ID: xyz
The following example shows the logging format when logging protocol is set
to 1 with timezone configured on the switch.
console(config)#clock timezone +5 minutes 30 zone IST
console(config)#show clock
02:17:44 IST(UTC+5:30) Dec 21 2014
Time source is Local
console(config)#
<190>1 DEC 21 02:18:15.110+5:30 10.130.182.151-1 USER_MGR[249300304]:
user_mgr.c(1789) 13 %% User xyzt Failed to login because of authentication
failures
<189>1 DEC 21 02:18:15.110+5:30 10.130.182.151-1 TRAPMGR[249300304]:
traputil.c(657) 14 %% Failed User Login with User ID: xyzt
logging snmp
Use the logging snmp command in Global Configuration mode to enable
SNMP Set command logging. To disable, use the no form of this command.
Syntax
logging snmp
no logging snmp
Default Configuration
Disabled.
2CSNXXX_SWUM204.book Page 2170 Monday, January 25, 2016 1:25 PM