SNMP::...erPeak(3pm)
πΈ SNMP::Info::Layer3::SilverPeak π
okay bestie, so this is a page from the User Contributed Perl Documentation collection, and it lives in section 3pm of the manual. It's called SNMP::Info::Layer3::SilverPeak, and it's basically the SNMP Interface to SilverPeak devices. no cap, that's the whole vibe. π
AUTHOR: Netdisco Developers π«Ά
β¨ SYNOPSIS β¨
here's how you actually summon this thing, fr fr:
# Let SNMP::Info determine the correct subclass for you.
my $silverpeak = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $silverpeak->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
the way that AutoSpecify => 1 just figures out the right subclass for you?? main character energy honestly. and if it can't connect to DestHost it just dies, dramatic queen. π
π¦ DESCRIPTION π¦
It's an abstractions subclass for SilverPeak devices. that's it, that's the tea. π
Inherited Classes π
SNMP::Info::Layer3
Required MIBs π
SILVERPEAK-MGMT-MIBSILVERPEAK-PRODUCTS-MIB
Inherited Classes' MIBs π
See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements. go read that one too, bestie, don't skip it. β¨
π GLOBALS π
these are the methods that return a scalar value from SNMP. one thing at a time, clean and simple. π
$silverpeak->vendor()β Returns'silverpeak'. yes literally just that. iconic.$silverpeak->model()β Returns the chassis model. (from"SILVERPEAK-PRODUCTS-MIB::model")$silverpeak->os()β Returns'silverpeak'. again! consistency queen. π$silverpeak->os_ver()β Returns the software version extracted from("spsSystemVersion").$silverpeak->serial()β Returns the chassis serial number. (from("spsSystemSerial"))
Overrides π₯
$silverpeak->uptime()β returnsspsSystemUptime
Globals imported from SNMP::Info::Layer3 π§
See documentation in "GLOBALS" in SNMP::Info::Layer3 for details. iykyk.
π TABLE METHODS π
these are the methods that return tables of information, and they hand it back as a reference to a hash. so many vibes in one data structure, obsessed. π
Table Methods imported from SNMP::Info::Layer3 πΈ
See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
AUTHOR π«Ά
Written and contributed by Muris Boric. Many thanks! π
lowkey a whole journey, and you made it to the end bestie, so proud. π₯Ή this page is from perl v5.40.1, dated 2026-02-28, and it's filed under SNMP::...erPeak(3pm). slay, periodt. π
β¨
π¦ 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