SNMP will not work.

Hi everyone,

New to RouterOS, got the management of one handed down to me at work.

I am trying to enable SNMP, but it is not working…


[admin@Wandy] > snmp print
enabled: yes
contact: "05506008"
location: "LCL"
engine-id: ""
engine-boots: 1
time-window: 15
trap-sink: 0.0.0.0
trap-community: (unknown)
trap-version: 1
[admin@Wandy] > snmp community print

NAME ADDRESS SECURITY READ-ACCESS

0 public 0.0.0.0/0 none yes
[admin@Wandy] >

but port 161 remains closed…


Any suggestions?

A lot of fiddling later, and still no snmp…

‘closed’? how do you see that? check your firewall rules…



nc -v <ip> 161

and

nmap -sS -PN -A <ip>

My firewall rules are wide open (well, they are to port 161). I have a rule specifically ALLOWING 161, and I see the counters increase every time I try to connect to it.

So for some reason the SNMP daemon either isn’t starting, or it is not binding to the right port…

SNMP uses UDP, so check with snmpwalk…