SNMP::...Allied(3pm)
β¨ SNMP::Info::Layer2::Allied π
okay bestie, this is the SNMP::...Allied(3pm) page from the User Contributed Perl Documentation, and it's literally the whole vibe for talking to Allied Telesis switches over SNMP. no cap.
π NAME
SNMP::Info::Layer2::Allied β the SNMP Interface to Allied Telesis switches. that's it, that's the whole name, she's concise and she ate.
π AUTHOR
Max Baker, Dmitry Sergienko <dmitry@trifle.net>. iconic duo, we stan π«Ά
πΈ SYNOPSIS
okay so here's how you actually use her. you let SNMP::Info do the matchmaking and figure out the correct subclass for you, no cap:
# Let SNMP::Info determine the correct subclass for you.
my $allied = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myhub',
Community => 'public',
Version => 1
)
or die "Can't connect to DestHost.\n";
my $class = $allied->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
lowkey the coolest part is that last bit β she tells you which subclass you landed in. main character behavior fr fr π
π¦ DESCRIPTION
She provides abstraction to the configuration information you can get off an Allied device through SNMP. anything she inherited? check the inherited classes' docs for those inherited methods, bestie.
π Inherited Classes
SNMP::Info::Layer2
π Required MIBs
AtiSwitch-MIBAtiStackInfo-MIB- go download it for your specific device from
ftp://ftp.allied-telesyn.com/pub/switches/mibs/β yes it's an ftp link, we don't make the rules π
- go download it for your specific device from
π Inherited MIBs
For the MIB requirements she inherited, see "Required MIBs" in SNMP::Info::Layer2.
β GLOBALS
These are methods that return scalar values straight from SNMP. little snack-sized values, obsessed.
π Overrides
$allied->vendor()β returns'allied'$allied->os()β returns'allied'$allied->os_ver()β culls the Version out ofdescription()$allied->root_ip()β returns the IP Address of the Managed Device, from"actualIpAddr"$allied->model()β tries to cull out"AT-nnnnX"out of the description field$allied->mac()β returns the device MAC
π Globals imported from SNMP::Info::Layer2
See "GLOBALS" in SNMP::Info::Layer2 for details.
π TABLE METHODS
π Overrides
$allied->i_up()β returns a reference to a map of IIDs to link status. she changes the values ofati_up()to'up'and'down'. no ambiguity, periodt.
π Table Methods imported from SNMP::Info::Layer2
See "TABLE METHODS" in SNMP::Info::Layer2 for details.
and that's the whole page, bestie π this was perl v5.40.1, dated 2026-02-28, and it's still giving SNMP::...Allied(3pm) after all this time. slay π
π¦ 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