Some Cisco SB switches work as Layer3 devices + avoid a numbers of model type

This commit is contained in:
Ambroise
2017-12-21 16:45:20 +01:00
parent 74ddc93f7f
commit 02a52a4e09
2 changed files with 8 additions and 2 deletions

View File

@@ -1691,6 +1691,11 @@ sub device_type {
$objtype = 'SNMP::Info::Layer3::CiscoFWSM'
if ( $desc =~ /Cisco Firewall Services Module/i );
# Cisco Small Business (300 500) series override
# This is for enterprises(1).cisco(9).otherEnterprises(6).ciscosb(1)
$objtype = 'SNMP::Info::Layer2::CiscoSB'
if ( $soid =~ /^\.?1\.3\.6\.1\.4\.1\.9\.6\.1/ );
# Avaya Secure Router
$objtype = 'SNMP::Info::Layer3::Tasman'
if ( $desc =~ /^(avaya|nortel)\s+(SR|secure\srouter)\s+\d{4}/i );