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::Layer2::N2270 - SNMP Interface to Nortel 2270 Series Wireless Switch

Author

       Eric Miller

Description

       Provides abstraction to the configuration information obtainable from a Nortel 2270 Series Wireless
       Switch through SNMP.

   InheritedClasses
       SNMP::Info::Layer2
       SNMP::Info::SONMP
       SNMP::Info::Airespace

   RequiredMIBs
       Inherited Classes' MIBs
           See "Required MIBs" in SNMP::Info::Layer2 for its own MIB requirements.

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

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

Globals

       These are methods that return scalar value from SNMP

       $n2270->vendor()
           Returns 'nortel'

       $n2270->os()
           Returns 'nortel'

       $n2270->model()
           Cross references $bayhub->id() to the SYNOPTICS-ROOT-MIB and returns the results.

           Removes "sreg-WLANSecuritySwitch" from the model name

   Overrides
       $bayhub->index_factor()
           Required  by SNMP::Info::SONMP.  Number representing the number of ports reserved per slot within the
           device MIB.  Returns 256.

       $bayhub->slot_offset()
           Required by SNMP::Info::SONMP.  Offset if slot numbering does not start at 0.  Returns 0.

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

   GlobalMethodsimportedfromSNMP::Info::SONMP
       See documentation in "GLOBALS" in SNMP::Info::SONMP for details.

   GlobalMethodsimportedfromSNMP::Info::Airespace
       See documentation in "GLOBALS" in SNMP::Info::Airespace for details.

Name

       SNMP::Info::Layer2::N2270 - SNMP Interface to Nortel 2270 Series Wireless Switch

Synopsis

           #Let SNMP::Info determine the correct subclass for you.

           my $n2270 = new SNMP::Info(
                                 AutoSpecify => 1,
                                 Debug       => 1,
                                 DestHost    => 'myswitch',
                                 Community   => 'public',
                                 Version     => 2
                               )

           or die "Can't connect to DestHost.\n";

           my $class = $n2270->class();
           print " Using device sub class : $class\n";

Table Methods

       These are methods that return tables of information in the form of a reference to a hash.

   Overrides
       None

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

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

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

perl v5.40.0                                       2024-11-09                     SNMP::Info::Layer2::N2270(3pm)

See Also