++ed by:
KEEDI INPHOBIA ABRAXXA

3 PAUSE users
1 non-PAUSE user.

Author image Max Baker

NAME

SNMP::Info::Layer1::Asante - SNMP Interface to old Asante 1012 Hubs

AUTHOR

Max Baker (max@warped.org)

SYNOPSIS

 # Let SNMP::Info determine the correct subclass for you. 
 my $asante = 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      = $asante->class();
 print "SNMP::Info determined this device to fall under subclass : $class\n";

DESCRIPTION

Provides abstraction to the configuration information obtainable from a Asante device through SNMP.

Inherited Classes

SNMP::Info::Layer1

Required MIBs

ASANTE-HUB1012-MIB

Download from http://www.mibdepot.com

MIBs listed in SNMP::Info::Layer1

GLOBALS

Overrides

$asante->os()

Returns 'asante'

$asante->os_ver()

Culls software version from description()

$asante->vendor()

Returns 'asante' :)

$asante->root_ip()

Returns IP Address of Managed Hub.

(actualIpAddr)

$asante->model()

Trys to cull out AT-nnnnX out of the description field.

Globals inherited from SNMP::Info::Layer1

See documentation in SNMP::Info::Layer1 for details.

TABLE ENTRIES

Overrides

$asante->i_name()

Returns reference to map of IIDs to human-set port name.

$asante->i_up()

Returns reference to map of IIDs to link status. Changes the values of ati_up() to 'up' and 'down'.

Asante MIB

$asante->ati_p_name()

(portName)

$asante->ati_up()

(linkTestLED)

Table Methods imported from SNMP::Info::Layer1

See documentation in SNMP::Info::Layer1 for details.