SNMP::...::Ciena(3pm)

πŸ’– SNMP::...::Ciena β€” the vibe

okay bestie so this is the manual page for SNMP::...::Ciena, part of the User Contributed Perl Documentation. It's giving "I speak fluent Ciena and I'm here to translate" πŸ’… no cap, let's get into it ✨


✨ NAME ✨

SNMP::Info::Layer3::Ciena β€” your SNMP Interface to Ciena Devices, babes πŸ¦‹


🫢 AUTHORS 🫢

pyro3d β€” periodt, that's the whole list πŸ‘‘


🌸 DESCRIPTION 🌸

It's a subclass for Ciena Devices running SAOS. That's the tea πŸ“

πŸ’œ Inherited Classes

SNMP::Info::Layer3 β€” the parent it's pulling from, iykyk

🌈 Required MIBs

okay so you're gonna need ALL of these, don't skip a single one:

  • WWP-LEOS-SW-XGRADE-MIB
  • WWP-LEOS-BLADE-MIB
  • WWP-LEOS-CHASSIS-MIB
  • WWP-LEOS-FLOW-MIB
  • WWP-LEOS-PORT-MIB
  • WWP-LEOS-VLAN-TAG-MIB
  • WWP-PRODUCTS-MIB

πŸŽ€ Inherited Classes' MIBs

Go look at "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements β€” it's got its own whole list, not our problem πŸ’€


⭐ GLOBALS ⭐

These are methods that return a scalar value from SNMP. Little one-and-done queens πŸ’…

  • $ciena->vendor() β€” Returns 'ciena' ✨
  • $ciena->os() β€” Returns 'saos'
  • $ciena->os_ver() β€” Returns the running software package, extracted with wwpLeosBladeRunPackageVer
  • $ciena->serial() β€” Returns the serial number (wwpLeosSystemSerialNumber)
  • $ciena->mac() β€” Returns the MAC address used by this bridge when it must be referred to in a unique fashion. That's dot1dBaseBridgeAddress for you πŸ”₯
  • $huawei->fan() β€” Return the status of all fans. Returns a string indicating the number of fans 'OK' or identification of any fan without a 'normal' operating status. (yes bestie it says $huawei, we love a little crossover moment, we don't question it πŸ™ˆ)
  • $ciena->ps1_status() β€” Return the status of the first power supply
  • $ciena->ps1_type() β€” Return the type of the first power supply
  • $ciena->ps2_status() β€” Return the status of the second power supply
  • $ciena->ps2_type() β€” Return the type of the second power supply

🧚 Globals imported from SNMP::Info::Layer3

See the docs in "GLOBALS" in SNMP::Info::Layer3 for all the details β€” she has lore 🌸


πŸ”₯ TABLE METHODS πŸ”₯

These are the methods that return tables of information in the form of a reference to a hash. Big main-character energy, honestly πŸ’œ

  • $ciena->lldp_if() β€” Returns the mapping to the SNMP Interface Table. Overridden to translate to the correct ethernet port with bp_index
  • $ciena->i_vlan() β€” Returns a mapping between ifIndex and the PVID or default VLAN
  • $ciena->i_vlan_membership() β€” Returns a reference to a hash of arrays: key = ifIndex, value = array of VLAN IDs
  • $ciena->qb_fw_vlan() β€” Returns a reference to a hash of forwarding table entries VLAN ID, using wwpLeosFlowLearnType
  • $ciena->ps_name() β€” Returns a reference to a hash of the power supplies and their names
  • $ciena->ps_type() β€” Returns a reference to a hash of the power supplies and their type (ex. AC, DC, etc.)
  • $ciena->ps_status() β€” Returns a reference to a hash of the power supplies and their status
  • $ciena->fan_name() β€” Returns a reference to a hash of fans and their names. In this case, it is simply a number
  • $ciena->fan_type() β€” Returns a reference to a hash of fans and their types (ex. fixed, modular, etc.)
  • $ciena->fan_status) β€” Returns a reference to a hash of fans and their status (and yes, the missing paren is exactly how she's written, we stan a typo that made it to production 😭)

and that's the whole page bestie, you ate that πŸ½οΈπŸ’…

laterz πŸ‘‹ this was perl v5.40.1, dated 2026-02-28 β€” SNMP::...::Ciena(3pm) signing off πŸŽ€βœ¨

πŸ“¦ where this page comes from