1Info::Layer3::AlcatelLuUcseenrt(C3o)ntributed Perl DocumIennftoa:t:iLoanyer3::AlcatelLucent(3)
2
3
4

NAME

6       SNMP::Info::Layer3::AlcatelLucent - SNMP Interface to Alcatel-Lucent
7       OmniSwitch
8

AUTHOR

10       Bill Fenner
11

SYNOPSIS

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

DESCRIPTION

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

GLOBALS

56       These are methods that return scalar value from SNMP
57
58       $alu->vendor()
59               Returns 'alcatel-lucent'
60
61       $alu->hasCDP()
62               Returns whether LLDP is enabled.
63
64       $alu->model()
65           Tries to reference $alu->id() to one of the product MIBs listed
66           above
67
68           Removes 'device' from the name for readability.
69
70       $alu->os()
71           Returns 'AOS'
72
73       $alu->os_ver()
74           Grabs the os version from "sysDescr"
75
76       $alu->ps1_type()
77           Return the type of the first power supply from the ENTITY-MIB
78
79       $alu->ps2_type()
80           Return the type of the second power supply from the ENTITY-MIB
81
82       $alu->ps1_status()
83           Return the status of the first power supply from the
84           ALCATEL-IND1-CHASSIS-MIB
85
86       $alu->ps2_status()
87           Return the status of the second power supply from the
88           ALCATEL-IND1-CHASSIS-MIB
89
90   Global Methods imported from SNMP::Info::Layer3
91       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
92
93   Global Methods imported from SNMP::Info::MAU
94       See documentation in "GLOBALS" in SNMP::Info::MAU for details.
95
96   Global Methods imported from SNMP::Info::Layer3
97       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
98

TABLE METHODS

100       These are methods that return tables of information in the form of a
101       reference to a hash.
102
103       $alu->interfaces()
104           Returns interface name from "ifName", since the default return
105           value of "ifDescr" includes the OS version.
106
107       $alu->fw_mac()
108           Use the Q-BRIDGE-MIB instead of BRIDGE-MIB
109
110       $alu->fw_port()
111           Use the Q-BRIDGE-MIB instead of BRIDGE-MIB
112
113       $alu->bp_index()
114           Work around various bugs in the BRIDGE-MIB and Q-BRIDGE-MIB
115           implementations, by returning both "ifIndex" and "dot1dBasePort"
116           mappings to "ifIndex" values.
117
118       $alu->c_id()
119           Returns LLDP information.
120
121       $alu->c_if()
122           Returns LLDP information.
123
124       $alu->c_ip()
125           Returns LLDP information.
126
127       $alu->c_platform()
128           Returns LLDP information.
129
130       $alu->c_port()
131           Returns LLDP information.
132
133       $alu->i_duplex_admin()
134           Returns info from MAU-MIB
135
136       $alu->i_speed_admin()
137           Returns info from MAU-MIB
138
139       $alu->peth_port_ifindex()
140           Returns the "ifIndex" value for power-ethernet ports using the
141           OmniSwitch algorithm.
142
143   Table Methods imported from SNMP::Info::Layer3
144       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
145
146   Table Methods imported from SNMP::Info::MAU
147       See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
148
149   Table Methods imported from SNMP::Info::LLDP
150       See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
151
152
153
154perl v5.12.0                      2009-06-12    Info::Layer3::AlcatelLucent(3)
Impressum