SNMP::...2dot3ad(3pm)

πŸ’– SNMP::...2dot3ad(3pm) πŸ’–

okay so bestie, welcome to the manual page for SNMP::...2dot3ad(3pm) β€” it lives in the User Contributed Perl Documentation corner of the perl universe, and today we're getting into it. grab a strawberry πŸ“ and let's go.


✨ NAME ✨

SNMP::Info::IEEE802dot3ad β€” literally the SNMP Interface to IEEE Aggregated Links. that's it, that's the name πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

SNMP::Info Developers 🫢 (the whole squad, no cap)


🌈 SYNOPSIS 🌈

here's the vibe check β€” this is how you actually use it:

# Let SNMP::Info determine the correct subclass for you.
my $info = new SNMP::Info(
                         AutoSpecify => 1,
                         Debug       => 1,
                         DestHost    => 'myrouter',
                         Community   => 'public',
                         Version     => 2
                       )
   or die "Can't connect to DestHost.\n";

my $class = $info->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";

like, you let it pick its own subclass (main character energy, honestly) and if it can't connect to DestHost it goes die "Can't connect to DestHost.\n". dramatic but fair πŸ’€


πŸ¦‹ DESCRIPTION πŸ¦‹

so this class hands you access to Aggregated Links configuration on devices that implement "IEEE8023-LAG-MIB". it's giving link aggregation, it's giving LAG, it's giving ✨.

IMPORTANT: use or create this in a subclass of SNMP::Info. do not use it directly, bestie, i'm so serious πŸ™ˆ

🌸 Inherited Classes 🌸

  • SNMP::Info::Aggregate

(yes, it inherits from the aggregate class β€” the family tree is cute)

🌸 Required MIBs 🌸

  • IEEE8023-LAG-MIB

no MIB, no magic. that's the whole deal.


πŸ’… METHODS πŸ’…

agg_ports_lag

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

so like, slave β†’ master, every single member, all mapped up. iconic behaviour, honestly. obsessed πŸŽ€


and that's the whole page, bestie! this one's from perl v5.40.1, dated 2026-02-28 β€” so like, mentally note that version and date, she's a specific girlie πŸ’œ. mwah, go configure some aggregates πŸ’–βœ¨

πŸ“¦ where this page comes from