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 => 1
)
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-Vendor-MIB
- RADLAN-Physicaldescription-MIB
- RADLAN-rlInterfaces
- RADLAN-HWENVIROMENT
- 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'.
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_admin()
-
Returns reference to hash of iid to current link administrative duplex setting.
- $dell->fw_mac()
-
Returns reference to hash of forwarding table MAC Addresses.
Some devices don't implement the
BRIDGE-MIB
forwarding table, so we use theQ-BRIDGE-MIB
forwarding table. Fall back to theBRIDGE-MIB
ifQ-BRIDGE-MIB
doesn't return anything. - $dell->fw_port()
-
Returns reference to hash of forwarding table entries port interface identifier (iid)
Some devices don't implement the
BRIDGE-MIB
forwarding table, so we use theQ-BRIDGE-MIB
forwarding table. Fall back to theBRIDGE-MIB
ifQ-BRIDGE-MIB
doesn't return anything.
Table Methods imported from SNMP::Info::Layer3
See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.