1652 Syslog CommandsExampleconsole(config)#logging cli-commandconsole(config)#do show loggingLogging is enabledConsole Logging: level warnings. Console Messages: 384 Dropped.Buffer Logging: level informational. Buffer Messages: 71 Logged,File Logging: level notActive. File Messages: 385 Dropped.CLI Command Logging : enabledSwitch Auditing : enabledWeb Session Logging : disabledSNMP Set Command Logging : disabledSyslog server hostname logging: informational. Messages: 0 droppedSyslog servera12345678901234567890123456789012345678901234567890123456789012 logging:informational. Messages: 0 dropped170 Messages dropped due to lack of resources.Buffer Log:<189> JAN 10 18:59:09 10.27.21.22-2 CMDLOGGER[209809328]:cmd_logger_api.c(83) 367 %% CLI:EIA-232:----:configure<190> JAN 10 18:59:17 10.27.21.22-2 CLI_WEB[209809328]:cmd_logger_api.c(260) 369 %% [CLI:----:EIA-232] Access level of user adminhas been set to 15<189> JAN 10 18:59:19 10.27.21.22-2 CMDLOGGER[209809328]:cmd_logger_api.c(83) 370 %% CLI:EIA-232:----:exit<189> JAN 10 18:59:22 10.27.21.22-2 CMDLOGGER[209809328]:cmd_logger_api.c(83) 371 %% CLI:EIA-232:----:telnet 10.27.21.22<189> JAN 10 18:59:27 10.27.21.22-2 TRAPMGR[209809328]: traputil.c(614) 372%% Multiple Users: Unit: 0 Slot: 5 Port: 1<189> JAN 10 18:59:27 10.27.21.22-2 CMDLOGGER[209809328]:cmd_logger_api.c(83) 373 %% CLI:10.27.21.22:admin:User admin logged in<190> JAN 10 18:59:27 10.27.21.22-2 CLI_WEB[209809328]:cmd_logger_api.c(260) 374 %% [CLI:admin:10.27.21.22] User has successfullylogged in<190> JAN 10 18:59:28 10.27.21.22-2 CLI_WEB[209809328]:cmd_logger_api.c(260) 375 %% [CLI:admin:10.27.21.22] User admin logged in toenable mode.loggingUse the logging command in Global Configuration mode to log messages to asyslog server. To delete the syslog server with the specified address from thelist of syslogs, use the no form of this command.Syntaxlogging {ip-address |hostname}