Added Cat6k/Sup2T to L3::C6500 class, bit more comments around the checks that result in L3::C6500 classification

This commit is contained in:
Jeroen van Ingen
2012-06-29 15:17:59 +02:00
parent 04eafd3e61
commit a227db586b
2 changed files with 7 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ version 2.07 ()
* [2993691] Support for SonicWALL devices in new class L3::SonicWALL (phishphreek) * [2993691] Support for SonicWALL devices in new class L3::SonicWALL (phishphreek)
* [2996795] Support for Kentrox devices in new class L2::Kentrox (phishphreek) * [2996795] Support for Kentrox devices in new class L2::Kentrox (phishphreek)
* [] Basic support for Blue Coat proxy devices in new class L3::BlueCoatSG (jeroenvi) * [] Basic support for Blue Coat proxy devices in new class L3::BlueCoatSG (jeroenvi)
* [] Support Cisco 6500 / Sup2T in L3::C6500 class (jeroenvi)
[ENHANCEMENTS] [ENHANCEMENTS]

View File

@@ -1314,13 +1314,17 @@ sub device_type {
and $desc =~ /\D(CAP340|AP340|CAP350|350|1200)\D/ ); and $desc =~ /\D(CAP340|AP340|CAP350|350|1200)\D/ );
$objtype = 'SNMP::Info::Layer3::Aironet' $objtype = 'SNMP::Info::Layer3::Aironet'
if ( $desc =~ /Aironet/ and $desc =~ /\D(AP4800)\D/ ); if ( $desc =~ /Aironet/ and $desc =~ /\D(AP4800)\D/ );
# Cat6k with older SUPs (hybrid CatOS/IOS?)
$objtype = 'SNMP::Info::Layer3::C6500' if $desc =~ /(c6sup2|c6sup1)/; $objtype = 'SNMP::Info::Layer3::C6500' if $desc =~ /(c6sup2|c6sup1)/;
# Cat6k with Sup720, Sup720 or Sup2T (and Sup2 running native IOS?)
$objtype = 'SNMP::Info::Layer3::C6500'
if $desc =~ /(s72033_rp|s3223_rp|s32p3_rp|s222_rp|s2t54)/;
# Next one untested. Reported working by DA # Next one untested. Reported working by DA
$objtype = 'SNMP::Info::Layer3::C6500' $objtype = 'SNMP::Info::Layer3::C6500'
if ( $desc =~ /cisco/i and $desc =~ /3750/ ); if ( $desc =~ /cisco/i and $desc =~ /3750/ );
$objtype = 'SNMP::Info::Layer3::C6500'
if $desc =~ /(s72033_rp|s3223_rp|s32p3_rp|s222_rp)/;
# Cisco 2970 # Cisco 2970
$objtype = 'SNMP::Info::Layer3::C6500' $objtype = 'SNMP::Info::Layer3::C6500'