diff --git a/lib/SNMP/Info.pm b/lib/SNMP/Info.pm index bab96034..26a0f502 100644 --- a/lib/SNMP/Info.pm +++ b/lib/SNMP/Info.pm @@ -1691,6 +1691,11 @@ sub device_type { $objtype = 'SNMP::Info::Layer3::CiscoFWSM' if ( $desc =~ /Cisco Firewall Services Module/i ); + # Cisco Small Business (300 500) series override + # This is for enterprises(1).cisco(9).otherEnterprises(6).ciscosb(1) + $objtype = 'SNMP::Info::Layer2::CiscoSB' + if ( $soid =~ /^\.?1\.3\.6\.1\.4\.1\.9\.6\.1/ ); + # Avaya Secure Router $objtype = 'SNMP::Info::Layer3::Tasman' if ( $desc =~ /^(avaya|nortel)\s+(SR|secure\srouter)\s+\d{4}/i ); diff --git a/lib/SNMP/Info/Layer2/CiscoSB.pm b/lib/SNMP/Info/Layer2/CiscoSB.pm index 47d2dc14..a7fecc39 100644 --- a/lib/SNMP/Info/Layer2/CiscoSB.pm +++ b/lib/SNMP/Info/Layer2/CiscoSB.pm @@ -130,8 +130,9 @@ sub model { foreach my $e ( sort keys %$e_model ) { if (defined $e_model->{$e} and $e_model->{$e} !~ /^\s*$/) { - my $model = "$e_model->{$e} $e_hwver->{$e}"; - return $model; + return $e_model->{$e}; + #my $model = "$e_model->{$e} $e_hwver->{$e}"; + #return $model; } } return $ciscosb->description();