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-MIB
  • SILVERPEAK-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() β€” returns spsSystemUptime

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