EasyManua.ls Logo

Cisco Catalyst 9500

Cisco Catalyst 9500
360 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.
Note
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
PurposeCommand or Action
Add a line to the file /etc/syslog.conf.
Step 1
local7Specifies the logging facility.
Example:
debugSpecifies the syslog level. The
file must already exist, and the syslog
local7.debug /usr/adm/logs/cisco.log
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.
Enter these commands at the UNIX shell
prompt.
Example:
Step 2
$ touch /var/log/cisco.log
$ chmod 666 /var/log/cisco.log
For more information, see the man syslog.conf
and man syslogd commands on your UNIX
system.
Make sure the syslog daemon reads the new
changes.
Example:
Step 3
$ kill -HUP `cat /etc/syslog.pid`
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
187
Configuring System Message Logs
Logging Messages to a UNIX Syslog Daemon

Table of Contents

Other manuals for Cisco Catalyst 9500

Related product manuals