1SNMP::Info::Layer1::CycUlsaedresC(o3n)tributed Perl DocuSmNeMnPt:a:tIinofno::Layer1::Cyclades(3)
2
3
4

NAME

6       SNMP::Info::Layer1::Cyclades - SNMP Interface to Cyclades/Avocent
7       terminal servers
8

AUTHOR

10       Eric Miller
11

SYNOPSIS

13           #Let SNMP::Info determine the correct subclass for you.
14
15           my $cyclades = new SNMP::Info(
16                               AutoSpecify => 1,
17                               Debug       => 1,
18                               # These arguments are passed directly to SNMP::Session
19                               DestHost    => 'myswitch',
20                               Community   => 'public',
21                               Version     => 2
22                               )
23
24           or die "Can't connect to DestHost.\n";
25
26           my $class = $cyclades->class();
27           print "SNMP::Info determined this device to fall under subclass : $class\n";
28

DESCRIPTION

30       Provides abstraction to the configuration information obtainable from a
31       Cyclades/Avocent device through SNMP.
32
33       For speed or debugging purposes you can call the subclass directly, but
34       not after determining a more specific class using the method above.
35
36       my $cyclades = new SNMP::Info::Layer1::Cyclades(...);
37
38   Inherited Classes
39       SNMP::Info::Layer1
40
41   Required MIBs
42       CYCLADES-ACS-SYS-MIB
43       CYCLADES-ACS-CONF-MIB
44       CYCLADES-ACS-INFO-MIB
45       CYCLADES-ACS5K-SYS-MIB
46       CYCLADES-ACS5K-CONF-MIB
47       CYCLADES-ACS5K-INFO-MIB
48       ACS6000-MIB
49
50   Inherited MIBs
51       See "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements.
52

GLOBALS

54       These are methods that return scalar value from SNMP
55
56       $cyclades->os_ver()
57           ("acsFirmwareVersion"), ("cyACS5Kversion"), or ("cyACSversion")
58
59       $cyclades->serial()
60           ("acsSerialNumber"), ("cyACS5KDevId"), or ("cyACSDevId")
61
62       $cyclades->root_ip()
63           ("cyEthIPaddr")
64
65       $cyclades->ps1_status()
66           ("acsPowerSupplyStatePw1"), ("cyACS5KPw1"), or ("cyACSPw1")
67
68       $cyclades->ps2_status()
69           ("acsPowerSupplyStatePw2"), ("cyACS5KPw2"), or ("cyACSPw2")
70
71   Overrides
72       $cyclades->layers()
73           Returns 01000001.  These devices don't have a FDB and we probably
74           don't want to poll for an ARP cache so turn off reported Layer 2
75           and Layer 3.
76
77       $cyclades->vendor()
78           Returns 'vertiv'
79
80       $cyclades->os()
81           Returns 'avocent'
82
83       $cyclades->model()
84           Returns lower case ("cyACSpname") or ("acsProductModel") if it
85           exists otherwise tries to reference $cyclades->id() to one of the
86           MIBs listed above
87
88   Globals imported from SNMP::Info::Layer1
89       See "GLOBALS" in SNMP::Info::Layer1 for details.
90

TABLE METHODS

92       These are methods that return tables of information in the form of a
93       reference to a hash.
94
95   Overrides
96       $cyclades->i_index()
97           Returns reference to map of IIDs to Interface index.
98
99           Extended to include serial ports.  Serial ports are indexed with
100           the alternative labeling system for the serial port, either the
101           listening socket port "cySPortSocketPort" or
102           "acsSerialPortTableDeviceName" name to avoid conflicts with
103           "ifIndex".
104
105       $cyclades->interfaces()
106           Returns reference to map of IIDs to physical ports.  Extended to
107           include serial ports, "acsSerialPortTableDeviceName" or
108           "cyISPortTty".
109
110       $cyclades->i_speed()
111           Returns interface speed.  Extended to include serial ports,
112           "acsSerialPortTableComSpeed" or "cyISPortSpeed".
113
114       $cyclades->i_up()
115           Returns link status for each port.  Extended to include serial
116           ports, "acsSerialPortTableSignalStateDCD" or "cyISPortSigCD".
117
118       $cyclades->i_description()
119           Returns description of each port.  Extended to include serial
120           ports, "acsSerialPortTableName" or "cyISPortName".
121
122       $cyclades->i_name()
123           Returns name of each port.  Extended to include serial ports,
124           "acsSerialPortTableName" or "cyISPortName".
125
126   Table Methods imported from SNMP::Info::Layer1
127       See "TABLE METHODS" in SNMP::Info::Layer1 for details.
128
129
130
131perl v5.28.1                      2019-04-04   SNMP::Info::Layer1::Cyclades(3)
Impressum