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

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

can't get firewall sysloging to work

I am running a Linux syslog server (called syslog-ng) and I point the firewall to send all its syslog messages to that server. I believe that I don't have the correct syslog level configured on the firwall, because the syslog server is picking up all syslog messages from the rest of the CAT37505 switches, but not the firewall.

Here's my firewall logging config:

logging enable

logging timestamp

logging console informational

logging buffered notifications

logging trap errors

logging asdm informational

logging mail emergencies

logging facility 16

logging host Inside format emblem

logging permit-hostdown

I can ping this IP address, the routing is ok, nevertheless no syslog messages are reaching the syslog server.

Please assist

Cisco Employee

Re: can't get firewall sysloging to work

Is it that no syslog messages are making it to the server, or is syslog-ng ignoring them? Are you certain the firewall is generating messages? Your trap severity is set to errors which mean only messages level 3 and lower will be sent as syslogs.

New Member

Re: can't get firewall sysloging to work

try to put this

snmp-server enable traps syslog

New Member

Re: can't get firewall sysloging to work

That did the trick:

snmp-server enable traps syslog

All the messages went to the buffer and console and none made it to the syslog server, it is now working.