---
name: "SNMP::Info::Layer3::Timetra"
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::Timetra"
---

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

SNMP Interface to Alcatel-Lucent SR

## NAME

SNMP::Info::Layer3::Timetra - SNMP Interface to Alcatel-Lucent SR

## AUTHOR

Bill Fenner

## SYNOPSIS

```
 # Let SNMP::Info determine the correct subclass for you.
 my $alu = 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      = $alu->class();
 print "SNMP::Info determined this device to fall under subclass : $class\n";
```

## DESCRIPTION

Subclass for Alcatel-Lucent Service Routers

### Inherited Classes

- SNMP::Info::Layer3

  ### Required MIBs

- *TIMETRA-GLOBAL-MIB*

  - *TIMETRA-LLDP-MIB*

  - *TIMETRA-PORT-MIB*

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

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

  Returns 'nokia'

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

  Returns 'TiMOS'

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

  Grabs the version string from `"sysDescr"`.

- $alu-\>**model()**

  Tries to combine series and model extracted from `$alu`-\>**id()** to one of the product MIBs.

  Removes 'tmnxModel' from the name for readability.

- $alu-\>**fan()**

  Return the status of all fans from the *TIMETRA-CHASSIS-MIB*. Returns a string indicating the number of fans 'OK' or identification of any fan without a 'Ok' operating status.

- $alu-\>**ps1\_status()**

  Return the status of the first power supply in each chassis from the *TIMETRA-CHASSIS-MIB*.

- $alu-\>**ps2\_status()**

  Return the status of the second power supply in each chassis from the *TIMETRA-CHASSIS-MIB*.

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

- $alu-\>**i\_duplex()**

  Returns reference to map of IIDs to current link duplex.

- $alu-\>**i\_duplex\_admin()**

  Returns reference to hash of IIDs to admin duplex setting.

- $alu-\>**agg\_ports()**

  Returns a HASH reference mapping from slave to master port for each member of a port bundle on the device. Keys are ifIndex of the slave ports, Values are ifIndex of the corresponding master ports.

### Overrides

- $alu-\>**interfaces()**

  Returns `"ifName"`, since the default Layer3 `"ifDescr"` varies based upon the transceiver inserted.

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

  Returns the mapping to the SNMP Interface Table. Utilizes (`"ifIndex"`) from the (`"tmnxLldpRemEntry "`) index.

### LLDP Remote Table ("lldpRemTable") uses ("TIMETRA-LLDP-MIB::tmnxLldpRemTable")

- $alu-\>**lldp\_rem\_id\_type()**

  (`"tmnxLldpRemChassisIdSubtype"`)

- $alu-\>**lldp\_rem\_id()**

  (`"tmnxLldpRemChassisId"`)

- $alu-\>**lldp\_rem\_pid\_type()**

  (`"tmnxLldpRemPortIdSubtype"`)

- $alu-\>**lldp\_rem\_pid()**

  (`"tmnxLldpRemPortId"`)

- $alu-\>**lldp\_rem\_desc()**

  (`"tmnxLldpRemPortDesc"`)

- $alu-\>**lldp\_rem\_sysname()**

  (`"tmnxLldpRemSysName"`)

- $alu-\>**lldp\_rem\_sysdesc()**

  (`"tmnxLldpRemSysDesc"`)

- $alu-\>**lldp\_rem\_sys\_cap()**

  (`"tmnxLldpRemSysCapEnabled"`)

### Entity Table

- $alu-\>**e\_index()**

  (`"tmnxHwIndex"`)

- $alu-\>**e\_class()**

  Chassis, Module, Fan, Power Supply ...

  (`"tmnxHwClass"`)

- $alu-\>**e\_descr()**

  Human Friendly

  (`"tmnxHwName"`)

- $alu-\>**e\_fwver()**

  (`"tmnxHwFirmwareCodeVersion"`)

- $alu-\>**e\_fru()**

  BOOLEAN. Is a Field Replaceable unit?

  (`"tmnxHwIsFRU"`)

- $alu-\>**e\_model()**

  Model Name of Entity.

  (`"tmnxHwMfgBoardNumber"`)

- $alu-\>**e\_name()**

  More computer friendly name of entity.

  (`"tmnxHwName"`)

- $alu-\>**e\_parent()**

  0 if root.

  (`"tmnxHwContainedIn"`)

- $alu-\>**e\_pos()**

  The relative position among all entities sharing the same parent.

  (`"tmnxHwParentRelPos"`)

- $alu-\>**e\_serial()**

  (`"tmnxHwSerialNumber"`)

- $alu-\>**e\_swver()**

  (`"tmnxHwSoftwareCodeVersion"`)

### Table Methods imported from SNMP::Info::Layer3

See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.

## Data Munging Callback Subroutines

- $alu-\>**munge\_tmnx\_state()**

  Removes 'deviceState' or 'device' from `"TmnxDeviceState"` strings.

- $alu-\>**munge\_tmnx\_e\_class()**

  Attempts to normalize `"tmnxHwClass"` to an `"IANAPhysicalClass"`.

- $alu-\>**munge\_tmnx\_e\_swver()**

  Extracts the software version from `"tmnxHwSoftwareCodeVersion"` string.
