1SNMP::Info::Layer3::AlcUasteerlLCuocnetnrti(b3u)ted PerlSNDMoPc:u:mIennftoa:t:iLoanyer3::AlcatelLucent(3)
2
3
4
6 SNMP::Info::Layer3::AlcatelLucent - SNMP Interface to Alcatel-Lucent
7 OmniSwitch
8
10 Bill Fenner
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $alu = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 # These arguments are passed directly to SNMP::Session
18 DestHost => 'myswitch',
19 Community => 'public',
20 Version => 2
21 )
22 or die "Can't connect to DestHost.\n";
23
24 my $class = $alu->class();
25 print "SNMP::Info determined this device to fall under subclass : $class\n";
26
28 Subclass for Alcatel-Lucent OmniSwitch devices
29
30 Inherited Classes
31 SNMP::Info::Layer3
32 SNMP::Info::MAU
33 SNMP::Info::LLDP
34
35 Required MIBs
36 ALCATEL-IND1-DEVICES
37 ALCATEL-IND1-CHASSIS-MIB
38 ALU-POWER-ETHERNET-MIB
39 Note that Alcatel-Lucent distributes their own proprietary version
40 of the POWER-ETHERNET-MIB, but the MIB module name that they
41 distribute is simply POWER-ETHERNET-MIB. This module must be hand-
42 edited to change the module name to ALU-POWER-ETHERNET-MIB so that
43 it can be used simultaneously with the standard POWER-ETHERNET-MIB.
44
45 Inherited Classes' MIBs
46 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
47 requirements.
48
49 See "Required MIBs" in SNMP::Info::MAU for its own MIB
50 requirements.
51
52 See "Required MIBs" in SNMP::Info::LLDP for its own MIB
53 requirements.
54
56 These are methods that return scalar value from SNMP
57
58 $alu->vendor()
59 Returns 'alcatel-lucent'
60
61 $alu->model()
62 Tries to reference $alu->id() to one of the product MIBs listed
63 above
64
65 Removes 'device' from the name for readability.
66
67 $alu->os()
68 Returns 'AOS'
69
70 $alu->os_ver()
71 Grabs the os version from "sysDescr"
72
73 $alu->ps1_type()
74 Return the type of the first power supply from the ENTITY-MIB
75
76 $alu->ps2_type()
77 Return the type of the second power supply from the ENTITY-MIB
78
79 $alu->ps1_status()
80 Return the status of the first power supply from the
81 ALCATEL-IND1-CHASSIS-MIB
82
83 $alu->ps2_status()
84 Return the status of the second power supply from the
85 ALCATEL-IND1-CHASSIS-MIB
86
87 Global Methods imported from SNMP::Info::Layer3
88 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
89
90 Global Methods imported from SNMP::Info::MAU
91 See documentation in "GLOBALS" in SNMP::Info::MAU for details.
92
93 Global Methods imported from SNMP::Info::Layer3
94 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
95
97 These are methods that return tables of information in the form of a
98 reference to a hash.
99
100 $alu->interfaces()
101 Returns interface name from "ifName", since the default return
102 value of "ifDescr" includes the OS version.
103
104 $alu->bp_index()
105 Work around various bugs in the BRIDGE-MIB and Q-BRIDGE-MIB
106 implementations, by returning both "ifIndex" and "dot1dBasePort"
107 mappings to "ifIndex" values.
108
109 $alu->i_duplex_admin()
110 Returns info from MAU-MIB
111
112 $alu->i_speed_admin()
113 Returns info from MAU-MIB
114
115 $alu->peth_port_ifindex()
116 Returns the "ifIndex" value for power-ethernet ports using the
117 OmniSwitch algorithm.
118
119 Table Methods imported from SNMP::Info::Layer3
120 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
121
122 Table Methods imported from SNMP::Info::MAU
123 See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
124
125 Table Methods imported from SNMP::Info::LLDP
126 See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
127
128
129
130perl v5.34.0 2022-01-2S1NMP::Info::Layer3::AlcatelLucent(3)