{"id":1718,"date":"2018-12-21T16:15:57","date_gmt":"2018-12-21T16:15:57","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=1718"},"modified":"2023-07-27T12:31:00","modified_gmt":"2023-07-27T17:31:00","slug":"setup-snmp-v3-on-mikrotik-router","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/setup-snmp-v3-on-mikrotik-router\/","title":{"rendered":"Setup SNMPv3 on Mikrotik Router"},"content":{"rendered":"<p>Setting up SNMP via WinBox is straight forward, the following commands are how to set it up from the command line with some troubleshooting info at the end.<\/p>\n<h1>Setup SNMPv3<\/h1>\n<p>Setup Community (Change v3Private,encpass, and authpass to their respective names or passwords)<\/p>\n<pre>snmp community add name=v3Private encryption-protocol=AES encryption-password=encpass authentication-protocol=SHA1 authentication-password=authpass security=private<\/pre>\n<p>Enable and set SNMP community (Trap Community needs to match the above command.\u00a0 Change contact and the location as needed.)<\/p>\n<pre>snmp set contact=admin@incredigeek.com location=DeviceLocation trap-community=V3Private<\/pre>\n<h1><\/h1>\n<h1><strong>Troubleshooting<\/strong><\/h1>\n<p>Sometimes, for no apparent reason it seems, routerOS will have issues using the default community.\u00a0 Work around is to create and use a new community.<\/p>\n<p><strong>Cannot connect with AES encryption<\/strong><\/p>\n<p>AES doesn&#8217;t always seem to work reliably.\u00a0 Seems to work on some and not other.\u00a0 Work around is to use DES.<\/p>\n<p>Note that DES is deprecated on newer systems.\u00a0 For example, you will not be able to read the SNMP details on a router that uses DES from a machine running AlmaLinux 9.\u00a0 AES seems to be working fine now in 2023.<\/p>\n<p><strong>Log shows Permission Denied<\/strong><\/p>\n<p>Double check the allowed from addresses, user, and passwords<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up SNMP via WinBox is straight forward, the following commands are how to set it up from the command line with some troubleshooting info at the end. Setup SNMPv3 Setup Community (Change v3Private,encpass, and authpass to their respective names &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/setup-snmp-v3-on-mikrotik-router\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[452,130],"tags":[301,388,133,261,360],"class_list":["post-1718","post","type-post","status-publish","format-standard","hentry","category-mikrotik","category-snmp","tag-mikrotik","tag-routeros","tag-snmp-2","tag-snmp-v3","tag-snmpv3"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=1718"}],"version-history":[{"count":12,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1718\/revisions"}],"predecessor-version":[{"id":5372,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1718\/revisions\/5372"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=1718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=1718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=1718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}