{"id":38,"date":"2010-10-30T20:56:59","date_gmt":"2010-10-30T20:56:59","guid":{"rendered":"https:\/\/chroot-me.in\/newblog\/2010\/10\/38\/"},"modified":"2014-01-30T02:36:07","modified_gmt":"2014-01-30T01:36:07","slug":"enabling-snmp-on-slm2008-cisco-small-business-switch","status":"publish","type":"post","link":"https:\/\/chroot-me.in\/blog\/2010\/10\/enabling-snmp-on-slm2008-cisco-small-business-switch\/","title":{"rendered":"Enabling SNMP on SLM2008 Cisco Small Business Switch"},"content":{"rendered":"<p>Cisco SLM 2008 is a very efficient layer 2 manageable gigabit ethernet switch, with decent pricing and a large range of features: VLAN, (R)STP, LACP and static link aggregation, 802.1X Authentication, IGMP Snooping, you name it. Even the integrated web interface is quite well designed and not buggy.<\/p>\n<p>But one (native) feature is lacking when you want to monitor per-port network traffic : SNMP.<\/p>\n<p>Here is how to enable and basically configure SNMP on SLM2008 switches.<\/p>\n<p>First, download this script: <a href=\"https:\/\/chroot-me.in\/blog\/media\/enable_snmp.pl\">ename_snmp.pl<\/a> (Note for Chrome\/Safari users: this file may be downloaded as enable_snmp.download, I don&rsquo;t know why.)<\/p>\n<p>Then there are two ways of using this script :<\/p>\n<p>* remotely by directly altering the switch configuration file.<\/p>\n<p>* locally by first download the switch configuration file, alter it and upload it to the switch.<\/p>\n<p>There is the detail about the remote way, since I used it:<\/p>\n<p>* Configure everything you need in the SLM2008 web interface, especially on the \u00ab\u00a0System\u00a0\u00bb page.<\/p>\n<p>* Open a terminal in the directory where the script was downloaded.<\/p>\n<p>* <tt>chmod +x enable_snmp.pl<\/tt> for making the script executable.<\/p>\n<p>Then:<\/p>\n<div class=\"cmd\">\n<pre>$ .\/enable_snmp.pl \r\nObtaining data from Switch: \r\nAdministrator Username: [ admin ]: \r\nAdministrator Password: [ admin ]: \r\nCurrent Body Checksum: \r\nCurrent Header Check Byte: \r\nSNMP is currently: DISABLED - WILL ENABLE\r\nBoth community strings are limited to 15 characters.\r\nNew read-only community string: [ public ]: \r\nNew read-write community string: [ private ]: \r\nNew Body Checksum: \r\nNew Header Check Byte: \r\nEnd - SNMP Should be enabled.<\/pre>\n<\/div>\n<p>You will have to provide the right information for <tt><\/tt>, <tt><\/tt>, <tt><\/tt> and <tt><\/tt> parameters.<\/p>\n<p>Finally, use the following command from an host that has network access to the switch:<\/p>\n<div class=\"cmd\">\n<pre>$ snmpwalk -c   -v 2c<\/pre>\n<\/div>\n<p>A long output should be displayed, showing every piece of information the embedded SNMP daemon on the SLM2008 can serve.<\/p>\n<p>I hope this will help.<\/p>\n<p>Regards.<\/p>\n<p>Credits: <a href=\"https:\/\/supportforums.cisco.com\/thread\/2046752\">Cisco support forum<\/a> and David Holland.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cisco SLM 2008 is a very efficient layer 2 manageable gigabit ethernet switch, with decent pricing and a large range of features: VLAN, (R)STP, LACP and static link aggregation, 802.1X Authentication, IGMP Snooping, you name it. Even the integrated web interface is quite well designed and not buggy. But one (native) feature is lacking when &hellip; <a href=\"https:\/\/chroot-me.in\/blog\/2010\/10\/enabling-snmp-on-slm2008-cisco-small-business-switch\/\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de &laquo;&nbsp;Enabling SNMP on SLM2008 Cisco Small Business Switch&nbsp;&raquo;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,4,2],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-english","category-geek","category-hacks"],"_links":{"self":[{"href":"https:\/\/chroot-me.in\/blog\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chroot-me.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chroot-me.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chroot-me.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chroot-me.in\/blog\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":0,"href":"https:\/\/chroot-me.in\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"wp:attachment":[{"href":"https:\/\/chroot-me.in\/blog\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chroot-me.in\/blog\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chroot-me.in\/blog\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}