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.
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
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.