SNMP::Info::Layer2::Aironet - SNMP Interface to Cisco Aironet devices running IOS.
Max Baker
# 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";
Provides interface to SNMP Data available on newer Aironet devices running Cisco IOS.
Note there are two classes for Aironet devices :
This class is for devices running Aironet software (older)
This class is for devices running Cisco IOS software (newer)
For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.
my $aironet = new SNMP::Info::Layer2::Aironet(...);
MIBs required by the inherited classes listed above.
These are methods that return scalar value from SNMP
discription()
Adds info from method e_descr()
from SNMP::Info::Entity
vendor()
Returns 'cisco'
description()
System description
See documentation in GLOBALS in the SNMP::Info::Layer2 manpage for details.
See documentation in GLOBALS in the SNMP::Info::Entity manpage for details.
See documentation in GLOBALS in the SNMP::Info::EtherLike manpage for details.
cd11_port()
Returns radio interfaces.
cd11_mac()
Returns radio interface MAC addresses.
cd11_ssid()
Returns radio interface ssid.
dot11_cur_tx_pwr_mw()
Current transmit power, in milliwatts, of the radio interface.
interfaces()
Uses the i_description()
field.
i_mac()
MAC address of the interface. Note this is just the MAC of the port, not anything connected to it.
i_duplex()
Crosses information from SNMP::Info::EtherLike to get duplex info for interfaces.
bp_index()
Returns reference to hash of bridge port table entries map back to interface identifier (iid)
fw_mac()
Returns reference to hash of forwarding table MAC Addresses
fw_port()
Returns reference to hash of forwarding table entries port interface identifier (iid)
i_vlan()
Returns a mapping between ifIndex
and the PVID or default VLAN.
v_index()
Returns VLAN IDs
v_name()
Returns VLAN names
i_ssidlist()
Returns a list of SSIDs associated with interfaces. This function
is MBSSID
aware, so when using MBSSID
can map SSIDs to the sub-interface
to which they belong.
i_ssidbcast()
With the same keys as i_ssidlist, returns whether the given SSID is being broadcast.
See documentation in TABLE METHODS in the SNMP::Info::Layer2 manpage for details.
See documentation in TABLE METHODS in the SNMP::Info::Entity manpage for details.
See documentation in TABLE METHODS in the SNMP::Info::EtherLike manpage for details.
munge_cd11_txrate()
Converts units of half a megabit to human readable string.