Configuring Unix Syslog Servers; Logging Messages To A Unix Syslog Daemon; Configuring The Unix System Logging Facility - Cisco M10-RM Software Manual

Cisco ios releases 12.4(10b)ja and 12.3(8)jec
Hide thumbs Also See for M10-RM:
Table of Contents

Advertisement

Configuring System Message Logging

Configuring UNIX Syslog Servers

The next sections describe how to configure the 4.3 BSD UNIX server syslog daemon and define the
UNIX system logging facility.

Logging Messages to a UNIX Syslog Daemon

Before you can send system log messages to a UNIX syslog server, you must configure the syslog
daemon on a UNIX server. Log in as root, and perform these steps:
Some recent versions of UNIX syslog daemons no longer accept by default syslog packets from the
Note
network. If this is the case with your system, use the UNIX man syslogd command to determine what
options must be added to or removed from the syslog command line to enable logging of remote syslog
messages.
Add a line such as the following to the file /etc/syslog.conf:
Step 1
local7.debug /usr/adm/logs/cisco.log
The local7 keyword specifies the logging facility to be used; see
information on the facilities. The debug keyword specifies the syslog level; see
for information on the severity levels. The syslog daemon sends messages at this level or at a more severe
level to the file specified in the next field. The file must already exist, and the syslog daemon must have
permission to write to it.
Step 2
Create the log file by entering these commands at the UNIX shell prompt:
$ touch /usr/adm/log/cisco.log
$ chmod 666 /usr/adm/log/cisco.log
Make sure the syslog daemon reads the new changes by entering this command:
Step 3
$ kill -HUP `cat /etc/syslog.pid`
For more information, see the man syslog.conf and man syslogd commands on your UNIX system.

Configuring the UNIX System Logging Facility

When sending system log messages to an external device, you can cause the access point to identify its
messages as originating from any of the UNIX syslog facilities.
Beginning in privileged EXEC mode, follow these steps to configure UNIX system facility message
logging:
Command
Step 1
configure terminal
Step 2
logging host
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
21-10
Purpose
Enter global configuration mode.
Log messages to a UNIX syslog server host by entering its IP address.
To build a list of syslog servers that receive logging messages, enter this
command more than once.
Chapter 21
Configuring System Message Logging
Table 21-4 on page 21-11
Table 21-3 on page 21-8
for
OL-14209-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aironet series

Table of Contents