Users Guide

Table Of Contents
460 Monitoring and Logging System Information
Configuring Local Logging
Use the following commands to configure the type of messages that are
logged and where the messages are logged locally.
Command Purpose
configure Enter Global Configuration mode.
logging on Globally enables logging.
logging audit Enable switch auditing.
logging cli-command Enable CLI command logging
logging monitor Enable logging to stations other than the console.
logging web-session Enable logging of the switch management Web page visits.
logging snmp Enable logging of SNMP set commands.
terminal monitor Enable display of system messages on the console for
Telnet/SSH sessions.
logging
{buffered|console|
file|monitor} [
severity
]
Enable logging to the specified file. Optionally, a logging
discriminator can be defined to help filter log messages
and set the severity of the messages to log.
buffered — Enables logging to the RAM file (cache). If
the switch resets, the buffered logs are cleared.
console — Enables logging to the screen when the
administrator is connected to the CLI through the
console port.
file — Enables logging to the startup and operational log
files on the flash.
monitor — Enable logging to remote administrator
sessions connected via telnet/SSH.
severity
— (Optional) Enter the number or name of the
desired severity level. For information about severity
levels, see Table 10-1.
logging facility
facility-
type
Set the facility for logging messages. Permitted
facility-
type
values are local0, local1, local2, local3, local4, local5,
local 6, local7
logging protocol [0|1] Configure the format of log messages (0-RFC 3164, 1-
RFC5424)