SNMP::Info::Layer3::SilverPeak3pm
Snmp interface to silverpeak devices.
Usage
# 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";
Overview
Abstraction subclass for SilverPeak devices.
Inherited Classes
- SNMP::Info::Layer3
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
- $silverpeak->
uptime() -
returns spsSystemUptime
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!