SNMP::...::VyOS(3pm)
π SNMP::Info::Layer3::VyOS π
okay bestie so this is SNMP::Info::Layer3::VyOS β the SNMP Interface to Vyatta Devices π¦ and yes it lives in the User Contributed Perl Documentation section, it's a 3pm page, iykyk.
β¨ NAME β¨
SNMP::Info::Layer3::VyOS β SNMP Interface to Vyatta Devices π
β¨ SYNOPSIS β¨
okay so here's the whole vibe, let SNMP::Info figure out which subclass you actually need so you don't have to:
# Let SNMP::Info determine the correct subclass for you.
my $vyos = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myrouter',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $vyos->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
like. it literally introduces itself. main character energy fr π
β¨ DESCRIPTION β¨
this is the subclass for Vyatta Devices running VyOS πΈ
π«Ά Inherited Classes
SNMP::Info::Layer3
π«Ά Inherited Classes' MIBs
- See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements, bestie, it's got its own whole list over there.
β¨ GLOBALS β¨
these are the methods that return a scalar value from SNMP, no table drama, just one lil value at a time β
$vyos->layers()β Returns support for 3, 4 and 7. all three, iconic π$vyos->os()β Returns'VyOS'or'Vyatta'π¦$vyos->model()β Returns the OS. (yes, the OS. that's what it said. we don't question the vibes.)$vyos->vendor()β Returns the OS. (same deal, that's the truth of it π)$vyos->os_ver()β Returns the software version extracted fromsysDescr.$vyos->serial()β Returns serial number. the one that's actually printed on the box π
π Globals imported from SNMP::Info::Layer3
- See documentation in "GLOBALS" in SNMP::Info::Layer3 for details, bestie, all the deets are over there.
β¨ TABLE METHODS β¨
π Table Methods imported from SNMP::Info::Layer3
- See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
π lowkey pro tip from the page itself: this whole thing rides on top of SNMP::Info::Layer3 for a bunch of its globals and its table methods, so if something's not listed here, that's where it's hiding. no cap.
and that's the whole page, bestie!! πβ¨ this was generated by perl v5.40.1 on 2026-02-28, and it belongs to the SNMP::...::VyOS(3pm) page in the User Contributed Perl Documentation. 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