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-MIB
  • AtiStackInfo-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 πŸ™ˆ

πŸŽ€ 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 of description()
  • $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 of ati_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