|
From: Ingen S. J. v. (ICTS) <j.v...@ut...> - 2010-09-01 15:59:33
|
Hi Ken,
On Wed, 2010-09-01 at 10:44 -0400, DeShong, Ken wrote:
> I guess when I just hit reply it didn't pick up the NetDisco-users
> address. I don't have an issue with NetDisco not picking up the switch
> in question. Let me explain.
>
>
> The switch is a Cisco WS-CBS3110X-S-I (IBM Blade Center). NetDisco
> will tell me everything about the switch no problem but I think since
> this is a blade system where we have VM's, I'm having issues with
> NetDisco displaying the port info like it does with my other switches.
>
> I can run the "sh mac address-table add xxxx.xxxx.xxxx" from my core
> switch and it functions fine.
OK, thanks for explaining further. I think I found the cause.
If you look at the Device Details of one of those blade switches,
following the model you'll see the "class" used to query the switch. It
will probably read "SNMP::Info::Layer3::Cisco".
However, these blade switches use so-called "community-based indexing"
for retrieving MAC <-> Switch port mapping. That method is not used by
the regular Layer3::Cisco class; generally we assign devices like that
to the SNMP::Info::Layer3::C6500 class.
You'll need to modify your SNMP::Info install... locate the file
"Info.pm", look for the following lines:
# Next one untested. Reported working by DA
$objtype = 'SNMP::Info::Layer3::C6500'
if ( $desc =~ /cisco/i and $desc =~ /3750/ );
$objtype = 'SNMP::Info::Layer3::C6500'
if $desc =~ /(s72033_rp|s3223_rp|s32p3_rp|s222_rp)/;
and insert the following lines below that section:
# Various Cisco blade switches, CBS30x0 and CBS31x0 models
$objtype = 'SNMP::Info::Layer3::C6500'
if ( $desc =~ /cisco/i and $desc =~ /CBS3[0-9A-Za-z]{3}/ );
I'll include this fix (which should work for all Cisco CBS3xxx blade
switches) in CVS, so it will be included in the next official release.
By the way, I don't have CBS3110X blade switches, but tested this
against our CBS3020 blade switches in HP BladeSystem chassis. That
works, I expect this change to work for you too.
Regards,
Jeroen van Ingen
ICT Service Centre
University of Twente, P.O.Box 217, 7500 AE Enschede, The Netherlands
|