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-MIBNET-SNMP-TCHOST-RESOURCES-MIB
π« Inherited Classes' MIBs
- Check
SNMP::Info::Layer3for its own MIB requirements, bestie β it's got its own list. - Also check
SNMP::Info::IEEE802dot3adfor 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 useorig_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 thei_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
- 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