SNMP::Info::Layer1::Asante - SNMP Interface to old Asante 1012 Hubs
Provides abstraction to the configuration information obtainable from a Asante device through SNMP. See inherited classes' documentation for inherited methods.
Inherits from:
SNMP::Info::Layer1
Required MIBs:
ASANTE-HUB1012-MIB - Download from http://www.mibdepot.com
MIBs listed in SNMP::Info::Layer1
Max Baker (max@warped.org)
max@warped.org
my $asante = new SNMP::Info::Layer1::Asante(DestHost => 'mycat1900' , Community => 'public' );
Arguments passed to new() are passed on to SNMP::Session::new()
my $asante = new SNMP::Info::Layer1::Asante( DestHost => $host, Community => 'public', Version => 3,... ) die "Couldn't connect.\n" unless defined $asante;
Sets or returns the SNMP::Session object
# Get my $sess = $asante->session(); # Set my $newsession = new SNMP::Session(...); $asante->session($newsession);
Returns 'asante' :)
Returns IP Address of Managed Hub.
(actualIpAddr)
Trys to cull out AT-nnnnX out of the description field.
Returns reference to map of IIDs to human-set port name.
Returns reference to map of IIDs to link status. Changes the values of ati_up() to 'up' and 'down'.
(portName)
(linkTestLED)
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.