logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Eric Miller

Description

       Provides abstraction to the configuration information obtainable from an Dell Power Connect device
       through SNMP.  D-Link and the IBM BladeCenter Gigabit Ethernet Switch Module also use this module based
       upon MIB support.

       For speed or debugging purposes you can call the subclass directly, but not after determining a more
       specific class using the method above.

       my $dell = new SNMP::Info::Layer3::Dell(...);

   InheritedClasses
       SNMP::Info::Layer3

   RequiredMIBsDELL-REF-MIBDell-Vendor-MIBRADLAN-COPY-MIBRADLAN-HWENVIROMENTRADLAN-Physicaldescription-MIBRADLAN-rlInterfaces
       Inherited Classes' MIBs
           See classes listed above for their required MIBs.

Globals

       These are methods that return scalar value from SNMP

       $dell->os_ver()
           ("productIdentificationVersion")

       $dell->dell_id_name()
           ("productIdentificationDisplayName")

       $dell->model()
           Returns   model  type.   Returns  numeric  from  ("productIdentificationDisplayName")  if  available,
           otherwise if returns description().

       $dell->vendor()
           Returns 'dell', 'dlink', or 'ibm' based upon  the  IANA  enterprise  number  in  id().   Defaults  to
           'dlink'.

       $dell->os()
           Returns  'dell',  'dlink',  or  'ibm'  based  upon  the  IANA enterprise number in id().  Defaults to
           'dlink'.

       $dell->fan()
           Return the status of all fans from the Dell-Vendor-MIB

       $dell->ps1_type()
           Return the type of the first power supply from the Dell-Vendor-MIB

       $dell->ps2_type()
           Return the type of the second power supply from the Dell-Vendor-MIB

       $dell->ps1_status()
           Return the status of the first power supply from the Dell-Vendor-MIB

       $dell->ps2_status()
           Return the status of the second power supply from the Dell-Vendor-MIBOverrides
       $dell->serial()
           Returns serial number. Returns ("rlPhdUnitGenParamSerialNum") if available, otherwise uses the Layer3
           serial method.

   GlobalsimportedfromSNMP::Info::Layer3
       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.

Name

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

Synopsis

        # Let SNMP::Info determine the correct subclass for you.
        my $dell = new SNMP::Info(
                                 AutoSpecify => 1,
                                 Debug       => 1,
                                 DestHost    => 'myswitch',
                                 Community   => 'public',
                                 Version     => 2
                               )
           or die "Can't connect to DestHost.\n";

        my $class = $dell->class();

        print "SNMP::Info determined this device to fall under subclass : $class\n";

Table Methods

       These are methods that return tables of information in the form of a reference to a hash.

   RADLANInterfaceTable("swIfTable")
       $dell->dell_duplex_admin()
           ("swIfDuplexAdminMode")

       $dell->dell_duplex()
           ("swIfDuplexOperMode")

       $dell->dell_tag_mode()
           ("swIfTaggedMode")

       $dell->dell_i_type()
           ("swIfType")

       $dell->dell_fc_admin()
           ("swIfFlowControlMode")

       $dell->dell_speed_admin()
           ("swIfSpeedAdminMode")

       $dell->dell_auto()
           ("swIfSpeedDuplexAutoNegotiation")

       $dell->dell_fc()
           ("swIfOperFlowControlMode")

   Overrides
       $dell->interfaces()
           Returns the map between SNMP Interface Identifier  (iid)  and  physical  port  name.   Uses  name  if
           available instead of description since descriptions are sometimes not unique.

       $dell->i_duplex()
           Returns reference to map of IIDs to current link duplex.

       $dell->i_duplex_admin()
           Returns reference to hash of iid to current link administrative duplex setting.

       $dell->qb_fdb_index()
           Returns nothing to work around incorrect indexing of "dot1qTpFdbTable"

   TableMethodsimportedfromSNMP::Info::Layer3
       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.

perl v5.40.0                                       2024-11-09                      SNMP::Info::Layer3::Dell(3pm)

See Also