SNMP::...::Dell(3pm)
π NAME π
SNMP::Info::Layer3::Dell β bestie, this is your SNMP Interface to Dell Power Connect Network Devices π¦
It's a Perl module, it lives in section 3pm of the manual, and it's here to help you talk to Dell switches like the iconic queen you are. β¨
βοΈ AUTHOR βοΈ
Eric Miller π (yes, the whole thing, he wrote it, we stan)
π SYNOPSIS π
Okay so here's the vibe. Let SNMP::Info figure out the right subclass for you, no cap:
# 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";
Like, if it can't connect to DestHost, it literally dies. Periodt. π
π DESCRIPTION π
This module gives you an abstraction for all the configuration info you can pull off a Dell Power Connect device through SNMP. And plot twist π«’ β D-Link and the IBM BladeCenter Gigabit Ethernet Switch Module also use this module, all based upon MIB support.
If you're doing it for speed or for debugging, you can call the subclass directly β but NOT after you've already determined a more specific class using the method above. Rude behavior, don't do it. π
my $dell = new SNMP::Info::Layer3::Dell(...);
𧬠Inherited Classes
SNMP::Info::Layer3
π Required MIBs
DELL-REF-MIBDell-Vendor-MIBRADLAN-COPY-MIBRADLAN-HWENVIROMENTRADLAN-Physicaldescription-MIBRADLAN-rlInterfaces
Inherited Classes' MIBs
See the classes listed above for their required MIBs. π (they've got their own MIB needs, iykyk)
π GLOBALS π
These are methods that return scalar value from SNMP. Little single-value snacks. π
$dell->os_ver()β returns("productIdentificationVersion")$dell->dell_id_name()β returns("productIdentificationDisplayName")$dell->model()β returns model type. It returns the numeric from("productIdentificationDisplayName")if that's available; otherwise it returnsdescription().$dell->vendor()β returns'dell','dlink', or'ibm'based upon the IANA enterprise number inid(). Defaults to'dlink'.$dell->os()β returns'dell','dlink', or'ibm'based upon the IANA enterprise number inid(). Defaults to'dlink'.$dell->fan()β returns the status of all fans from theDell-Vendor-MIB$dell->ps1_type()β returns the type of the first power supply from theDell-Vendor-MIB$dell->ps2_type()β returns the type of the second power supply from theDell-Vendor-MIB$dell->ps1_status()β returns the status of the first power supply from theDell-Vendor-MIB$dell->ps2_status()β returns the status of the second power supply from theDell-Vendor-MIB
π Overrides
$dell->serial()β returns the serial number. It returns("rlPhdUnitGenParamSerialNum")if that's available; otherwise it uses the Layer3 serial method.
π¦ Globals imported from SNMP::Info::Layer3
See the docs in "GLOBALS" in SNMP::Info::Layer3 for the deets. π
ποΈ TABLE METHODS ποΈ
These are the methods that return tables of information in the form of a reference to a hash. Big data energy. π₯
π§ RADLAN Interface Table ("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 the physical port name. It usesnameif it's available instead ofdescription, because descriptions are sometimes not unique. π$dell->i_duplex()β returns a reference to a map of IIDs to the current link duplex.$dell->i_duplex_admin()β returns a reference to a hash of iid to the current link administrative duplex setting.$dell->qb_fdb_index()β returns nothing at all, purely to work around the incorrect indexing of"dot1qTpFdbTable". Not me fixing bugs with vibes. π
π¦ Table Methods imported from SNMP::Info::Layer3
See the docs in "TABLE METHODS" in SNMP::Info::Layer3 for the deets. π«Ά
This is part of User Contributed Perl Documentation, bestie β it's SNMP::...::Dell(3pm) and it shipped with perl v5.40.1, dated 2026-02-28. Slay. πβ¨
π¦ where this page comes from
- ubuntu stonking: libsnmp-info-perl 3.975000-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms