Improve VG350 detection

Cisco VG350s get detected as Aironet 350s, which breaks CDP collection.  This
overrides the behavior to mark VG350s as generic Cisco Layer3 devices.
This commit is contained in:
Brian De Wolf
2016-04-08 16:07:18 -07:00
parent 8fba1bc6a9
commit 502e206371
2 changed files with 4 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ version 3.32 ()
* Support undefined (noSuchInstance) values in Offline mode * Support undefined (noSuchInstance) values in Offline mode
* Do not init table cache if Cache provided by usera * Do not init table cache if Cache provided by usera
* Avoid deep recusion when AUTOLOAD and carp collide * Avoid deep recusion when AUTOLOAD and carp collide
* Detect Cisco VG350s as L3 devices instead of APs
version 3.31 (2016-01-22) version 3.31 (2016-01-22)

View File

@@ -1608,6 +1608,9 @@ sub device_type {
$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/ );
# Override voice gateway device (VG350) showing up as Aironet
$objtype = 'SNMP::Info::Layer3::Cisco' if $desc =~ /VG350/;
# Cat6k with older SUPs (hybrid CatOS/IOS?) # 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)/;