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

Re: [Testbed-admins] Failed Vlan Creation for Cisco switches



It looks like snmpit picks up the port control commands from the CISCO-STACK-MIB
mib.

It seems that the 4506/4006 switches do not have support for this MIB atleast for
the version of IOS it is running.

Does anyone know of a way to add the mib support to the switch?
Or is there another MIB which may allow portcontrol commands to occur?

Thanks,
Adit


----- Original Message -----
From: "Jonathan Walsh" <jonathan.d.walsh@lmco.com>
To: "Adit Ranadive" <adit262@cc.gatech.edu>
Cc: "jonathan d walsh" <jonathan.d.walsh@lmco.com>, testbed-admins@flux.utah.edu
Sent: Wednesday, April 8, 2009 9:45:32 AM GMT -05:00 US/Canada Eastern
Subject: Re: Failed Vlan Creation for Cisco switches

The problem on our switches, which are Cat2960s, is that a previous hack
in snmpit to work around a different MIB OID for port settings does not
apply to this class of switch.  In other words, for 2950, 2940, etc. a
hack was needed that, according to Cisco, is not needed anymore on the
2960.  I tried patching snmpit to avoid the hack, but it is still
failing.  I haven't had time to debug the problem further, but
definitely plan to at some point.  The current work around was to not
run any of the port control commands for that class of switch, which
allows experiment creation to proceed.  The drawback is that any link
other than 1gbit require a delay node (including 100mbit).  Once I get a
fix for this issue I plan to send a patch in.

The 2900 hack should not apply to a 4006 or 4506 though... You could try
checking the supported MIB list for your switch os to make sure that the
expected MIBs are there.

-Jonathan


Adit Ranadive wrote:
> Hello,
>
> I saw your post on the testbed-admins Utah mailing list on vlan
> creation failing.
>
> Did you have any progress on why the vlan creation was failing?
>
> Im having similar issues on a cisco 4006 and 4506 switches.
> The vlan is getting created but the port settings do not seem to work.
>
> Does anyone have any idea why the port settings are not getting set?
>
>
> Thanks,
> Adit
>
> Here is a snippet about snmpit failing:
>
> ** WARNING: snmpit:
> ***   SNMP SET failed - In /usr/testbed/bin/snmpit
> ***   SNMPIT set failed for device c4006-netlab (try 10 of 10)
> ***   Variable was [portDuplex,2.5,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 c4006-netlab (try 10 of 10)
> ***   Variable was [portAdminSpeed,2.8,100000000,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 c4006-netlab (try 10 of 10)
> ***   Variable was [portDuplex,2.8,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 c4006-netlab (try 10 of 10)
> ***   Variable was [portAdminSpeed,2.9,100000000,INTEGER]
> ***   Returned (undefined), ErrorNum was 11
> ***   Error string is: noCreation