Saturday, April 16, 2011

How to configure logging in Cisco IOS

Cisco IOS System Message Logging is enabled by default in order to send logging messages to the console.

These messages can be directed to logging buffers, terminal lines or a UNIX syslog server, depending on the configuration.

Issue the logging on command in order to enable logging.

Logging is enabled by default on Cisco routers.

Issue the no logging on command in order to disable logging.

In order to log messages on internal buffers, issue the logging buffered command.

In order to display buffered log messages, issue the show logging command.

In order to log messages on a syslog server, issue the logging command.

In order to log messages on a non-console terminal, issue the terminal monitor command.

For information on how to synchronize unsolicited messages refer to:

Cisco Configuring Synchronization of Logging Messages

For detailed information about system logging message severity levels refer to:

Cisco Limiting the Error Message Severity Level and Facilities

No comments:

Post a Comment