SNMP::Info::Layer1::Allied - SNMP Interface to old Allied Hubs
Provides abstraction to the configuration information obtainable from a Allied device through SNMP. See inherited classes' documentation for inherited methods.
Inherits from:
SNMP::Info::Layer1
Required MIBs:
ATI-MIB - Download for your device from http://www.allied-telesyn.com/allied/support/ MIBs listed in SNMP::Info::Layer1
Max Baker (max@warped.org)
max@warped.org
my $allied = new SNMP::Info::Layer1::Allied(DestHost => 'mycat1900' , Community => 'public' );
Arguments passed to new() are passed on to SNMP::Session::new()
my $allied = new SNMP::Info::Layer1::Allied( DestHost => $host, Community => 'public', Version => 3,... ) die "Couldn't connect.\n" unless defined $allied;
Sets or returns the SNMP::Session object
# Get my $sess = $allied->session(); # Set my $newsession = new SNMP::Session(...); $allied->session($newsession);
Returns 'allied' :)
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.