cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1636
Views
0
Helpful
1
Replies

Logging to Linux Syslog Server

chan-kuen.hui
Level 1
Level 1

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 1

ThorsonMacAoidh
Level 1
Level 1

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