SNMP::...scoASA(3pm)
π NAME π
SNMP::Info::Layer3::CiscoASA β it's the subclass for Cisco Adaptive Security Appliance, bestie. That's your ASA, and SNMP::Info is out here holding its hand. π«Ά
β¨ AUTHOR β¨
Moe Kraus wrote this one. Iconic of them, honestly. π
πΈ SYNOPSIS πΈ
okay so here's the vibe β you let SNMP::Info itself figure out which subclass is the correct one, instead of guessing like a clown:
# Let SNMP::Info determine the correct subclass for you.
my $asa = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly to SNMP::Session
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $asa->class();
print "SNMP::Info determined this device to fall under subclass: $class\n";
and then you just... print the class and let the library be the main character. π
π¦ DESCRIPTION π¦
It's the subclass for Cisco ASA Devices. That's it, that's the whole job description. π
π§ Inherited Classes
SNMP::Info::CiscoStatsSNMP::Info::Layer3
π Required MIBs
Required MIBs of the Inherited Classes
- Go peep "Required MIBs" in
SNMP::Info::CiscoStatsfor its own MIB requirements, okurrr. - Go peep "Required MIBs" in
SNMP::Info::Layer3for its own MIB requirements too, don't skip it. π
β GLOBALS β
These are methods that return a scalar value from SNMP. Casual. Scalar. Unbothered. β¨
$asa->b_mac()β returns the base mac. This overrides the base mac function inSNMP::Info::Layer3.$asa->i_description()β overrides the base interface description function inSNMP::Info, so instead of handing you back"Adaptive Security Appliance '$configured interface name' interface", it returns the configured interface name. glow up, honestly. π$asa->parse_inetaddress()β overrides the base IPv6 method "parse_inetaddress" inSNMP::Info::IPv6because Cisco ASA is out here not conforming to RFC4001 4.1 β it's missing the number of octets. instead it's indexed like theCISCO-IETF-IP-MIB. not me expecting compliance π
π Globals imported from SNMP::Info::CiscoStats
See the documentation in "GLOBALS" in SNMP::Info::CiscoStats for all the deets. π
π Global Methods imported from SNMP::Info::Layer3
See the documentation in "GLOBALS" in SNMP::Info::Layer3 for the details too, bestie. π
π TABLE METHODS π
These are methods that return tables of information, and they come in the form of a reference to a hash. table girlies rise up. π₯
πΈ Table Methods imported from SNMP::Info::CiscoStats
See the documentation in "TABLE METHODS" in SNMP::Info::CiscoStats for details. π
πΈ Table Methods imported from SNMP::Info::Layer3
See the documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details. π
perl v5.40.1 β¨ 2026-02-28 β¨ that's SNMP::...scoASA(3pm) no cap, that's the whole page, ily, go read your MIBs ππ¦
π¦ where this page comes from
- ubuntu stonking: libsnmp-info-perl 3.975000-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms