So, you should be able to obtain snmp information from the router now, via your application. Assuming you have not tied an access-list to your community configured. That is saying that you have not configured the router to send snmp traps to a snmp receiver application:<div>
<br></div><div><div>Rack1R6(config)#do sh snmp</div><div>Chassis: 00000000</div><div>0 SNMP packets input</div><div> 0 Bad SNMP version errors</div><div> 0 Unknown community name</div><div> 0 Illegal operation for community name supplied</div>
<div> 0 Encoding errors</div><div> 0 Number of requested variables</div><div> 0 Number of altered variables</div><div> 0 Get-request PDUs</div><div> 0 Get-next PDUs</div><div> 0 Set-request PDUs</div><div>
0 SNMP packets output</div><div> 0 Too big errors (Maximum packet size 1500)</div><div> 0 No such name errors</div><div> 0 Bad values errors</div><div> 0 General errors</div><div> 0 Response PDUs</div><div>
0 Trap PDUs</div><div><br></div><div>SNMP logging: enabled</div><div> Logging to 1.1.1.1.162, 0/10, 0 sent, 0 dropped.</div><div>Rack1R6(config)#do sh run | i snmp</div><div>snmp-server community cisco RO</div><div>
snmp-server host <a href="http://1.1.1.1">1.1.1.1</a> version 2c PubLIC </div><div><br></div><br><div class="gmail_quote">On Tue, Jun 3, 2008 at 3:18 PM, David Toledo <<a href="mailto:DavidT@morganmint.com">DavidT@morganmint.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="blue">
<div>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Sorry guys</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">I just need the be able to monitor the
cisco router but the snmp must be enable to use my application</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">To gather all the information to manage
all my devices.</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Now is showing: </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">SNMP logging: disabled</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<div>
<div align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> <a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a> [mailto:<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>] <b><span style="font-weight:bold">On Behalf Of </span></b>Nick Griffin<br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, June 03, 2008 4:12
PM<div><div></div><div class="Wj3C7c"><br>
<b><span style="font-weight:bold">To:</span></b> David Toledo<br>
<b><span style="font-weight:bold">Cc:</span></b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [cisco-voip] CISCO
2851</div></div></span></font></p>
</div><div><div></div><div class="Wj3C7c">
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<p style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Please toss us what your
requirements are and we could provide a solution. </span></font></p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Tue, Jun 3, 2008 at 3:08 PM, David Toledo <<a href="mailto:DavidT@morganmint.com" target="_blank">DavidT@morganmint.com</a>> wrote:</span></font></p>
<div link="blue" vlink="blue">
<div>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">I got it to work with the command bellow</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">But now when type the command: <b><span style="font-weight:bold">show snmp</span></b></span></font></p>
<p><b><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold"> </span></font></b></p>
<p><b><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold">It show that the: "SNMP
logging: disabled"</span></font></b></p>
<p><b><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold"> </span></font></b></p>
<p><b><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold">Why is that</span></font></b></p>
<p><b><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold"> </span></font></b></p>
<p><b><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold">Thanks</span></font></b></p>
<p><b><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold"> </span></font></b></p>
<p><b><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold">David</span></font></b></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<div>
<div align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> <a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>
[mailto:<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>]
<b><span style="font-weight:bold">On Behalf Of </span></b>Mordechai<br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, June 03, 2008 3:48
PM<br>
<b><span style="font-weight:bold">To:</span></b> David Toledo; <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a></span></font></p>
<div>
<div>
<p><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [cisco-voip] CISCO
2851</span></font></p>
</div>
</div>
</div>
<div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Where is the ^ marker stuck? If under ro than try upper case
RO. Otherwise the syntax is correct:</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><b><font size="3" face="Courier New"><span style="font-size:12.0pt;font-weight:bold">snmp-server community kh0vr0 RO 50</span></font></b></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<div>
<div align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> <a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>
[mailto:<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>]
<b><span style="font-weight:bold">On Behalf Of </span></b>David Toledo<br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, June 03, 2008 3:36
PM<br>
<b><span style="font-weight:bold">To:</span></b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [cisco-voip] CISCO
2851</span></font></p>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<p><b><font size="3" face="Courier New"><span style="font-size:12.0pt;font-weight:bold">Sorry guys I'm not familiar with the command
very well</span></font></b></p>
<p><b><font size="3" face="Courier New"><span style="font-size:12.0pt;font-weight:bold">I enable but not sure if woulf runn this
command bellow</span></font></b></p>
<p><b><font size="3" face="Courier New"><span style="font-size:12.0pt;font-weight:bold"> </span></font></b></p>
<p><b><font size="3" face="Courier New"><span style="font-size:12.0pt;font-weight:bold">snmp-server community kh0vr0 ro 50 ???</span></font></b></p>
<p><b><font size="3" face="Courier New"><span style="font-size:12.0pt;font-weight:bold"> </span></font></b></p>
<p><b><font size="3" face="Courier New"><span style="font-size:12.0pt;font-weight:bold">! Create SNMP communities and username</span></font></b></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">!access-list
50 permit host xxxxxxxxxx</span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">!snmp-server
community kh0vrw RW 50</span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">!snmp-server
community kh0vr0 RO 50 </span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">!snmp-server
system-shutdown</span></font></p>
<p><font size="2" face="Courier New"><span style="font-size:10.0pt">!username %%%% password xxxxxxx</span></font></p>
<p><font size="2" face="Courier New"><span style="font-size:10.0pt"> </span></font></p>
<p><font size="2" face="Courier New"><span style="font-size:10.0pt"> </span></font></p>
<p><font size="2" face="Courier New"><span style="font-size:10.0pt">Thanks</span></font></p>
<p><font size="2" face="Courier New"><span style="font-size:10.0pt"> </span></font></p>
<p><font size="2" face="Courier New"><span style="font-size:10.0pt">David</span></font></p>
<p><font size="2" face="Courier New"><span style="font-size:10.0pt"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<div>
<div align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> <a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>
[mailto:<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>]
<b><span style="font-weight:bold">On Behalf Of </span></b>Nick Griffin<br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, June 03, 2008 3:25
PM<br>
<b><span style="font-weight:bold">To:</span></b> David Toledo<br>
<b><span style="font-weight:bold">Cc:</span></b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [cisco-voip] CISCO
2851</span></font></p>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">have you
enabled "enable" and entered config mode " conf t"</span></font></p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Tue,
Jun 3, 2008 at 2:22 PM, David Toledo <<a href="mailto:DavidT@morganmint.com" target="_blank">DavidT@morganmint.com</a>> wrote:</span></font></p>
<div link="blue" vlink="blue">
<div>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">I try to enable my snmp on cisco 2851 I got this error</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">% Invalid input detected at '^' marker.</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<div>
<div align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> <a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>
[mailto:<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>]
<b><span style="font-weight:bold">On Behalf Of </span></b>Nick Griffin<br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, June 03, 2008 3:09
PM<br>
<b><span style="font-weight:bold">To:</span></b> David Toledo<br>
<b><span style="font-weight:bold">Cc:</span></b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [cisco-voip] CISCO
2851</span></font></p>
</div>
<div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<p style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">snmp-server community BLAH </span></font></p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Tue,
Jun 3, 2008 at 2:06 PM, David Toledo <<a href="mailto:DavidT@morganmint.com" target="_blank">DavidT@morganmint.com</a>> wrote:</span></font></p>
<div link="blue" vlink="purple">
<div>
<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Does
any one know how to enable snmp for the cisco 2851 router</span></font></p>
<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Thanks</span></font></p>
<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p><font size="2" color="#888888" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:#888888"> </span></font></p>
<p><font size="2" color="#888888" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:#888888">David</span></font></p>
</div>
</div>
<p style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span></font></p>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
</div>
</div>
</div>
<p style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span></font></p>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<p><font size="2" face="Times New Roman"><span style="font-size:10.0pt">No virus
found in this incoming message.<br>
Checked by AVG.<br>
Version: 7.5.524 / Virus Database: 269.24.6/1480 - Release Date: 6/3/2008 7:00
AM</span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<p><font size="2" face="Times New Roman"><span style="font-size:10.0pt">No virus
found in this outgoing message.<br>
Checked by AVG.<br>
Version: 7.5.524 / Virus Database: 269.24.6/1480 - Release Date: 6/3/2008 7:00
AM</span></font></p>
</div>
</div>
<p style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span></font></p>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div></div></div>
</div>
<br>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br></div>