SNMP::Info::Layer2::Allied - SNMP Interface to Allied Telesyn switches
Max Baker (max@warped.org)
# Let SNMP::Info determine the correct subclass for you.
my $allied = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly on to SNMP::Session
DestHost => 'myhub',
Community => 'public',
Version => 1
)
or die "Can't connect to DestHost.\n";
my $class = $l1->class(); print "SNMP::Info determined this device to fall under subclass : $class\n";
Provides abstraction to the configuration information obtainable from a Allied device through SNMP. See inherited classes' documentation for inherited methods.
These are methods that return scalar value from SNMP
vendor()os()os_ver()description()
root_ip()(actualIpAddr)
model()
See documentation in SNMP::Info::Layer1 for details.
i_name()i_up()ati_up() to 'up' and 'down'.