Oliver Gorwits > SNMP-Info-3.12 > SNMP::Info::Layer3::Enterasys

Download:
SNMP-Info-3.12.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 3.12   Source   Latest Release: SNMP-Info-3.23

NAME ^

SNMP::Info::Layer3::Enterasys - SNMP Interface to Enterasys Network Devices

AUTHOR ^

Eric Miller

SYNOPSIS ^

 # Let SNMP::Info determine the correct subclass for you. 
 my $enterasys = new SNMP::Info(
                          AutoSpecify => 1,
                          Debug       => 1,
                          DestHost    => 'myswitch',
                          Community   => 'public',
                          Version     => 1
                        ) 
    or die "Can't connect to DestHost.\n";

 my $class = $enterasys->class();

 print "SNMP::Info determined this device to fall under subclass : $class\n";

DESCRIPTION ^

Provides abstraction to the configuration information obtainable from an Enterasys device through SNMP.

For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.

my $enterasys = new SNMP::Info::Layer3::Enterasys(...);

Inherited Classes

SNMP::Info::MAU
SNMP::Info::LLDP
SNMP::Info::CDP
SNMP::Info::Layer3

Required MIBs

ENTERASYS-OIDS-MIB

Inherited MIBs

See "Required MIBs" in SNMP::Info::MAU for its MIB requirements.

See "Required MIBs" in SNMP::Info::LLDP for its MIB requirements.

See "Required MIBs" in SNMP::Info::CDP for its MIB requirements.

See "Required MIBs" in SNMP::Info::Layer3 for its MIB requirements.

GLOBALS ^

These are methods that return scalar value from SNMP

$enterasys->model()

Returns model type. Checks $enterasys->id() against the ENTERASYS-OIDS-MIB.

$enterasys->vendor()

Returns enterasys

$enterasys->os()

Returns enterasys

$enterasys->os_ver()

Returns os version extracted from sysDescr

$enterasys->mac()

Returns base mac

(dot1dBaseBridgeAddress)

Globals imported from SNMP::Info::MAU

See documentation in "GLOBALS" in SNMP::Info::MAU for details.

Globals imported from SNMP::Info::LLDP

See documentation in "GLOBALS" in SNMP::Info::LLDP for details.

Globals imported from SNMP::Info::CDP

See documentation in "GLOBALS" in SNMP::Info::CDP for details.

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.

Overrides

$enterasys->interfaces()

Mapping between the Interface Table Index (iid) and the physical port name.

$enterasys->i_ignore()

Returns reference to hash. Creates a key for each IID that should be ignored.

Currently looks for rs232, tunnel,loopback,lo,null from $enterasys->interfaces()

$enterasys->i_duplex()

See documentation for mau_i_duplex() in "TABLE METHODS" in SNMP::Info::MAU.

$enterasys->i_duplex_admin()

See documentation for mau_i_duplex_admin() in "TABLE METHODS" in SNMP::Info::MAU.

Link Layer Discovery Protocol (LLDP) Overrides

The LLDP table time filter implementation continuously increments when walked and we may never reach the end of the table. This behavior can be modified with the "set snmp timefilter break disable" command, unfortunately it is not the default. These methods are overridden to supply a partial value of zero which means no time filter.

$enterasys->lldp_if()
$enterasys->lldp_ip()
$enterasys->lldp_port()
$enterasys->lldp_id()
$enterasys->lldp_platform()

Table Methods imported from SNMP::Info::MAU

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

Table Methods imported from SNMP::Info::LLDP

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

Table Methods imported from SNMP::Info::CDP

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

Table Methods imported from SNMP::Info::Layer3

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

syntax highlighting: