NAME
SNMP::Info::Layer2::Aironet - SNMP Interface to Cisco Aironet devices running IOS.
AUTHOR
Max Baker (max@warped.org
)
SYNOPSIS
# 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";
DESCRIPTION
Provides interface to SNMP Data available on newer Aironet devices running Cisco IOS.
Note there are two classes for Aironet devices :
- SNMP::Info::Layer3::Aironet
-
This class is for devices running Aironet software (older)
- SNMP::Info::Layer2::Aironet
-
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(...);
Inherited Classes
Required MIBs
GLOBALS
These are methods that return scalar value from SNMP
- $aironet->discription()
-
Adds info from method e_descr() from SNMP::Info::Entity
- $aironet->vendor()
-
Returns 'cisco' :)
Globals imported from SNMP::Info::Layer2
See documentation in SNMP::Info::Layer2 for details.
Globals imported from SNMP::Info::Entity
See documentation in SNMP::Info::Entity for details.
Globals imported from SNMP::Info::EtherLike
See documentation in SNMP::Info::EtherLike for details.
TABLE ENTRIES
Overrides
- $aironet->interfaces()
-
Uses the i_description() field.
- $aironet->i_duplex()
-
Crosses information from SNMP::Info::EtherLike to get duplex info for interfaces.
Table Methods imported from SNMP::Info::Layer2
See documentation in SNMP::Info::Layer2 for details.
Table Methods imported from SNMP::Info::Entity
See documentation in SNMP::Info::Entity for details.
Table Methods imported from SNMP::Info::EtherLike
See documentation in SNMP::Info::EtherLike for details.