---
name: "SNMP::Info::Layer3::Ciena"
section: "3pm"
platform: "linux"
package: "libsnmp-info-perl"
version: "3.972002-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SNMP::Info::Layer3::Ciena"
---

# SNMP::Info::Layer3::Ciena(3pm)

SNMP Interface to Ciena Devices

## NAME

SNMP::Info::Layer3::Ciena - SNMP Interface to Ciena Devices

## AUTHORS

pyro3d

## DESCRIPTION

Subclass for Ciena Devices running SAOS

### Inherited Classes

- SNMP::Info::Layer3

  ### Required MIBs

- *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

See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements.

## GLOBALS

These are methods that return scalar value from SNMP

- $ciena-\>**vendor()**

  Returns 'ciena'

- $ciena-\>**os()**

  Returns 'saos'

- $ciena-\>**os\_ver()**

  Returns the running software package extracted with `"wwpLeosBladeRunPackageVer"`

- $ciena-\>**serial()**

  Returns serial number (`"wwpLeosSystemSerialNumber"`)

- $ciena-\>**mac()**

  Returns the MAC address used by this bridge when it must be referred to in a unique fashion.

  (`"dot1dBaseBridgeAddress"`)

- $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.

- $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 documentation in "GLOBALS" in SNMP::Info::Layer3 for details.

## TABLE METHODS

These are methods that return tables of information in the form of a reference to a hash.

- $ciena-\>**lldp\_if()**

  Returns the mapping to the SNMP Interface Table. Overridden to translate to 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 reference to hash of arrays: key = `"ifIndex"`, value = array of VLAN IDs.

- $ciena-\>**qb\_fw\_vlan()**

  Returns reference to hash of forwarding table entries VLAN ID, using `"wwpLeosFlowLearnType"`

- $ciena-\>**ps\_name()**

  Returns reference to hash of the power supplies and their names.

- $ciena-\>**ps\_type()**

  Returns reference to hash of the power supplies and their type (ex. AC, DC, etc.)

- $ciena-\>**ps\_status()**

  Returns reference to hash of the power supplies and their status.

- $ciena-\>**fan\_name()**

  Returns reference to hash of fans and their names. In this case, it is simply a number.

- $ciena-\>**fan\_type()**

  Returns reference to hash of fans and their types (ex. fixed, modular, etc.)

- $ciena-\>fan\_status)

  Returns reference to hash of fans and their status
