Splunk Search

How to using NET-SNMP on Windows to receive and log SNMP traps to file from cisco router/switch?

ledaipro
Explorer

I have installed NET-SNMP on splunk machine (winserver 2008 R2).
1. splunk machine
- edit file C:/usr/ etc/snmp/snmptrapd.conf
snmpTrapdAddr 192.168.1.100:162
authCommunity log public
- Add data ->monitor-> UDP port 162
2. Router
I configured
Router(config)# snmp-server community public ro
Router(config)# snmp-server community public rw
Router(config)# snmp-server host 192.168.1.100 version 2 public

But on splunk machine i didn't receive snmp. what did wrong?

Tags (2)
0 Karma

cpt12tech
Contributor

If you're having problems with Net-SNMP, may want to give this a try:
https://answers.splunk.com/answers/521362/found-a-simple-snmp-trap-receiver-for-windows-that.html#an...

0 Karma

nickhills
Ultra Champion

That config enables an authorised SNMP host for 192.168.1.100

But you also need to enable Traps before it will send anything

snmp-server enable traps 
snmp-server host 192.168.1.100 traps version 2c public 

from memory

If my comment helps, please give it a thumbs up!
0 Karma

nickhills
Ultra Champion

i think I was pretty close; here is the documentation
http://www.cisco.com/c/en/us/td/docs/ios/netmgmt/command/reference/nm_book/nm_18.html

If my comment helps, please give it a thumbs up!
0 Karma

jaracan
Communicator

Hi Team, any updates on this?

0 Karma

ledaipro
Explorer

upppppppppppppppppppppppppppp

0 Karma

ledaipro
Explorer

anyone give me any comment 🙂 i will very happy

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...