From 502e20637179d590a77aa9b03a89e455065a9b28 Mon Sep 17 00:00:00 2001 From: Brian De Wolf Date: Fri, 8 Apr 2016 16:07:18 -0700 Subject: [PATCH] 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. --- ChangeLog | 1 + Info.pm | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3ce0a6e4..78c765ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ version 3.32 () * Support undefined (noSuchInstance) values in Offline mode * Do not init table cache if Cache provided by usera * Avoid deep recusion when AUTOLOAD and carp collide + * Detect Cisco VG350s as L3 devices instead of APs version 3.31 (2016-01-22) diff --git a/Info.pm b/Info.pm index 346967fe..a90a283b 100644 --- a/Info.pm +++ b/Info.pm @@ -1608,6 +1608,9 @@ sub device_type { $objtype = 'SNMP::Info::Layer3::Aironet' 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?) $objtype = 'SNMP::Info::Layer3::C6500' if $desc =~ /(c6sup2|c6sup1)/;