{"id":36,"date":"2018-10-14T18:55:37","date_gmt":"2018-10-14T18:55:37","guid":{"rendered":"http:\/\/hanasavi.ir\/?p=36"},"modified":"2018-10-20T07:12:00","modified_gmt":"2018-10-20T07:12:00","slug":"set-snmp-v2-on-cisco-routerswitchs","status":"publish","type":"post","link":"https:\/\/hanasavi.ir\/index.php\/2018\/10\/14\/set-snmp-v2-on-cisco-routerswitchs\/","title":{"rendered":"Set Snmp v2 on Cisco Router&#038;Switch&#8217;s"},"content":{"rendered":"<p><strong>Set SNMP V2 in cisco Device:<\/strong><\/p>\n<pre class=\"lang:default decode:true \">#conf t\r\n\r\n&gt;snmp-server community MOHA RO\r\ndo wri\r\n^z<\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true \"># do sh run |s snmp<\/pre>\n<ul>\n<li>with this command we find interface index&#8217;s for monitoring.using this for monitoring Download\/Upload parameter:<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true\">#show snmp mib ifmib ifindex<\/pre>\n<p>&nbsp;<\/p>\n<ul>\n<li>with this command send ping and size of packet to destination IP:<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true \">#ping 'IP' repeat 100 size 200<\/pre>\n<p>&nbsp;<\/p>\n<ul>\n<li>\u00a0In Linux distribute:<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true \"># ping 'ip' -s\u00a0 2000<\/pre>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>snmpwalk command(in Linux):<\/strong><\/li>\n<\/ul>\n<p>we can get all of information about a device by snmpwalk in linux:<\/p>\n<pre class=\"lang:default decode:true \">snmpwalk -v2c -c \"community\" clientIP<\/pre>\n<p>for example :snmpwalk -v2c -c\u00a0 &#8220;MOHA&#8221; 192.168.10.15<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Set SNMP V2 in cisco Device: #conf t &gt;snmp-server community MOHA RO do wri ^z &nbsp; # do sh run |s snmp with this command we find interface index&#8217;s for monitoring.using this for monitoring Download\/Upload parameter: #show snmp mib ifmib ifindex &nbsp; with this command send ping and size of packet to destination IP: #ping&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[9,16,8],"_links":{"self":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts\/36"}],"collection":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":3,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts\/36\/revisions"}],"predecessor-version":[{"id":229,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts\/36\/revisions\/229"}],"wp:attachment":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/media?parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/categories?post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/tags?post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}