SNMP::...Aironet(3pm)

πŸ’… NAME πŸ’…

SNMP::Info::Layer3::Aironet β€” a Perl5 interface to your Cisco Aironet wireless devices that are running Aironet software, bestie. Not IOS. We do not do IOS here. πŸ™…β™€οΈ


✨ AUTHOR ✨

Max Baker 🫢 (yes, the legend himself)


πŸŽ€ SYNOPSIS πŸŽ€

okay so first things first, let SNMP::Info do the detective work for you:

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

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

like, it literally just figures out which subclass you need and tells you. main character behaviour fr fr πŸ’–


🌸 DESCRIPTION 🌸

So SNMP::Info::Layer3::Aironet is an SNMP::Info subclass that gives you access to SNMP data for an Aironet device running Aironet software β€” and NOT cisco IOS. important distinction, don't mix them up πŸ’€

heads up bestie, there are two classes for Aironet devices and they are NOT the same vibe:
  • SNMP::Info::Layer3::Aironet β€” this one's for devices running Aironet software (the older ones)
  • SNMP::Info::Layer2::Aironet β€” this one's for devices running Cisco IOS software (the newer ones)

If you're doing it for speed or for debugging, you can call the subclass directly β€” but NOT after you've already figured out a more specific class using the method up in the SYNOPSIS. that would be giving messy energy:

 my $aironet = new SNMP::Info::Layer3::Aironet(...);

🧬 Inherited Classes 🧬

  • SNMP::Info::Layer3 β€” that's the family tree, she inherits from here πŸ’–

πŸ“š Required MIBs πŸ“š

  • AWCVX-MIB
  • IEEE802dot11-MIB

no MIBs, no data, no slay. periodt.


πŸ‘‘ GLOBALS πŸ‘‘

these are the methods that return a scalar value straight from SNMP. little single-value snacks ✨

  • $aironet->awc_duplex() β€” gives you the admin duplex setting for the Ethernet Port. comes from "awcEtherDuplex.0" πŸ’…
  • $aironet->mac() β€” gives you the MAC address of the wireless side. source of truth: "dot11StationID.2" πŸ¦‹
  • $aironet->os() β€” returns 'aironet'. that's it, that's the whole personality πŸŽ€
  • $aironet->os_ver β€” tries to cull the version out of the description field. lowkey a little scavenger hunt πŸ”
  • $aironet->vendor() β€” returns 'cisco'. πŸ’œ

🌈 Globals imported from SNMP::Info::Layer3 🌈

peep the docs over at "GLOBALS" in SNMP::Info::Layer3 for all the deets, bestie 🫢


πŸ”₯ TABLE METHODS πŸ”₯

these ones return tables of info as a reference to a hash. like, whole grids of data. very demure, very mindful πŸ“Š

πŸ’… Overrides πŸ’…

  • $aironet->bp_index() β€” takes the bp_index() value from SNMP::Info::Bridge and overrides the wireless port so it gets assigned to the transparent bridge port (that's port 0) πŸ‘‘
  • $aironet->fw_mac() β€” adds the static table entries from bs_mac() onto port 0 so your wireless MAC addresses actually get reported. and btw, the forwarding table entries for port 0? removed. gone. not invited πŸ’€
  • $aironet->fw_port() β€” adds the static table port mappings into the forwarding table port mappings by adding bs_port() to fw_port() ✨
  • $aironet->i_duplex() β€” adds the value of awc_duplex() to every Ethernet port it sees πŸ¦‹
  • $aironet->i_mac() β€” overrides the values for i_mac with the value from awc_mac() if they're set 🌸
  • $aironet->i_ignore() β€” ignores any ports of type `rptr` and `lo`. not them. blocked πŸ™ˆ

πŸ“ Aironet specific items πŸ“

  • $aironet->awc_default_mac() β€” gives you the default MAC address of each interface. source: "awcIfDefaultPhysAddress" πŸ’–
  • $aironet->awc_mac() β€” gives you the actual MAC address of each interface. source: "awcIfPhysAddress" πŸ‘‘
  • $aironet->awc_ip() β€” gives you the IP address assigned to each interface. source: "awcIfIpAddress" ⭐
  • $aironet->awc_netmask() β€” gives you the NetMask for each interface. source: "awcIfIpNetMask" 🌈
  • $aironet->awc_msdu() β€” maps to "awcIfMSDUMaxLength" πŸ’œ

🧚 Table Methods imported from SNMP::Info::Layer3 🧚

check out "TABLE METHODS" in SNMP::Info::Layer3 for the full rundown, iykyk πŸ’…


and that's the whole page bestie!! πŸŽ€ no cap, this one shipped as perl v5.40.1 on 2026-02-28, part of the User Contributed Perl Documentation set. go forth and SNMP responsibly πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from