NAME
SNMP::Info::Layer1::Cyclades - SNMP Interface to Cyclades/Avocent terminal servers
AUTHOR
Eric Miller
SYNOPSIS
#Let SNMP::Info determine the correct subclass for you.
my $cyclades = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly to SNMP::Session
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $cyclades->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
DESCRIPTION
Provides abstraction to the configuration information obtainable from a Cyclades/Avocent device through SNMP.
For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.
my $cyclades = new SNMP::Info::Layer1::Cyclades(...);
Inherited Classes
Required MIBs
- CYCLADES-ACS-SYS-MIB
- CYCLADES-ACS-CONF-MIB
- CYCLADES-ACS-INFO-MIB
- CYCLADES-ACS5K-SYS-MIB
- CYCLADES-ACS5K-CONF-MIB
- CYCLADES-ACS5K-INFO-MIB
- ACS6000-MIB
Inherited MIBs
See "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements.
GLOBALS
These are methods that return scalar value from SNMP
- $cyclades->os_ver()
-
(
acsFirmwareVersion
), (cyACS5Kversion
), or (cyACSversion
) - $cyclades->serial()
-
(
acsSerialNumber
), (cyACS5KDevId
), or (cyACSDevId
) - $cyclades->root_ip()
-
(
cyEthIPaddr
) - $cyclades->ps1_status()
-
(
acsPowerSupplyStatePw1
), (cyACS5KPw1
), or (cyACSPw1
) - $cyclades->ps2_status()
-
(
acsPowerSupplyStatePw2
), (cyACS5KPw2
), or (cyACSPw2
)
Overrides
- $cyclades->layers()
-
Returns 01000001. These devices don't have a FDB and we probably don't want to poll for an ARP cache so turn off reported Layer 2 and Layer 3.
- $cyclades->vendor()
-
Returns 'vertiv'
- $cyclades->os()
-
Returns 'avocent'
- $cyclades->model()
-
Returns lower case (
cyACSpname
) or (acsProductModel
) if it exists otherwise tries to reference $cyclades->id() to one of the MIBs listed above
Globals imported from SNMP::Info::Layer1
See "GLOBALS" in SNMP::Info::Layer1 for details.
TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash.
Overrides
- $cyclades->i_index()
-
Returns reference to map of IIDs to Interface index.
Extended to include serial ports. Serial ports are indexed with the alternative labeling system for the serial port, either the listening socket port
cySPortSocketPort
oracsSerialPortTableDeviceName
name to avoid conflicts withifIndex
. - $cyclades->interfaces()
-
Returns reference to map of IIDs to physical ports. Extended to include serial ports,
acsSerialPortTableDeviceName
orcyISPortTty
. - $cyclades->i_speed()
-
Returns interface speed. Extended to include serial ports,
acsSerialPortTableComSpeed
orcyISPortSpeed
. - $cyclades->i_up()
-
Returns link status for each port. Extended to include serial ports,
acsSerialPortTableSignalStateDCD
orcyISPortSigCD
. - $cyclades->i_description()
-
Returns description of each port. Extended to include serial ports,
acsSerialPortTableName
orcyISPortName
. - $cyclades->i_name()
-
Returns name of each port. Extended to include serial ports,
acsSerialPortTableName
orcyISPortName
.
Table Methods imported from SNMP::Info::Layer1
See "TABLE METHODS" in SNMP::Info::Layer1 for details.