SNMP::Info::Layer2::Airespace - SNMP Interface to Cisco (Airespace) Wireless Controllers
Eric Miller
#Let SNMP::Info determine the correct subclass for you. my $airespace = new SNMP::Info( AutoSpecify => 1, Debug => 1, DestHost => 'myswitch', Community => 'public', Version => 2 ) or die "Can't connect to DestHost.\n"; my $class = $airespace->class(); print " Using device sub class : $class\n";
Provides abstraction to the configuration information obtainable from Cisco (Airespace) Wireless Controllers 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 $airespace = new SNMP::Info::Layer2::Airespace(...);
See "Required MIBs" in SNMP::Info::Airespace for its own MIB requirements.
See "Required MIBs" in SNMP::Info::CDP for its own MIB requirements.
See "Required MIBs" in SNMP::Info::Bridge for its own MIB requirements.
These are methods that return scalar value from SNMP
Returns 'cisco'
(agentInventoryMachineModel)
agentInventoryMachineModel
See documentation in "GLOBALS" in SNMP::Info::Airespace for details.
See documentation in "GLOBALS" in SNMP::Info::CDP for details.
See documentation in "GLOBALS" in SNMP::Info::Bridge for details.
These are methods that return tables of information in the form of a reference to a hash.
Returns client radio interface MAC addresses.
Returns client transmission speed in Mbs.
Adds AP Ethernet MAC as port mac on radio ports from CISCO-LWAPP-AP-MIB.
CISCO-LWAPP-AP-MIB
See documentation in "TABLE METHODS" in SNMP::Info::Airespace for details.
See documentation in "TABLE METHODS" in SNMP::Info::CDP for details.
See documentation in "TABLE METHODS" in SNMP::Info::Bridge for details.
Converts 802.11n channel bandwidth to either 20 or 40.
Converts 802.11n 2.4Ghz to 1 and 5Ghz to 2 to correspond to the (cldHtMacOperationsTable) index.
cldHtMacOperationsTable
Converts rate set to array.
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.