Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Logging to Linux Syslog Server

Dear All,

I have configured the router with logging command to a linux syslog server as follows:

logging 192.168.1.100

logging facility local5

I have also configured the linux server /etc/syslog.conf as shown and restart the syslog service:

*.* /var/log/cisco

However, I cannot recieve any syslog message from the router. Is the config on syslog.conf ok? or any steps is missing?

Thanks.

Regards,

Douglas Hui

1 REPLY
New Member

Re: Logging to Linux Syslog Server

I believe that Cisco uses the local16-23, which roughly equates to local0-7 on *NIX.

In the past when I completed similar configurations I would use something like:

CISCO:

logging on

logging trap debugging

logging host

logging facility 20

*NIX:/etc/syslog.conf

*.debug;LOCAL4.none /var/log/messages

LOCAL4.* /var/log/cisco-messages

If you really want to get creative you can take a look at syslog-ng.

TM

315
Views
0
Helpful
1
Replies