1SNMP::Info::Layer3::DelUls(e3r)Contributed Perl DocumentSaNtMiPo:n:Info::Layer3::Dell(3)
2
3
4

NAME

6       SNMP::Info::Layer3::Dell - SNMP Interface to Dell Power Connect Network
7       Devices
8

AUTHOR

10       Eric Miller
11

SYNOPSIS

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     => 2
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

DESCRIPTION

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-REF-MIB
43       Dell-Vendor-MIB
44       RADLAN-COPY-MIB
45       RADLAN-HWENVIROMENT
46       RADLAN-Physicaldescription-MIB
47       RADLAN-rlInterfaces
48       Inherited Classes' MIBs
49           See classes listed above for their required MIBs.
50

GLOBALS

52       These are methods that return scalar value from SNMP
53
54       $dell->os_ver()
55           ("productIdentificationVersion")
56
57       $dell->dell_id_name()
58           ("productIdentificationDisplayName")
59
60       $dell->model()
61           Returns model type.  Returns numeric from
62           ("productIdentificationDisplayName") if available, otherwise if
63           returns description().
64
65       $dell->vendor()
66           Returns 'dell', 'dlink', or 'ibm' based upon the IANA enterprise
67           number in id().  Defaults to 'dlink'.
68
69       $dell->os()
70           Returns 'dell', 'dlink', or 'ibm' based upon the IANA enterprise
71           number in id().  Defaults to 'dlink'.
72
73       $dell->fan()
74           Return the status of all fans from the Dell-Vendor-MIB
75
76       $dell->ps1_type()
77           Return the type of the first power supply from the Dell-Vendor-MIB
78
79       $dell->ps2_type()
80           Return the type of the second power supply from the Dell-Vendor-MIB
81
82       $dell->ps1_status()
83           Return the status of the first power supply from the Dell-Vendor-
84           MIB
85
86       $dell->ps2_status()
87           Return the status of the second power supply from the Dell-Vendor-
88           MIB
89
90   Overrides
91       $dell->serial()
92           Returns serial number. Returns ("rlPhdUnitGenParamSerialNum") if
93           available, otherwise uses the Layer3 serial method.
94
95   Globals imported from SNMP::Info::Layer3
96       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
97

TABLE METHODS

99       These are methods that return tables of information in the form of a
100       reference to a hash.
101
102   RADLAN Interface Table ("swIfTable")
103       $dell->dell_duplex_admin()
104           ("swIfDuplexAdminMode")
105
106       $dell->dell_duplex()
107           ("swIfDuplexOperMode")
108
109       $dell->dell_tag_mode()
110           ("swIfTaggedMode")
111
112       $dell->dell_i_type()
113           ("swIfType")
114
115       $dell->dell_fc_admin()
116           ("swIfFlowControlMode")
117
118       $dell->dell_speed_admin()
119           ("swIfSpeedAdminMode")
120
121       $dell->dell_auto()
122           ("swIfSpeedDuplexAutoNegotiation")
123
124       $dell->dell_fc()
125           ("swIfOperFlowControlMode")
126
127   Overrides
128       $dell->interfaces()
129           Returns the map between SNMP Interface Identifier (iid) and
130           physical port name.  Uses name if available instead of description
131           since descriptions are sometimes not unique.
132
133       $dell->i_duplex()
134           Returns reference to map of IIDs to current link duplex.
135
136       $dell->i_duplex_admin()
137           Returns reference to hash of iid to current link administrative
138           duplex setting.
139
140       $dell->qb_fdb_index()
141           Returns nothing to work around incorrect indexing of
142           "dot1qTpFdbTable"
143
144   Table Methods imported from SNMP::Info::Layer3
145       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
146
147
148
149perl v5.34.0                      2021-09-13       SNMP::Info::Layer3::Dell(3)
Impressum