SNMP::...scoIPS(3pm)
π SNMP::...scoIPS π
okay bestie, welcome to the SNMP::Info::Layer7::CiscoIPS page β it's a perl manual page (that's the 3pm part, it means "perl module docs," iykyk) and it's literally the Cisco Adaptive Security Appliance IPS module. π If you've been handed a Cisco IPS box and you want SNMP::Info to just get it, this is your girl.
β¨ NAME β¨
SNMP::Info::Layer7::CiscoIPS β the Cisco Adaptive Security Appliance IPS module. That's it, that's the whole name. π
π AUTHOR π
Moe Kraus</purpose>
(the icon who wrote this, we love her π«Ά)
π SYNOPSIS π
Here's the vibe, copy-paste ready, no notes:
# Let SNMP::Info determine the correct subclass for you.
my $info = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly to SNMP::Session
DestHost => 'myIPS',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $info->class();
print "SNMP::Info determined this device to fall under subclass: $class\n";
so basically: you let SNMP::Info do its little AutoSpecify detective work, it sniffs around and figures out which subclass your device actually belongs to, and then you print it. chef's kiss. π
π¦ DESCRIPTION π¦
It's a subclass for the Cisco IPS Module. That's the whole assignment. β¨
πΈ Inherited Classes πΈ
these are the parent classes it gets its powers from:
SNMP::Info::EntitySNMP::Info::Layer7
π Required MIBs π
Inherited Classes' MIBs
scroll back up to the classes listed above, bestie β their required MIBs are its required MIBs. It inherited them. That's the rules. π
β GLOBALS β
these are the methods that hand you back a scalar value straight from SNMP. one value, no table, no drama.
$info->b_mac()β gives you the base mac. it only matches one4:d3:f1, so if you're expecting literally anything else, bestie, no. π$info->serial()β fetches the serial from the Module.$info->e_index()β this one overridesEntity->e_index()because the entity table that the IPS is delivering is, and I quote, buggy. π so we're going around it. slay.$info->layersβ returns'01001000'. yes, that's a string of binary. yes, it's a vibe. π§$info->modelβ returns the model name.$info->productnameβ returns the product name.$info->serialβ returns the serial number.$info->sysdescrβ returns the system description.
fr fr, yes, both serial entries are in here β one says it fetches the serial from the Module and one says it returns the serial number. that's what the page says, so that's what you get. π
π Global Methods imported from SNMP::Info::Layer7 π
go read the GLOBALS section in SNMP::Info::Layer7 for the deets. π
π« Global Methods imported from SNMP::Info::Entity π«
same energy β check GLOBALS in SNMP::Info::Entity. π«Ά
π TABLE METHODS π
these ones don't give you a single value, they give you tables of information as a reference to a hash. a whole little hash full of goodies. obsessed.
πΈ Table Methods imported from SNMP::Info::Layer7 πΈ
the details live in TABLE METHODS in SNMP::Info::Layer7. go look. β¨
π Table Methods imported from SNMP::Info::Entity π
and the details for this one live in TABLE METHODS in SNMP::Info::Entity. π
okay that's the whole page, you ate that. final sign-off cuteness: this was put together by perl v5.40.1 on 2026-02-28 β iconic date, iconic version, no cap. π β¨π
π¦ 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