SNMP::...clades(3pm)

πŸ’– SNMP::Info::Layer1::Cyclades β€” the manual page, but make it cute πŸ’–

okay bestie, so this is SNMP::Info::Layer1::Cyclades, a whole module from the User Contributed Perl Documentation collection. It's the SNMP Interface to Cyclades/Avocent terminal servers, and honestly? iconic. Let's get into it. πŸ¦‹


πŸ‘‘ AUTHOR

Eric Miller. that's the author. respect. 🫢


✨ SYNOPSIS ✨

okay so here's the vibe, let SNMP::Info pick the right subclass for you:

#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";

like, it literally tells you what subclass the device belongs to. so helpful of it fr fr πŸ’…


🌸 DESCRIPTION 🌸

This gives you an abstraction to the configuration information you can pull off a Cyclades/Avocent device through SNMP. no cap, that's the whole deal. πŸ”₯

🧬 Inherited Classes

  • SNMP::Info::Layer1

πŸ“š Required MIBs

  • ACS-MIB
  • ACS6000-MIB
  • CYCLADES-ACS-SYS-MIB
  • CYCLADES-ACS-CONF-MIB
  • CYCLADES-ACS-INFO-MIB
  • CYCLADES-ACS5K-SYS-MIB
  • CYCLADES-ACS5K-CONF-MIB
  • CYCLADES-ACS5K-INFO-MIB

πŸŽ€ Inherited MIBs

Head over to "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements, bestie. it's all there.


⭐ GLOBALS ⭐

these are the methods that return a scalar value from SNMP. lil single-value cuties.

  • $cyclades->os_ver() β€” returns ("acsFirmwareVersion"), ("cyACS5Kversion"), or ("cyACSversion")
  • $cyclades->serial() β€” returns ("acsSerialNumber"), ("cyACS5KDevId"), or ("cyACSDevId")
  • $cyclades->root_ip() β€” returns ("cyEthIPaddr")
  • $cyclades->ps1_status() β€” returns ("acsPowerSupplyStatePw1"), ("cyACS5KPw1"), or ("cyACSPw1")
  • $cyclades->ps2_status() β€” returns ("acsPowerSupplyStatePw2"), ("cyACS5KPw2"), or ("cyACSPw2")

πŸ’… Overrides

  • $cyclades->layers() β€” returns 01000001. so here's the tea: these devices don't have a FDB and we probably don't wanna poll for an ARP cache either, so it turns off the reported Layer 2 and Layer 3. periodt.
  • $cyclades->vendor() β€” returns 'vertiv'
  • $cyclades->os() β€” returns 'avocent'
  • $cyclades->model() β€” returns lower case ("cyACSpname") or ("acsProductModel") if it exists, otherwise it tries to reference $cyclades->id() to one of the MIBs listed above. the way it just figures it out πŸ˜­πŸ‘‘

🌈 Globals imported from SNMP::Info::Layer1

See "GLOBALS" in SNMP::Info::Layer1 for details, iykyk.


πŸŽ€ TABLE METHODS πŸŽ€

these ones return tables of information β€” specifically a reference to a hash. very main character of them.

πŸ¦‹ Overrides

  • $cyclades->i_index() β€” returns a reference to a map of IIDs to Interface index.

extended to include serial ports! πŸ”Œ serial ports get indexed with the alternative labeling system for the serial port, either the listening socket port "cySPortSocketPort" or the "acsSerialPortTableDeviceName" name, all to avoid conflicts with "ifIndex". no drama, no clashing keys πŸ’…

  • $cyclades->interfaces() β€” returns a reference to a map of IIDs to physical ports. extended to include serial ports, "acsSerialPortTableDeviceName" or "cyISPortTty".
  • $cyclades->i_speed() β€” returns interface speed. extended to include serial ports, "acsSerialPortTableComSpeed" or "cyISPortSpeed".
  • $cyclades->i_up() β€” returns link status for each port. extended to include serial ports, "acsSerialPortTableSignalStateDCD" or "cyISPortSigCD".
  • $cyclades->i_description() β€” returns description of each port. extended to include serial ports, "acsSerialPortTableName" or "cyISPortName".
  • $cyclades->i_name() β€” returns name of each port. extended to include serial ports, "acsSerialPortTableName" or "cyISPortName".

πŸ“ Table Methods imported from SNMP::Info::Layer1

See "TABLE METHODS" in SNMP::Info::Layer1 for all the details, bestie.


πŸ’– reminder: this whole page is perl v5.40.1, dated 2026-02-28, from User Contributed Perl Documentation. that's the footer, and yeah, I'm telling you about it instead of copying it, because we're cute like that. bye bestie, slay your SNMP polling πŸ«Άβœ¨πŸ’…
πŸ“¦ where this page comes from