.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "Info::Layer3::Dell 3pm" .TH Info::Layer3::Dell 3pm "2016-12-21" "perl v5.24.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" SNMP::Info::Layer3::Dell \- SNMP Interface to Dell Power Connect Network Devices .SH "AUTHOR" .IX Header "AUTHOR" Eric Miller .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 9 \& # Let SNMP::Info determine the correct subclass for you. \& my $dell = new SNMP::Info( \& AutoSpecify => 1, \& Debug => 1, \& DestHost => \*(Aqmyswitch\*(Aq, \& Community => \*(Aqpublic\*(Aq, \& Version => 1 \& ) \& or die "Can\*(Aqt connect to DestHost.\en"; \& \& my $class = $dell\->class(); \& \& print "SNMP::Info determined this device to fall under subclass : $class\en"; .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" Provides abstraction to the configuration information obtainable from an Dell Power Connect device through \s-1SNMP. \s0 D\-Link and the \s-1IBM\s0 BladeCenter Gigabit Ethernet Switch Module also use this module based upon \s-1MIB\s0 support. .PP For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above. .PP my \f(CW$dell\fR = new SNMP::Info::Layer3::Dell(...); .SS "Inherited Classes" .IX Subsection "Inherited Classes" .IP "SNMP::Info::Layer3" 4 .IX Item "SNMP::Info::Layer3" .SS "Required MIBs" .IX Subsection "Required MIBs" .PD 0 .IP "\fIDell-Vendor-MIB\fR" 4 .IX Item "Dell-Vendor-MIB" .IP "\fIRADLAN-Physicaldescription-MIB\fR" 4 .IX Item "RADLAN-Physicaldescription-MIB" .IP "\fIRADLAN-rlInterfaces\fR" 4 .IX Item "RADLAN-rlInterfaces" .IP "\fIRADLAN-HWENVIROMENT\fR" 4 .IX Item "RADLAN-HWENVIROMENT" .IP "Inherited Classes' MIBs" 4 .IX Item "Inherited Classes' MIBs" .PD See classes listed above for their required MIBs. .SH "GLOBALS" .IX Header "GLOBALS" These are methods that return scalar value from \s-1SNMP\s0 .ie n .IP "$dell\->\fIos_ver()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIos_ver()\fR" 4 .IX Item "$dell->os_ver()" (\f(CW\*(C`productIdentificationVersion\*(C'\fR) .ie n .IP "$dell\->\fIdell_id_name()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIdell_id_name()\fR" 4 .IX Item "$dell->dell_id_name()" (\f(CW\*(C`productIdentificationDisplayName\*(C'\fR) .ie n .IP "$dell\->\fImodel()\fR" 4 .el .IP "\f(CW$dell\fR\->\fImodel()\fR" 4 .IX Item "$dell->model()" Returns model type. Returns numeric from (\f(CW\*(C`productIdentificationDisplayName\*(C'\fR) if available, otherwise if returns \&\fIdescription()\fR. .ie n .IP "$dell\->\fIvendor()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIvendor()\fR" 4 .IX Item "$dell->vendor()" Returns 'dell', 'dlink', or 'ibm' based upon the \s-1IANA\s0 enterprise number in \&\fIid()\fR. Defaults to 'dlink'. .ie n .IP "$dell\->\fIos()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIos()\fR" 4 .IX Item "$dell->os()" Returns 'dell', 'dlink', or 'ibm' based upon the \s-1IANA\s0 enterprise number in \&\fIid()\fR. Defaults to 'dlink'. .ie n .IP "$dell\->\fIfan()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIfan()\fR" 4 .IX Item "$dell->fan()" Return the status of all fans from the \fIDell-Vendor-MIB\fR .ie n .IP "$dell\->\fIps1_type()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIps1_type()\fR" 4 .IX Item "$dell->ps1_type()" Return the type of the first power supply from the \fIDell-Vendor-MIB\fR .ie n .IP "$dell\->\fIps2_type()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIps2_type()\fR" 4 .IX Item "$dell->ps2_type()" Return the type of the second power supply from the \fIDell-Vendor-MIB\fR .ie n .IP "$dell\->\fIps1_status()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIps1_status()\fR" 4 .IX Item "$dell->ps1_status()" Return the status of the first power supply from the \fIDell-Vendor-MIB\fR .ie n .IP "$dell\->\fIps2_status()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIps2_status()\fR" 4 .IX Item "$dell->ps2_status()" Return the status of the second power supply from the \fIDell-Vendor-MIB\fR .SS "Overrides" .IX Subsection "Overrides" .ie n .IP "$dell\->\fIserial()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIserial()\fR" 4 .IX Item "$dell->serial()" Returns serial number. Returns (\f(CW\*(C`rlPhdUnitGenParamSerialNum\*(C'\fR) if available, otherwise uses the Layer3 serial method. .SS "Globals imported from SNMP::Info::Layer3" .IX Subsection "Globals imported from SNMP::Info::Layer3" See documentation in \*(L"\s-1GLOBALS\*(R"\s0 in SNMP::Info::Layer3 for details. .SS "Globals imported from SNMP::Info::LLDP" .IX Subsection "Globals imported from SNMP::Info::LLDP" See documentation in \*(L"\s-1GLOBALS\*(R"\s0 in SNMP::Info::LLDP for details. .SH "TABLE METHODS" .IX Header "TABLE METHODS" These are methods that return tables of information in the form of a reference to a hash. .ie n .SS "\s-1RADLAN\s0 Interface Table (""swIfTable"")" .el .SS "\s-1RADLAN\s0 Interface Table (\f(CWswIfTable\fP)" .IX Subsection "RADLAN Interface Table (swIfTable)" .ie n .IP "$dell\->\fIdell_duplex_admin()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIdell_duplex_admin()\fR" 4 .IX Item "$dell->dell_duplex_admin()" (\f(CW\*(C`swIfDuplexAdminMode\*(C'\fR) .ie n .IP "$dell\->\fIdell_duplex()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIdell_duplex()\fR" 4 .IX Item "$dell->dell_duplex()" (\f(CW\*(C`swIfDuplexOperMode\*(C'\fR) .ie n .IP "$dell\->\fIdell_tag_mode()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIdell_tag_mode()\fR" 4 .IX Item "$dell->dell_tag_mode()" (\f(CW\*(C`swIfTaggedMode\*(C'\fR) .ie n .IP "$dell\->\fIdell_i_type()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIdell_i_type()\fR" 4 .IX Item "$dell->dell_i_type()" (\f(CW\*(C`swIfType\*(C'\fR) .ie n .IP "$dell\->\fIdell_fc_admin()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIdell_fc_admin()\fR" 4 .IX Item "$dell->dell_fc_admin()" (\f(CW\*(C`swIfFlowControlMode\*(C'\fR) .ie n .IP "$dell\->\fIdell_speed_admin()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIdell_speed_admin()\fR" 4 .IX Item "$dell->dell_speed_admin()" (\f(CW\*(C`swIfSpeedAdminMode\*(C'\fR) .ie n .IP "$dell\->\fIdell_auto()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIdell_auto()\fR" 4 .IX Item "$dell->dell_auto()" (\f(CW\*(C`swIfSpeedDuplexAutoNegotiation\*(C'\fR) .ie n .IP "$dell\->\fIdell_fc()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIdell_fc()\fR" 4 .IX Item "$dell->dell_fc()" (\f(CW\*(C`swIfOperFlowControlMode\*(C'\fR) .SS "Overrides" .IX Subsection "Overrides" .ie n .IP "$dell\->\fIinterfaces()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIinterfaces()\fR" 4 .IX Item "$dell->interfaces()" Returns the map between \s-1SNMP\s0 Interface Identifier (iid) and physical port name. Uses name if available instead of description since descriptions are sometimes not unique. .ie n .IP "$dell\->\fIi_duplex_admin()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIi_duplex_admin()\fR" 4 .IX Item "$dell->i_duplex_admin()" Returns reference to hash of iid to current link administrative duplex setting. .ie n .IP "$dell\->\fIqb_fdb_index()\fR" 4 .el .IP "\f(CW$dell\fR\->\fIqb_fdb_index()\fR" 4 .IX Item "$dell->qb_fdb_index()" Returns nothing to work around incorrect indexing of \f(CW\*(C`dot1qTpFdbTable\*(C'\fR .SS "Table Methods imported from SNMP::Info::Layer3" .IX Subsection "Table Methods imported from SNMP::Info::Layer3" See documentation in \*(L"\s-1TABLE METHODS\*(R"\s0 in SNMP::Info::Layer3 for details. .SS "Table Methods imported from SNMP::Info::LLDP" .IX Subsection "Table Methods imported from SNMP::Info::LLDP" See documentation in \*(L"\s-1TABLE METHODS\*(R"\s0 in SNMP::Info::LLDP for details.