SNMP::...rohive(3pm)
π NAME π
SNMP::Info::Layer2::Aerohive β literally the SNMP Interface to Aerohive / Extreme access points, bestie. That's the whole vibe. π¦
π AUTHOR π
Eric Miller. Respect the icon, no cap. π«Ά
β¨ SYNOPSIS β¨
okay so here's how you let the module figure out which subclass you actually need, so you don't have to do detective work yourself:
# Let SNMP::Info determine the correct subclass for you.
my $aerohive = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $aerohive->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
periodt. that's it, that's the ritual. π
πΈ DESCRIPTION πΈ
It gives you abstraction to the configuration info you can grab from an Aerohive / Extreme wireless access point through SNMP. fr fr, that's the gig. β¨
π§ Inherited Classes
SNMP::Info::Layer2
π Required MIBs
AH-SYSTEM-MIBAH-INTERFACE-MIB
π Inherited MIBs
See "Required MIBs" in SNMP::Info::Layer2 for its MIB requirements. go look, i'll wait. π
π GLOBALS π
These are methods that return scalar value from SNMP. little single-value girlypops.
$aerohive->vendor()β Returns'aerohive'.$aerohive->os()β Returns'hiveos', also for devices running IQ Engine code.$aerohive->serial()β Returns the serial number extracted from"ahSystemSerial"or defer to imported modules.$aerohive->os_ver()β Returns the OS version extracted from"ahFirmwareVersion"or"sysDescr"as fallback.$aerohive->mac()β Returns the base mac address of the aerohive unit from an undocumented snmp oid. if this oid is not available it will walk all interfaces and return the lowest numbered mac address. (undocumented oid behavior? lowkey giving "trust me bro" but it's in the source so π)$aerohive->model()β Returns"ahDeviceMode", if that's not available the model is extracted from"sysDescr".
π₯ Overrides
$aerohive->layers()β Returns00000111. Layer 2 and Layer 3 functionality through proprietary MIBs. both layers, she's doing the most, we love her. π
β Global Methods imported from SNMP::Info::Layer2
See "GLOBALS" in SNMP::Info::Layer2 for details.
π TABLE METHODS π
These are methods that return tables of information in the form of a reference to a hash. hash girlies rise up. π
$aerohive->i_ssidlist()β Returns reference to hash. SSID's recognized by the radio interface.$aerohive->i_ssidmac()β With the same keys asi_ssidlist, returns the Basic service set identification (BSSID), MAC address, the AP is using for the SSID.$aerohive->i_80211channel()β Returns reference to hash. Current operating frequency channel of the radio interface.
"ahRadioChannel"
$aerohive->dot11_cur_tx_pwr_mw()β Returns reference to hash. Current transmit power, in milliwatts, of the radio interface.
"ahRadioTxPower"
$aerohive->cd11_port()β Returns radio interfaces.$aerohive->cd11_mac()β Returns client radio interface MAC addresses.
π Overrides
$aerohive->interfaces()β Only return interfaces which have an entry inahIfNameas well. This halts the creation of ghost interfaces. no ghosting allowed on this network bestie π»π«$aerohive->bp_index()β Simulates bridge MIB by returning reference to a hash mappingi_index()to the interface iid.$aerohive->qb_fw_port()β Returns reference to hash of forwarding table entries port interface identifier (iid).$aerohive->qb_fw_mac()β Returns reference to hash of forwarding table MAC Addresses.
"ahClientMac"
$aerohive->qb_fw_vlan()β Returns reference to hash of forwarding table entries VLAN ID.
"ahClientVLAN"
π¦ Arp Cache Table Augmentation π¦
The AP has knowledge of MAC->IP mappings for wireless clients. Augmenting the arp cache data with these MAC->IP mappings enables visibility for stations that only communicate locally. serving looks for the local-only girlies π
$aerohive->at_paddr()β"ahClientMac"$aerohive->at_netaddr()β"ahClientIP"
π Table Methods imported from SNMP::Info::Layer2
See "TABLE METHODS" in SNMP::Info::Layer2 for details.
okay that's the whole page, slay. this was SNMP::...rohive(3pm) in the User Contributed Perl Documentation, built with perl v5.40.1 and dated 2026-02-28. go be the main character of your own network, ily π«Άβ¨π
π¦ 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