NAME
SNMP::Info::Layer3::SilverPeak - SNMP Interface to SilverPeak devices.
AUTHOR
Netdisco Developers
SYNOPSIS
# Let SNMP::Info determine the correct subclass for you.
my $silverpeak = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $silverpeak->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
DESCRIPTION
Abstraction subclass for SilverPeak devices.
Inherited Classes
Required MIBs
SILVERPEAK-MGMT-MIB
SILVERPEAK-PRODUCTS-MIB
- Inherited Classes' MIBs
-
See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements.
GLOBALS
These are methods that return scalar value from SNMP
- $silverpeak->vendor()
-
Returns 'silverpeak'
- $silverpeak->model()
-
Returns the chassis model.
(
SILVERPEAK-PRODUCTS-MIB::model
) - $silverpeak->os()
-
Returns 'silverpeak'
- $silverpeak->os_ver()
-
Returns the software version extracted from (
spsSystemVersion
). - $silverpeak->serial()
-
Returns the chassis serial number.
(
spsSystemSerial
)
Overrides
Globals imported from SNMP::Info::Layer3
See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash.
Table Methods imported from SNMP::Info::Layer3
See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
AUTHOR
Written and contributed by Muris Boric. Many thanks!