SNMP::Info::Layer1::Asante - SNMP Interface to old Asante 1012 Hubs
# 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 a Asante device through SNMP.
See "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements.
Culls software version from description()
Returns 'asante' :)
Cross references $asante->id() to the ASANTE-AH1012-MIB and returns the results.
See "GLOBALS" in SNMP::Info::Layer1 for details.
Returns reference to the map between IID and physical Port.
Description of the interface.
MAC address of the interface. Note this is just the MAC of the port, not anything connected to it.
Returns reference to map of IIDs to human-set port name.
Returns reference to map of IIDs to link status. Changes the values of asante_up() to 'up' and 'down'.
Speed of the link, human format.
See "TABLE METHODS" in SNMP::Info::Layer1 for details.