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:
@@ -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)
|
||||
|
||||
|
||||
3
Info.pm
3
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)/;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user