1SNMP::Info::Layer3::DelUls(e3r)Contributed Perl DocumentSaNtMiPo:n:Info::Layer3::Dell(3)
2
3
4
6 SNMP::Info::Layer3::Dell - SNMP Interface to Dell Power Connect Network
7 Devices
8
10 Eric Miller
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $dell = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'myswitch',
18 Community => 'public',
19 Version => 1
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $dell->class();
24
25 print "SNMP::Info determined this device to fall under subclass : $class\n";
26
28 Provides abstraction to the configuration information obtainable from
29 an Dell Power Connect device through SNMP. D-Link and the IBM
30 BladeCenter Gigabit Ethernet Switch Module also use this module based
31 upon MIB support.
32
33 For speed or debugging purposes you can call the subclass directly, but
34 not after determining a more specific class using the method above.
35
36 my $dell = new SNMP::Info::Layer3::Dell(...);
37
38 Inherited Classes
39 SNMP::Info::Layer3
40
41 Required MIBs
42 Dell-Vendor-MIB
43 RADLAN-Physicaldescription-MIB
44 RADLAN-rlInterfaces
45 RADLAN-HWENVIROMENT
46 Inherited Classes' MIBs
47 See classes listed above for their required MIBs.
48
50 These are methods that return scalar value from SNMP
51
52 $dell->os_ver()
53 ("productIdentificationVersion")
54
55 $dell->dell_id_name()
56 ("productIdentificationDisplayName")
57
58 $dell->model()
59 Returns model type. Returns numeric from
60 ("productIdentificationDisplayName") if available, otherwise if
61 returns description().
62
63 $dell->vendor()
64 Returns 'dell', 'dlink', or 'ibm' based upon the IANA enterprise
65 number in id(). Defaults to 'dlink'.
66
67 $dell->os()
68 Returns 'dell', 'dlink', or 'ibm' based upon the IANA enterprise
69 number in id(). Defaults to 'dlink'.
70
71 $dell->fan()
72 Return the status of all fans from the Dell-Vendor-MIB
73
74 $dell->ps1_type()
75 Return the type of the first power supply from the Dell-Vendor-MIB
76
77 $dell->ps2_type()
78 Return the type of the second power supply from the Dell-Vendor-MIB
79
80 $dell->ps1_status()
81 Return the status of the first power supply from the Dell-Vendor-
82 MIB
83
84 $dell->ps2_status()
85 Return the status of the second power supply from the Dell-Vendor-
86 MIB
87
88 Overrides
89 $dell->serial()
90 Returns serial number. Returns ("rlPhdUnitGenParamSerialNum") if
91 available, otherwise uses the Layer3 serial method.
92
93 Globals imported from SNMP::Info::Layer3
94 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
95
96 Globals imported from SNMP::Info::LLDP
97 See documentation in "GLOBALS" in SNMP::Info::LLDP for details.
98
100 These are methods that return tables of information in the form of a
101 reference to a hash.
102
103 RADLAN Interface Table ("swIfTable")
104 $dell->dell_duplex_admin()
105 ("swIfDuplexAdminMode")
106
107 $dell->dell_duplex()
108 ("swIfDuplexOperMode")
109
110 $dell->dell_tag_mode()
111 ("swIfTaggedMode")
112
113 $dell->dell_i_type()
114 ("swIfType")
115
116 $dell->dell_fc_admin()
117 ("swIfFlowControlMode")
118
119 $dell->dell_speed_admin()
120 ("swIfSpeedAdminMode")
121
122 $dell->dell_auto()
123 ("swIfSpeedDuplexAutoNegotiation")
124
125 $dell->dell_fc()
126 ("swIfOperFlowControlMode")
127
128 Overrides
129 $dell->interfaces()
130 Returns the map between SNMP Interface Identifier (iid) and
131 physical port name. Uses name if available instead of description
132 since descriptions are sometimes not unique.
133
134 $dell->i_duplex()
135 Returns reference to map of IIDs to current link duplex.
136
137 $dell->i_duplex_admin()
138 Returns reference to hash of iid to current link administrative
139 duplex setting.
140
141 $dell->qb_fdb_index()
142 Returns nothing to work around incorrect indexing of
143 "dot1qTpFdbTable"
144
145 Table Methods imported from SNMP::Info::Layer3
146 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
147
148 Table Methods imported from SNMP::Info::LLDP
149 See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
150
151
152
153perl v5.28.0 2018-11-29 SNMP::Info::Layer3::Dell(3)