SNMP::Info::Layer3::Aironet - Perl5 Interface to Cisco Aironet Wireless Devices running Aironet software, not IOS
Max Baker (max@warped.org)
# Let SNMP::Info determine the correct subclass for you.
my $aironet = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly on to SNMP::Session
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";
SNMP::Info subclass to provide access to SNMP data for an Aironet device running Aironet software, not cisco IOS.
Note there are two classes for Aironet devices :
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::Layer3::Aironet(...);
These MIBs are now included in the v2.tar.gz archive available from ftp.cisco.com. Make sure you have a current version.
These are methods that return scalar value from SNMP
awc_duplex()awcEtherDuplex.0
mac()dot11StationID.2
os()vendor()
See documentation in SNMP::Info::Layer3 for details.
These are methods that return tables of information in the form of a reference to a hash.
bp_index()bp_index() value from SNMP::Info::Bridge and overrides the wireless port
to be assigned to the transparent bridge port (port 0)
fw_mac()bs_mac() to port 0 so that wireless MAC addresses will
be reported. Forwarding table entries for port 0 are removed.
fw_port()bs_port() to fw_port()
i_duplex()awc_duplex() to each Ethernet port seen.
i_mac()awc_mac() if they are set.
i_ignore()
awc_default_mac()awcIfDefaultPhyAddress
awc_mac()awcIfPhyAddress
awc_ip()awcIfIpAddress
awc_netmask()awcIfIpNetMask
awc_msdu()
See documentation in SNMP::Info::Layer3 for details.