SNMP::...Arista(3pm)
β¨ SNMP::...Arista(3pm) β¨
okay bestie, welcome to SNMP::Info::Layer3::Arista β the part of the User Contributed Perl Documentation that is literally just the SNMP Interface to Arista Networks EOS π she's a perl module, she's a subclass, she's everything β¨
πΈ AUTHOR πΈ
Bill Fenner π«Ά (iconic behavior, no cap)
π SYNOPSIS π
# Let SNMP::Info determine the correct subclass for you.
my $arista = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly to SNMP::Session
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $arista->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
like, you just let SNMP::Info do the vibe check and pick the right subclass for u π
π¦ DESCRIPTION π¦
She's the subclass for Arista Networks EOS-based devices. that's the whole assignment. main character energy fr fr π
π Inherited Classes
SNMP::Info::AggregateSNMP::Info::Layer3SNMP::Info::MAU
π Required MIBs
ARISTA-PRODUCTS-MIB
π Inherited Classes' MIBs
- See "Required MIBs" in
SNMP::Info::Layer3for its own MIB requirements. - See "Required MIBs" in
SNMP::Info::Aggregatefor its own MIB requirements. - See "Required MIBs" in
SNMP::Info::MAUfor its own MIB requirements.
π GLOBALS π
these are methods that return scalar values from SNMP β one little fact per method, she's lowkey efficient π
$arista->vendor()β Returns'arista'$arista->model()β Tries to reference$arista->id()to one of the product MIBs listed above. Also removes'arista'from the name, bc readability, obviously β¨$arista->os()β Returns'EOS'$arista->os_ver()β Grabs the os version from"sysDescr"
π§ Global Methods imported from SNMP::Info::Layer3
See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
π Global Methods imported from SNMP::Info::MAU
See documentation in "GLOBALS" in SNMP::Info::MAU for details.
π₯ TABLE METHODS π₯
these ones hand u back tables of information, in the form of a reference to a hash. it's giving organized π«Ά
$arista->i_duplex_admin()β Returns info fromMAU-MIB$arista->i_speed_admin()β Returns info fromMAU-MIB$arista->lldp_if()β Returns the mapping to the SNMP Interface Table.agg_portsβ Returns a HASH reference mapping from slave to master port for each member of a port bundle on the device. Keys areifIndexof the slave ports, Values areifIndexof the corresponding master ports.
π Table Methods imported from SNMP::Info::Layer3
See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
πΈ Table Methods imported from SNMP::Info::MAU
See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
π SET METHODS π
these are methods that provide SNMP set functionality for overridden methods, or that give u a simpler interface to complex set operations. See "SETTING DATA VIA SNMP" in SNMP::Info for general information on set operations β iykyk π
set_i_vlan()
ngl bestie, that set method list is short and she's mysterious. that's just what the page says, so that's what I'm giving u π
and that's the whole page, mwah π brought to u by perl v5.40.1, dated 2026-02-28 β slay, go configure some switches, 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