hit counter script

Logging Messages To A Unix Syslog Daemon - Cisco Catalyst 9200 Configuration Manual

Hide thumbs Also See for Catalyst 9200:
Table of Contents

Advertisement

Configuring System Message Logs
Command or Action
Step 2
logging history level
Example:
Device(config)# logging history 3
Step 3
logging history size number
Example:
Device(config)# logging history size 200
Step 4
end
Example:
Device(config)# end

Logging Messages to a UNIX Syslog Daemon

This task is optional.
Note
Some recent versions of UNIX syslog daemons no longer accept by default syslog packets from the network.
If this is the case with your system, use the UNIX man syslogd command to decide what options must be
added to or removed from the syslog command line to enable logging of remote syslog messages.
Before you begin
• Log in as root.
• Before you can send system log messages to a UNIX syslog server, you must configure the syslog daemon
SUMMARY STEPS
1. Add a line to the file /etc/syslog.conf.
2. Enter these commands at the UNIX shell prompt.
3. Make sure the syslog daemon reads the new changes.
DETAILED STEPS
Command or Action
Step 1
Add a line to the file /etc/syslog.conf.
Example:
on a UNIX server.
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
Logging Messages to a UNIX Syslog Daemon
Purpose
Changes the default level of syslog messages stored in the
history file and sent to the SNMP server.
By default, warnings, errors, critical, alerts, and
emergencies messages are sent.
Specifies the number of syslog messages that can be stored
in the history table.
The default is to store one message. The range is 0 to 500
messages.
Returns to privileged EXEC mode.
Purpose
• local7 Specifies the logging facility.
129

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents

Save PDF