SNMP::Info::Layer2::Aironet - SNMP Interface to Cisco Aironet devices running IOS.
Max Baker (max@warped.org)
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";
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
Adds info from method e_descr() from SNMP::Info::Entity
Returns 'cisco' :)
See documentation in SNMP::Info::Layer2 for details.
See documentation in SNMP::Info::Entity for details.
See documentation in SNMP::Info::EtherLike for details.
Uses the i_description() field.
Crosses information from SNMP::Info::EtherLike to get duplex info for interfaces.
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.