GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SNMP::Info::Layer1::Asante(3) User Contributed Perl Documentation SNMP::Info::Layer1::Asante(3)

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

Max Baker

 # Let SNMP::Info determine the correct subclass for you.
 my $asante = new SNMP::Info(
                          AutoSpecify => 1,
                          Debug       => 1,
                          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";

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

SNMP::Info::Layer1

ASANTE-AH1012-MIB

See "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements.

$asante->os()
Returns 'asante'
$asante->os_ver()
Culls software version from description()
$asante->vendor()
Returns 'asante'
$asante->model()
Cross references $asante->id() to the ASANTE-AH1012-MIB and returns the results.

See "GLOBALS" in SNMP::Info::Layer1 for details.

$asante->interfaces()
Returns reference to the map between IID and physical Port.
$asante->i_description()
Description of the interface.
$asante->i_mac()
MAC address of the interface. Note this is just the MAC of the port, not anything connected to it.
$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 asante_up() to 'up' and 'down'.
$asante->i_speed()
Speed of the link, human format.

$asante->ati_p_name()
("portName")
$asante->ati_up()
("linkTestLED")

See "TABLE METHODS" in SNMP::Info::Layer1 for details.
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.