Viewing Cisco ACL logs

Aug 28, 2006 5 Replies
Viewing Cisco ACL logs open original image

Where do I view my router's ACL logs? Is there a way to write a script to have them sent to a network location (like a directory on my file server) so i can view them?



Thanks.



You can have your router forward the log messages to a syslog server. Use 'logging '

Doan

and to the same location if it's a syslog server using

"logging facility syslog"

BernieM

what I meant to add was that Doan's example sends snmp-traps.

I was wrong. I now don't understand exactly what "logging facility syslog" actually does.

BernieM

Damn, I was getting excited there, I though that I was going to find out something.

Back to the original question

snmp-server enable traps syslog - enable the transmission of snmp traps of syslog messages

Then you can set the level of events that are sent with

logg history [level]

Presumably if "log history level" is greater than "logg trap level" then since the messages have not been through syslog they won't get to the snmp server? Who knows?

Configuring System Message Logging

formatting link

formatting link
Traps Sent with SNMP-Server Enabled Traps Configured

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required