table of contents
SNMP::Info::Layer3::Dell(3pm) | User Contributed Perl Documentation | SNMP::Info::Layer3::Dell(3pm) |
NAME¶
SNMP::Info::Layer3::Dell - SNMP Interface to Dell Power Connect Network Devices
AUTHOR¶
Eric Miller
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";
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(...);
Inherited Classes¶
Required MIBs¶
- DELL-REF-MIB
- Dell-Vendor-MIB
- RADLAN-COPY-MIB
- RADLAN-HWENVIROMENT
- RADLAN-Physicaldescription-MIB
- RADLAN-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-MIB
Overrides¶
- $dell->serial()
- Returns serial number. Returns ("rlPhdUnitGenParamSerialNum") if available, otherwise uses the Layer3 serial method.
Globals imported from SNMP::Info::Layer3¶
See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
TABLE METHODS¶
These are methods that return tables of information in the form of a reference to a hash.
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 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"
Table Methods imported from SNMP::Info::Layer3¶
See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
2024-09-16 | perl v5.38.2 |