The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DESCRIPTION

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

AUTHOR

Max Baker (max@warped.org)

SYNOPSIS

 my $asante = new SNMP::Info::Layer1::Asante(DestHost  => 'mycat1900' , 
                              Community => 'public' ); 

CREATING AN OBJECT

new SNMP::Info::Layer1::Asante()

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;
$asante->session()

Sets or returns the SNMP::Session object

    # Get
    my $sess = $asante->session();

    # Set
    my $newsession = new SNMP::Session(...);
    $asante->session($newsession);

GLOBALS

$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.

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)