[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Testbed-admins] Debug snmpit



It's a Cisco Catalyst 4506 running Cisco IOS. 
It has three line-cards and I checked for the ports to interface assignments of the machines involved in the experiment: they're recognized correctly (Line-Card 2, Port 26 and 37)


mysql> select node_id,type,phys_nodeid from nodes where type like "cisco%";
+-------------+---------------+-------------+
| node_id     | type          | phys_nodeid |
+-------------+---------------+-------------+
| ctrlswitch1 | cisco2970-ios | ctrlswitch1 | 
| expswitch1  | cisco4506-ios | expswitch1  | 
+-------------+---------------+-------------+
2 rows in set (0.00 sec)


Maybe the following output helps:

expswitch1>show version
Cisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12.2(25)EWA8, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 24-Jan-07 14:38 by pwade
Image text-base: 0x10000000, data-base: 0x114EECF0

ROM: 12.2(20r)EW1
Dagobah Revision 226, Swamp Revision 34

expswitch1 uptime is 5 hours, 3 minutes
System returned to ROM by power-on
System image file is "bootflash:"

cisco WS-C4506 (MPC8245) processor (revision 10) with 262144K bytes of memory.
Processor board ID FOX11050HBY
MPC8245 CPU at 266Mhz, Supervisor II+
Last reset from PowerUp
1 Virtual Ethernet interface
98 Gigabit Ethernet interfaces
511K bytes of non-volatile configuration memory.

Configuration register is 0x2101

snmpwalk output:
http://pastebin.ca/1888023

Sebastian



-----Original Message-----
From: Robert Ricci [mailto:ricci@cs.utah.edu] 
Sent: Monday, June 21, 2010 4:19 PM
To: Spies, Sebastian Martin
Cc: testbed-admins@flux.utah.edu
Subject: Re: [Testbed-admins] Debug snmpit

Debugging SNMP problems in general is a sort of a dark art. :)


'noCreation', the error you got, generally means that you are trying to 
access an SNMP object that doesn't exist, and the switch will not 
'automatically create' such an object. I've seen this most often when 
the index within a table is incorrect - eg. below, it's trying to set 
object 2.26 and 2.37 in the portAdminSpeed and portDuplex tables, which 
would lead me to guess that one of two thing is the case:

1) Ports 2/26 and 2/37 don't exist in your switch
2) This is on a switch that needs indexing by ifIndex rather than card 
and port - eg. an issue of Cisco IOS vs. CatOS - what kind of switch is 
this, and if it's a Cisco, did you make sure to follow the bits in the 
setup instructions that indicated which OS the switch is running?

The snmpget and snmpwalk command line tools can be useful for diagnosing 
these sorts of problems - you can make sure the tables do exist, find 
out what the indices look like, etc.

On 6/21/10 1:37 PM, Spies, Sebastian Martin wrote:
> Hi,
>
> which one is the best way to debug snmpit? I'm struggling with the
> following errors:
>
> *** WARNING: snmpit:
>
> *** SNMP SET failed - In /usr/testbed/bin/snmpit
>
> *** SNMPIT set failed for device expswitch1 (try 10 of 10)
>
> *** Variable was [portAdminSpeed,2.26,1000000000,INTEGER]
>
> *** Returned (undefined), ErrorNum was 11
>
> *** Error string is: noCreation
>
> *** WARNING: snmpit:
>
> *** SNMP SET failed - In /usr/testbed/bin/snmpit
>
> *** SNMPIT set failed for device expswitch1 (try 10 of 10)
>
> *** Variable was [portDuplex,2.26,2,INTEGER]
>
> *** Returned (undefined), ErrorNum was 11
>
> *** Error string is: noCreation
>
> *** WARNING: snmpit:
>
> *** SNMP SET failed - In /usr/testbed/bin/snmpit
>
> *** SNMPIT set failed for device expswitch1 (try 10 of 10)
>
> *** Variable was [portAdminSpeed,2.37,1000000000,INTEGER]
>
> *** Returned (undefined), ErrorNum was 11
>
> *** Error string is: noCreation
>
> Creating VLAN 16 as VLAN #3 on stack Experiment ...
>
>     Creating VLAN 16 as VLAN #3 on expswitch1 ... Succeeded.
>
>         Applying VLAN changes on expswitch1 ... Succeeded
>
> Do you have some idea? Help would be greatly appreciated.
>
> Sebastian
>
> ----
>
> Sebastian Spies
>
> Advanced Network Technologies Devision
>
> National Institute of Standards and Technology
>
> phone: 301-975-3259
>
>
>
> _______________________________________________
> Testbed-admins mailing list
> Testbed-admins@flux.utah.edu
> http://www.flux.utah.edu/mailman/listinfo/testbed-admins