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-MIBIEEE802dot11-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 thebp_index()value fromSNMP::Info::Bridgeand overrides the wireless port so it gets assigned to the transparent bridge port (that's port0) π$aironet->fw_mac()β adds the static table entries frombs_mac()onto port0so your wireless MAC addresses actually get reported. and btw, the forwarding table entries for port0? removed. gone. not invited π$aironet->fw_port()β adds the static table port mappings into the forwarding table port mappings by addingbs_port()tofw_port()β¨$aironet->i_duplex()β adds the value ofawc_duplex()to every Ethernet port it sees π¦$aironet->i_mac()β overrides the values fori_macwith the value fromawc_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
- 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