|
|
6.2 | Network Management | ||
| 6.2.9 | Syslog |
|
The Cisco syslog logging utility is based
on the UNIX syslog utility. System events are usually logged to the
system console unless disabled. The syslog utility is a mechanism for
applications, processes, and the operating system of Cisco devices to
report activity and error conditions. The syslog protocol is used
to allow Cisco devices to issue these unsolicited messages to a
network management station. Every syslog message logged is associated with a timestamp, a facility, a severity, and a textual log message. These messages are sometimes the only means of gaining insight into some device misbehaviors.
Severity level indicates the critical
nature of the error message.
The facility and severity level fields are used for processing the messages. Level 0 (zero) to level 7 are facility types provided for custom log message processing. The Cisco IOS defaults to severity level 6.This setting is configurable.
In order to have the NMS receive and
record system messages from a device, the device must have syslog
configured.
To enable logging to all supported destinations:
To send log messages to a syslog server host, such as CiscoWorks2000:
To set logging severity level to level 6, informational:
To include timestamp with syslog message:
|