08-05-2015 02:23 PM - edited 03-05-2019 02:01 AM
Dear All,
I need your help to resolve a SNMP issue with a Cisco router 1841.
**SNMP configuration on the cisco router 1841
snmp-server community public RO
snmp-server community alink RO
snmp-server enable traps tty
**Debuggin message
*Aug 5 21:17:55.358: SNMP: Packet received via UDP from 1.2.3.4 on Serial
0/1/0
*Aug 5 21:17:55.358: SNMP: Get request, reqid 1455863334, errstat 0, erridx 0
system.1.0 = NULL TYPE/VALUE
*Aug 5 21:17:55.366: SNMP: Response, reqid 1455863334, errstat 0, erridx 0
system.1.0 = Cisco IOS Software, 1841 Software (C1841-ADVSECURITYK9-M), Version
12.4(3e), RELEASE SOFTWARE (fc2)
*Aug 5 21:17:55.370: SNMP: Packet sent via UDP to 1.2.3.4
*Aug 5 21:17:55.858: SNMP: Packet received via UDP from 1.2.3.4 on Serial
0/1/0
*Aug 5 21:17:55.862: SNMP: Get request, reqid 1455863334, errstat 0, erridx 0
system.1.0 = NULL TYPE/VALUE
*Aug 5 21:17:55.866: SNMP: Response, reqid 1455863334, errstat 0, erridx 0
system.1.0 = Cisco IOS Software, 1841 Software (C1841-ADVSECURITYK9-M), Version
12.4(3e), RELEASE SOFTWARE (fc2)
*Aug 5 21:17:55.870: SNMP: Packet sent via UDP to 1.2.3.4
*Aug 5 21:17:56.358: SNMP: Packet received via UDP from 1.2.3.4 on Serial
0/1/0
However I get an error on my cacti server :
SNMP Information
SNMP error
The same SNMP configuration works on a Cisco 3945.
Thanks for your help
08-05-2015 02:25 PM
show snmp results
#Show SNMP
Chassis: FGL15412097
662325 SNMP packets input
0 Bad SNMP version errors
1550 Unknown community name
1 Illegal operation for community name supplied
2441 Encoding errors
345325 Number of requested variables
0 Number of altered variables
187866 Get-request PDUs
135251 Get-next PDUs
1 Set-request PDUs
40 Input queue packet drops (Maximum queue size 1000)
658794 SNMP packets output
0 Too big errors (Maximum packet size 1500)
1 No such name errors
0 Bad values errors
0 General errors
658157 Response PDUs
460 Trap PDUs
SNMP logging: disabled
08-06-2015 12:10 AM
Hi,
Just to point out, the code you are running on there is very old, I do recommend upgrading the version of code if you have access to it.
I did have a similar problem that was resolved by upgrading the code.
Can you also confirm if the server application you using to poll the device has the same community name associated with it? some snmp server applications; you need to add the router device and then input the read community.
So what I would do is, upgrade the code if possible, check correct community string is on the server application, 1550 Unknown community name does point to a mismatch in the community name
08-06-2015 02:39 PM
Dear Gordz,
Thanks for your feedback.
Plz what do you mean by Code? is it router IOS upgrade?
I will check also the correct community string.
Thanks.
08-07-2015 12:38 AM
Yes indeed, IOS version.
Great - feedback when you do.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide