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-MIBWWP-LEOS-BLADE-MIBWWP-LEOS-CHASSIS-MIBWWP-LEOS-FLOW-MIBWWP-LEOS-PORT-MIBWWP-LEOS-VLAN-TAG-MIBWWP-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 withwwpLeosBladeRunPackageVer$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'sdot1dBaseBridgeAddressfor 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 withbp_index$ciena->i_vlan()β Returns a mapping betweenifIndexand 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, usingwwpLeosFlowLearnType$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
- ubuntu stonking: libsnmp-info-perl 3.975000-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms