SNMP::...Cumulus(3pm)

πŸ’– SNMP::...Cumulus(3pm) β€” bestie edition πŸ’–

okay so this is the SNMP::...Cumulus(3pm) page from the User Contributed Perl Documentation, and we're gonna get into it together 🫢


✨ NAME ✨

SNMP::Info::Layer3::Cumulus β€” it's your SNMP Interface to Cumulus Networks Devices πŸ’…


πŸŽ€ AUTHORS πŸŽ€

Oliver Gorwits β€” and lowkey he built this off the Layer3::NetSNMP implementation. slay.


🌸 SYNOPSIS 🌸

okay so here's the vibe, fr fr β€” let SNMP::Info pick the right subclass for you:

# Let SNMP::Info determine the correct subclass for you.
my $cumulus = new SNMP::Info(
                         AutoSpecify => 1,
                         Debug       => 1,
                         DestHost    => 'myrouter',
                         Community   => 'public',
                         Version     => 2
                       )
   or die "Can't connect to DestHost.\n";

my $class      = $cumulus->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";

like, it just knows which class you belong to. main character energy honestly ✨


🌈 DESCRIPTION 🌈

It's the subclass for Cumulus Networks devices. periodt. πŸ’œ

πŸ¦‹ Inherited Classes

  • SNMP::Info::Layer3

πŸ¦‹ Required MIBs

  • UCD-SNMP-MIB
  • NET-SNMP-TC
  • HOST-RESOURCES-MIB

πŸ’« Inherited Classes' MIBs

  • Check SNMP::Info::Layer3 for its own MIB requirements, bestie β€” it's got its own list.
  • Also check SNMP::Info::IEEE802dot3ad for its own MIB requirements. don't skip it πŸ™ˆ

⭐ GLOBALS ⭐

These are the methods that return scalar value from SNMP. like, one value, one vibe. πŸ’«

  • $cumulus->vendor() β€” Returns 'cumulus networks'.
  • $cumulus->os() β€” Returns 'cumulus'.
  • $cumulus->os_ver() β€” Returns the software version extracted from "sysDescr".
  • $cumulus->uptime() β€” Returns the system uptime instead of the agent uptime. NOTE: discontinuity timers and other Time Stamp based objects are based on agent uptime, so use orig_uptime(). like, don't get caught out on this one 🫠
  • $l3->model() β€” Returns the chassis type.
note the method name here is literally $l3->model() β€” that's what the page says, so that's what we're keeping. no cap. πŸ‘‘

🌟 Globals imported from SNMP::Info::Layer3

Check the documentation in SNMP::Info::Layer3 for details, babe.

🌟 Globals imported from SNMP::Info::IEEE802dot3ad

Check the documentation in SNMP::Info::IEEE802dot3ad for details, babe.


πŸ’… TABLE ENTRIES πŸ’…

These are methods that return tables of information in the form of a reference to a hash. we love a hashref moment πŸ”₯

🧚 Overrides

  • $cumulus->interfaces() β€” Uses the i_name() field.
  • $cumulus->i_ignore() β€” Ignores interfaces with an "@" in them. if it's got the @, it's not invited βœ‹
  • "agg_ports" β€” Returns a HASH reference mapping from slave to master port for each member of a port bundle on the device. Keys are ifIndex of the slave ports, Values are ifIndex of the corresponding master ports. iconic mapping behaviour tbh πŸ’–

🧚 Table Methods imported from SNMP::Info::Layer3

Check the documentation in SNMP::Info::Layer3 for details.

🧚 Table Methods imported from SNMP::Info::IEEE802dot3ad

Check the documentation in SNMP::Info::IEEE802dot3ad for details.


okay that's the whole page, you ate it πŸ’…βœ¨

this was perl v5.40.1, dated 2026-02-28, and it's the SNMP::...Cumulus(3pm) page under the User Contributed Perl Documentation. ty for reading bestie, mwah πŸ«ΆπŸ’–πŸŽ€

πŸ“¦ where this page comes from