AUTHOR
Eric MillerSYNOPSIS
#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";
DESCRIPTION
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(...);
Inherited Classes
- SNMP::Info::Airespace
- SNMP::Info::CDP
- SNMP::Info::Bridge
Required MIBs
- CISCO-LWAPP-DOT11-CLIENT-MIB
- CISCO-LWAPP-DOT11-MIB
- CISCO-LWAPP-AP-MIB
- Inherited Classes' MIBs
-
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.
GLOBALS
These are methods that return scalar value from SNMP- $airespace->vendor()
- Returns 'cisco'
- $airespace->os()
- Returns 'cisco'
- $airespace->model()
- ("agentInventoryMachineModel")
Global Methods imported from SNMP::Info::Airespace
See documentation in ``GLOBALS'' in SNMP::Info::Airespace for details.Global Methods imported from SNMP::Info::CDP
See documentation in ``GLOBALS'' in SNMP::Info::CDP for details.Globals imported from SNMP::Info::Bridge
See documentation in ``GLOBALS'' in SNMP::Info::Bridge for details.TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash.- cd11_mac()
- Returns client radio interface MAC addresses.
- cd11_txrate()
- Returns client transmission speed in Mbs.
Overrides
- i_mac()
- Adds AP Ethernet MAC as port mac on radio ports from "CISCO-LWAPP-AP-MIB".
Table Methods imported from SNMP::Info::Airespace
See documentation in ``TABLE METHODS'' in SNMP::Info::Airespace for details.Table Methods imported from SNMP::Info::CDP
See documentation in ``TABLE METHODS'' in SNMP::Info::CDP for details.Table Methods imported from SNMP::Info::Bridge
See documentation in ``TABLE METHODS'' in SNMP::Info::Bridge for details.Data Munging Callback Subroutines
- munge_cd11n_ch_bw()
- Converts 802.11n channel bandwidth to either 20 or 40.
- munge_cd11_proto()
- Converts 802.11n 2.4Ghz to 1 and 5Ghz to 2 to correspond to the ("cldHtMacOperationsTable") index.
- munge_cd11_rateset()
-
Converts rate set to array.