++ed by:
2 non-PAUSE users
Author image Oliver Gorwits
and 1 contributors


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


Bill Fenner


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


Subclass for Alcatel-Lucent Service Routers

Inherited Classes


Required MIBs

Inherited Classes' MIBs

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


These are methods that return scalar value from SNMP


Returns 'nokia'


Returns 'TiMOS'


Grabs the version string from sysDescr.


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

Removes 'tmnxModel' from the name for readability.


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.


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


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.


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


Returns reference to map of IIDs to current link duplex.


Returns reference to hash of IIDs to admin duplex setting.


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.



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


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

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

















Entity Table




Chassis, Module, Fan, Power Supply ...



Human Friendly





BOOLEAN. Is a Field Replaceable unit?



Model Name of Entity.



More computer friendly name of entity.



0 if root.



The relative position among all entities sharing the same parent.






Table Methods imported from SNMP::Info::Layer3

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

Data Munging Callback Subroutines


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


Attempts to normalize tmnxHwClass to an IANAPhysicalClass.


Extracts the software version from tmnxHwSoftwareCodeVersion string.