Oliver Gorwits > SNMP-Info > SNMP::Info::Layer3::Dell

Download:
SNMP-Info-3.20.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 3.20   Source  

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

SNMP::Info::Layer3

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.

Globals imported from SNMP::Info::LLDP

See documentation in "GLOBALS" in SNMP::Info::LLDP 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.

Table Methods imported from SNMP::Info::Layer3

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

Table Methods imported from SNMP::Info::LLDP

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

syntax highlighting: