1SNMP::Info::Layer3::TimUesterra(C3o)ntributed Perl DocumSeNnMtPa:t:iIonnfo::Layer3::Timetra(3)
2
3
4

NAME

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

AUTHOR

9       Bill Fenner
10

SYNOPSIS

12        # Let SNMP::Info determine the correct subclass for you.
13        my $alu = new SNMP::Info(
14                               AutoSpecify => 1,
15                               Debug       => 1,
16                               # These arguments are passed directly to SNMP::Session
17                               DestHost    => 'myswitch',
18                               Community   => 'public',
19                               Version     => 2
20                               )
21           or die "Can't connect to DestHost.\n";
22
23        my $class      = $alu->class();
24        print "SNMP::Info determined this device to fall under subclass : $class\n";
25

DESCRIPTION

27       Subclass for Alcatel-Lucent Service Routers
28
29   Inherited Classes
30       SNMP::Info::Layer3
31
32   Required MIBs
33       TIMETRA-GLOBAL-MIB
34       TIMETRA-LLDP-MIB
35       TIMETRA-PORT-MIB
36       TIMETRA-CHASSIS-MIB
37       Inherited Classes' MIBs
38           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
39           requirements.
40

GLOBALS

42       These are methods that return scalar value from SNMP
43
44       $alu->vendor()
45           Returns 'nokia'
46
47       $alu->os()
48           Returns 'TiMOS'
49
50       $alu->os_ver()
51           Grabs the version string from "sysDescr".
52
53       $alu->model()
54           Tries to combine series and model extracted from $alu->id() to one
55           of the product MIBs.
56
57           Removes 'tmnxModel' from the name for readability.
58
59       $alu->fan()
60           Return the status of all fans from the TIMETRA-CHASSIS-MIB. Returns
61           a string indicating the number of fans 'OK' or identification of
62           any fan without a 'Ok' operating status.
63
64       $alu->ps1_status()
65           Return the status of the first power supply in each chassis from
66           the TIMETRA-CHASSIS-MIB.
67
68       $alu->ps2_status()
69           Return the status of the second power supply in each chassis from
70           the TIMETRA-CHASSIS-MIB.
71
72   Globals imported from SNMP::Info::Layer3
73       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
74

TABLE METHODS

76       These are methods that return tables of information in the form of a
77       reference to a hash.
78
79       $alu->i_duplex()
80           Returns reference to map of IIDs to current link duplex.
81
82       $alu->i_duplex_admin()
83           Returns reference to hash of IIDs to admin duplex setting.
84
85       $alu->agg_ports()
86           Returns a HASH reference mapping from slave to master port for each
87           member of a port bundle on the device. Keys are ifIndex of the
88           slave ports, Values are ifIndex of the corresponding master ports.
89
90   Overrides
91       $alu->interfaces()
92           Returns "ifName", since the default Layer3 "ifDescr" varies based
93           upon the transceiver inserted.
94
95       $alu->lldp_if()
96           Returns the mapping to the SNMP Interface Table. Utilizes
97           ("ifIndex") from the ("tmnxLldpRemEntry ") index.
98
99   LLDP Remote Table ("lldpRemTable") uses
100       ("TIMETRA-LLDP-MIB::tmnxLldpRemTable")
101       $alu->lldp_rem_id_type()
102           ("tmnxLldpRemChassisIdSubtype")
103
104       $alu->lldp_rem_id()
105           ("tmnxLldpRemChassisId")
106
107       $alu->lldp_rem_pid_type()
108           ("tmnxLldpRemPortIdSubtype")
109
110       $alu->lldp_rem_pid()
111           ("tmnxLldpRemPortId")
112
113       $alu->lldp_rem_desc()
114           ("tmnxLldpRemPortDesc")
115
116       $alu->lldp_rem_sysname()
117           ("tmnxLldpRemSysName")
118
119       $alu->lldp_rem_sysdesc()
120           ("tmnxLldpRemSysDesc")
121
122       $alu->lldp_rem_sys_cap()
123           ("tmnxLldpRemSysCapEnabled")
124
125   Entity Table
126       $alu->e_index()
127           ("tmnxHwIndex")
128
129       $alu->e_class()
130           Chassis, Module, Fan, Power Supply ...
131
132           ("tmnxHwClass")
133
134       $alu->e_descr()
135           Human Friendly
136
137           ("tmnxHwName")
138
139       $alu->e_fwver()
140           ("tmnxHwFirmwareCodeVersion")
141
142       $alu->e_fru()
143           BOOLEAN. Is a Field Replaceable unit?
144
145           ("tmnxHwIsFRU")
146
147       $alu->e_model()
148           Model Name of Entity.
149
150           ("tmnxHwMfgBoardNumber")
151
152       $alu->e_name()
153           More computer friendly name of entity.
154
155           ("tmnxHwName")
156
157       $alu->e_parent()
158           0 if root.
159
160           ("tmnxHwContainedIn")
161
162       $alu->e_pos()
163           The relative position among all entities sharing the same parent.
164
165           ("tmnxHwParentRelPos")
166
167       $alu->e_serial()
168           ("tmnxHwSerialNumber")
169
170       $alu->e_swver()
171           ("tmnxHwSoftwareCodeVersion")
172
173   Table Methods imported from SNMP::Info::Layer3
174       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
175

Data Munging Callback Subroutines

177       $alu->munge_tmnx_state()
178           Removes 'deviceState' or 'device' from "TmnxDeviceState" strings.
179
180       $alu->munge_tmnx_e_class()
181           Attempts to normalize "tmnxHwClass" to an "IANAPhysicalClass".
182
183       $alu->munge_tmnx_e_swver()
184           Extracts the software version from "tmnxHwSoftwareCodeVersion"
185           string.
186
187
188
189perl v5.32.1                      2021-01-27    SNMP::Info::Layer3::Timetra(3)
Impressum