SNMP::Info::Layer3::Dell - SNMP Interface to Dell Power Connect Network Devices
Eric Miller
# 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";
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(...);
See classes listed above for their required MIBs.
These are methods that return scalar value from SNMP
os_ver()
(productIdentificationVersion
)
dell_id_name()
(productIdentificationDisplayName
)
model()
Returns model type. Returns numeric from
(productIdentificationDisplayName
) if available, otherwise if returns
description().
vendor()
Returns 'dell', 'dlink', or 'ibm' based upon the IANA enterprise number in id(). Defaults to 'dlink'.
os()
Returns 'dell', 'dlink', or 'ibm' based upon the IANA enterprise number in id(). Defaults to 'dlink'.
serial()
Returns serial number. Returns (rlPhdUnitGenParamSerialNum
) if available,
otherwise uses the Layer3 serial method.
See documentation in GLOBALS in the SNMP::Info::Layer3 manpage for details.
These are methods that return tables of information in the form of a reference to a hash.
swIfTable
)dell_duplex_admin()
(swIfDuplexAdminMode
)
dell_duplex()
(swIfDuplexOperMode
)
dell_tag_mode()
(swIfTaggedMode
)
dell_i_type()
(swIfType
)
dell_fc_admin()
(swIfFlowControlMode
)
dell_speed_admin()
(swIfSpeedAdminMode
)
dell_auto()
(swIfSpeedDuplexAutoNegotiation
)
dell_fc()
(swIfOperFlowControlMode
)
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.
i_duplex_admin()
Returns reference to hash of iid to current link administrative duplex setting.
fw_mac()
Returns reference to hash of forwarding table MAC Addresses.
Some devices don't implement the BRIDGE-MIB
forwarding table, so we use
the Q-BRIDGE-MIB
forwarding table. Fall back to the BRIDGE-MIB
if
Q-BRIDGE-MIB
doesn't return anything.
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
the Q-BRIDGE-MIB
forwarding table. Fall back to the BRIDGE-MIB
if
Q-BRIDGE-MIB
doesn't return anything.
See documentation in TABLE METHODS in the SNMP::Info::Layer3 manpage for details.