Fix detection of Cisco PIX and ASA.
This commit is contained in:
16
Info.pm
16
Info.pm
@@ -294,7 +294,8 @@ Protocol (LLDP) Support.
|
|||||||
|
|
||||||
=item SNMP::Info::MAU
|
=item SNMP::Info::MAU
|
||||||
|
|
||||||
MAU-MIB (RFC2668). Some Layer2 devices use this for extended Ethernet (Media Access Unit) interface information.
|
MAU-MIB (RFC2668). Some Layer2 devices use this for extended Ethernet
|
||||||
|
(Media Access Unit) interface information.
|
||||||
|
|
||||||
=item SNMP::Info::NortelStack
|
=item SNMP::Info::NortelStack
|
||||||
|
|
||||||
@@ -306,8 +307,9 @@ RAPID-CITY. Inhertited by Nortel switches for duplex and VLAN information.
|
|||||||
|
|
||||||
=item SNMP::Info::SONMP
|
=item SNMP::Info::SONMP
|
||||||
|
|
||||||
SYNOPTICS-ROOT-MIB, S5-ETH-MULTISEG-TOPOLOGY-MIB. Provides translation from Nortel Topology
|
SYNOPTICS-ROOT-MIB, S5-ETH-MULTISEG-TOPOLOGY-MIB. Provides translation from
|
||||||
Table information to CDP. Inherited by Nortel/Bay/Synoptics switches and hubs.
|
Nortel Topology Table information to CDP. Inherited by Nortel/Bay/Synoptics
|
||||||
|
switches and hubs.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
@@ -1016,10 +1018,6 @@ sub device_type {
|
|||||||
$objtype = 'SNMP::Info::Layer3::AlteonAD' if $desc =~ /Alteon\s[1A][8D]/;
|
$objtype = 'SNMP::Info::Layer3::AlteonAD' if $desc =~ /Alteon\s[1A][8D]/;
|
||||||
# Nortel Contivity
|
# Nortel Contivity
|
||||||
$objtype = 'SNMP::Info::Layer3::Contivity' if $desc =~ /\bCES\b/;
|
$objtype = 'SNMP::Info::Layer3::Contivity' if $desc =~ /\bCES\b/;
|
||||||
# Cisco PIX
|
|
||||||
$objtype = 'SNMP::Info::Layer3::Cisco' if ($desc =~ /Cisco PIX Security Appliance/i);
|
|
||||||
# Cisco ASA
|
|
||||||
$objtype = 'SNMP::Info::Layer3::Cisco' if ($desc =~ /Cisco Adaptive Security Appliance/i);
|
|
||||||
|
|
||||||
# Allied Telesyn Layer2 managed switches. They report they have L3 support
|
# Allied Telesyn Layer2 managed switches. They report they have L3 support
|
||||||
$objtype = 'SNMP::Info::Layer2::Allied' if ($desc =~ /Allied.*AT-80\d{2}\S*/i);
|
$objtype = 'SNMP::Info::Layer2::Allied' if ($desc =~ /Allied.*AT-80\d{2}\S*/i);
|
||||||
@@ -1103,6 +1101,10 @@ sub device_type {
|
|||||||
$objtype = 'SNMP::Info::Layer2::Aruba' if ($desc =~ /(ArubaOS|AirOS)/);
|
$objtype = 'SNMP::Info::Layer2::Aruba' if ($desc =~ /(ArubaOS|AirOS)/);
|
||||||
#Juniper NetScreen
|
#Juniper NetScreen
|
||||||
$objtype = 'SNMP::Info::Layer3::Netscreen' if ($desc =~ /NetScreen/i);
|
$objtype = 'SNMP::Info::Layer3::Netscreen' if ($desc =~ /NetScreen/i);
|
||||||
|
# Cisco PIX
|
||||||
|
$objtype = 'SNMP::Info::Layer3::Cisco' if ($desc =~ /Cisco PIX Security Appliance/i);
|
||||||
|
# Cisco ASA
|
||||||
|
$objtype = 'SNMP::Info::Layer3::Cisco' if ($desc =~ /Cisco Adaptive Security Appliance/i);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $objtype;
|
return $objtype;
|
||||||
|
|||||||
Reference in New Issue
Block a user