logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Eric Miller

Description

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

   InheritedClasses
       SNMP::Info::MAU
       SNMP::Info::CDP
       SNMP::Info::Layer3

   RequiredMIBsENTERASYS-OIDS-MIBInheritedMIBs
       See "Required MIBs" in SNMP::Info::MAU 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")

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

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

   GlobalsimportedfromSNMP::Info::Layer3
       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.

Name

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

Synopsis

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

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

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

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.

   TimeFilterTableIndexOverrides
       The  time  filter  "TimeFilter" 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->qb_fdb_index()
       $enterasys->i_vlan_membership()
       $enterasys->i_vlan_membership_untagged()
       $enterasys->lldp_if()
       $enterasys->lldp_ip()
       $enterasys->lldp_port()
       $enterasys->lldp_id()
       $enterasys->lldp_platform()TableMethodsimportedfromSNMP::Info::MAU
       See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.

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

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

perl v5.40.0                                       2024-11-09                 SNMP::Info::Layer3::Enterasys(3pm)

See Also