1SNMP::Info::Layer1::CycUlsaedresC(o3nptmr)ibuted Perl DoScNuMmPe:n:tIantfioo:n:Layer1::Cyclades(3pm)
2
3
4
6 SNMP::Info::Layer1::Cyclades - SNMP Interface to Cyclades/Avocent
7 terminal servers
8
10 Eric Miller
11
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
30 Provides abstraction to the configuration information obtainable from a
31 Cyclades/Avocent device through SNMP.
32
33 Inherited Classes
34 SNMP::Info::Layer1
35
36 Required MIBs
37 ACS-MIB
38 ACS6000-MIB
39 CYCLADES-ACS-SYS-MIB
40 CYCLADES-ACS-CONF-MIB
41 CYCLADES-ACS-INFO-MIB
42 CYCLADES-ACS5K-SYS-MIB
43 CYCLADES-ACS5K-CONF-MIB
44 CYCLADES-ACS5K-INFO-MIB
45
46 Inherited MIBs
47 See "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements.
48
50 These are methods that return scalar value from SNMP
51
52 $cyclades->os_ver()
53 ("acsFirmwareVersion"), ("cyACS5Kversion"), or ("cyACSversion")
54
55 $cyclades->serial()
56 ("acsSerialNumber"), ("cyACS5KDevId"), or ("cyACSDevId")
57
58 $cyclades->root_ip()
59 ("cyEthIPaddr")
60
61 $cyclades->ps1_status()
62 ("acsPowerSupplyStatePw1"), ("cyACS5KPw1"), or ("cyACSPw1")
63
64 $cyclades->ps2_status()
65 ("acsPowerSupplyStatePw2"), ("cyACS5KPw2"), or ("cyACSPw2")
66
67 Overrides
68 $cyclades->layers()
69 Returns 01000001. These devices don't have a FDB and we probably
70 don't want to poll for an ARP cache so turn off reported Layer 2
71 and Layer 3.
72
73 $cyclades->vendor()
74 Returns 'vertiv'
75
76 $cyclades->os()
77 Returns 'avocent'
78
79 $cyclades->model()
80 Returns lower case ("cyACSpname") or ("acsProductModel") if it
81 exists otherwise tries to reference $cyclades->id() to one of the
82 MIBs listed above
83
84 Globals imported from SNMP::Info::Layer1
85 See "GLOBALS" in SNMP::Info::Layer1 for details.
86
88 These are methods that return tables of information in the form of a
89 reference to a hash.
90
91 Overrides
92 $cyclades->i_index()
93 Returns reference to map of IIDs to Interface index.
94
95 Extended to include serial ports. Serial ports are indexed with
96 the alternative labeling system for the serial port, either the
97 listening socket port "cySPortSocketPort" or
98 "acsSerialPortTableDeviceName" name to avoid conflicts with
99 "ifIndex".
100
101 $cyclades->interfaces()
102 Returns reference to map of IIDs to physical ports. Extended to
103 include serial ports, "acsSerialPortTableDeviceName" or
104 "cyISPortTty".
105
106 $cyclades->i_speed()
107 Returns interface speed. Extended to include serial ports,
108 "acsSerialPortTableComSpeed" or "cyISPortSpeed".
109
110 $cyclades->i_up()
111 Returns link status for each port. Extended to include serial
112 ports, "acsSerialPortTableSignalStateDCD" or "cyISPortSigCD".
113
114 $cyclades->i_description()
115 Returns description of each port. Extended to include serial
116 ports, "acsSerialPortTableName" or "cyISPortName".
117
118 $cyclades->i_name()
119 Returns name of each port. Extended to include serial ports,
120 "acsSerialPortTableName" or "cyISPortName".
121
122 Table Methods imported from SNMP::Info::Layer1
123 See "TABLE METHODS" in SNMP::Info::Layer1 for details.
124
125
126
127perl v5.38.0 2023-09-04 SNMP::Info::Layer1::Cyclades(3pm)