SNMP::Info::Layer2::Aerohive - SNMP Interface to Aerohive Access Points
Eric Miller
# 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";
Provides abstraction to the configuration information obtainable from an Aerohive wireless Access Point through SNMP.
For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.
my $aerohive = new SNMP::Info::Layer2::Aerohive(...);
See "Required MIBs" in SNMP::Info::Layer2 for its MIB requirements.
These are methods that return scalar value from SNMP
Returns 'aerohive'.
Returns 'hive_os'.
Returns the OS versionl extracted from sysDescr.
sysDescr
Returns the firmware version extracted from ahFirmwareVersion.
ahFirmwareVersion
Returns the model extracted from sysDescr.
Returns the serial number extracted from ahSystemSerial.
ahSystemSerial
Returns 00000111. Layer 2 and Layer 3 functionality through proprietary MIBs.
See "GLOBALS" in SNMP::Info::Layer2 for details.
These are methods that return tables of information in the form of a reference to a hash.
Returns reference to hash. SSID's recognized by the radio interface.
With the same keys as i_ssidlist, returns the Basic service set identification (BSSID), MAC address, the AP is using for the SSID.
Returns reference to hash. Current operating frequency channel of the radio interface.
ahRadioChannel
Returns reference to hash. Current transmit power, in milliwatts, of the radio interface.
ahRadioTxPower
Returns radio interfaces.
Returns client radio interface MAC addresses.
Simulates bridge MIB by returning reference to a hash mapping i_index() to the interface iid.
Returns reference to hash of forwarding table entries port interface identifier (iid)
Returns reference to hash of forwarding table MAC Addresses
ahClientMac
Returns reference to hash of forwarding table entries VLAN ID
ahClientVLAN
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.
ahClientIP
See "TABLE METHODS" in SNMP::Info::Layer2 for details.
To install SNMP::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SNMP::Info
CPAN shell
perl -MCPAN -e shell install SNMP::Info
For more information on module installation, please visit the detailed CPAN module installation guide.