Add proper classing for Cisco blade switches to Layer2 section as well, for CBS devices reporting L2 capability only
This commit is contained in:
4
Info.pm
4
Info.pm
@@ -1365,6 +1365,10 @@ sub device_type {
|
|||||||
$objtype = 'SNMP::Info::Layer3::C3550'
|
$objtype = 'SNMP::Info::Layer3::C3550'
|
||||||
if ( $desc =~ /(C3550|ME340x)/ );
|
if ( $desc =~ /(C3550|ME340x)/ );
|
||||||
|
|
||||||
|
# Cisco blade switches, CBS30x0 and CBS31x0 models with L2 only
|
||||||
|
$objtype = 'SNMP::Info::Layer3::C6500'
|
||||||
|
if ( $desc =~ /cisco/i and $desc =~ /CBS3[0-9A-Za-z]{3}/ );
|
||||||
|
|
||||||
# Cisco 2970
|
# Cisco 2970
|
||||||
$objtype = 'SNMP::Info::Layer3::C6500'
|
$objtype = 'SNMP::Info::Layer3::C6500'
|
||||||
if ( $desc =~ /(C2970|C2960)/ );
|
if ( $desc =~ /(C2970|C2960)/ );
|
||||||
|
|||||||
Reference in New Issue
Block a user