Viewing Cisco ACL logs

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.

Reply to
K.J. 44
Loading thread data ...

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

Doan

Reply to
Doan

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

"logging facility syslog"

BernieM

Reply to
BernieM

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

Reply to
BernieM

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

BernieM

Reply to
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

Reply to
Bod43

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.