05-08-2019 04:43 AM
We have a Cisco network (3850 stacks with Converged Access running v16.3.7) and a Syslog Server (Splunk). I would like to send SNMP traps as Syslog messages to our Syslog Server. Reason being, that our rogue AP detection feature only seems to send SNMP traps, and no syslog messages.
I have found several guides on how to send Syslog messages as SNMP traps, but not the other way around.
Is this even possible? If yes, how do I configure it?
To my understanding the following commands enable logging of Syslog messages to SNMP traps:
snmp-server enable traps syslog
logging snmp-trap 0 7
05-08-2019 05:44 AM
05-08-2019 06:08 AM
05-08-2019 06:30 AM
05-17-2019 10:04 AM - edited 05-17-2019 10:08 AM
I guess to achieve your goal you could create an EEM to trigger the snmp trap raising and send a custom syslog for it.
Otherwise you can overload the receiver sending syslog on two ways (SYSLOG and SNMP protocols).
05-20-2019 04:21 AM
Hi
Thanks for your input guys. I forgot about EEM...will check it out!
Kind Regards
Ingo
02-24-2023 01:58 AM
This worked for me..... I did change the line Router(config)#snmp-server host 172.25.1.1 ORATRAP syslog to
Router(config)#snmp-server host 172.25.1.1 version 3 priv ORATRAP syslog using wireshark the traps were not encrypted.
The change I did sent them encrypted which is what I required.....did loads of googling and this was the only one that worked for me.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide