Cisco Catalyst 9500 Manual page 203

System management configuration guide, cisco ios xe amsterdam 17.2.x
Hide thumbs Also See for Catalyst 9500:
Table of Contents

Advertisement

Configuring System Message Logs
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
on a UNIX server.
Procedure
Step 1
Step 2
Step 3
Command or Action
Add a line to the file /etc/syslog.conf.
Example:
local7.debug /usr/adm/logs/cisco.log
Enter these commands at the UNIX shell
prompt.
Example:
$ touch /var/log/cisco.log
$ chmod 666 /var/log/cisco.log
Make sure the syslog daemon reads the new
changes.
Example:
$ kill -HUP `cat /etc/syslog.pid`
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
Logging Messages to a UNIX Syslog Daemon
Purpose
• local7 Specifies the logging facility.
• debug Specifies the syslog level. The
file must already exist, and the syslog
daemon must have permission to write to
it.
Creates the log file. The syslog daemon sends
messages at this level or at a more severe level
to this file.
For more information, see the man syslog.conf
and man syslogd commands on your UNIX
system.
187

Advertisement

Table of Contents
loading

Table of Contents