SNMP::Info::Layer2::N2270 - SNMP Interface to Nortel 2270 Series Wireless Switch
Eric Miller
#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";
Provides abstraction to the configuration information obtainable from a Nortel 2270 Series Wireless Switch 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 $n2270 = new SNMP::Info::Layer2::N2270(...);
See "Required MIBs" in SNMP::Info for its own MIB requirements.
See "Required MIBs" in SNMP::Info::Bridge 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.
These are methods that return scalar value from SNMP
Returns 'nortel'
Cross references $bayhub->id() to the SYNOPTICS-ROOT-MIB and returns the results.
Removes sreg-WLANSecuritySwitch from the model name
sreg-WLANSecuritySwitch
Required by SNMP::Info::SONMP. Number representing the number of ports reserved per slot within the device MIB. Returns 256.
Required by SNMP::Info::SONMP. Offset if slot numbering does not start at 0. Returns 0.
See documentation in "GLOBALS" in SNMP::Info for details.
See documentation in "GLOBALS" in SNMP::Info::Bridge for details.
See documentation in "GLOBALS" in SNMP::Info::SONMP for details.
See documentation in "GLOBALS" in SNMP::Info::Airespace for details.
These are methods that return tables of information in the form of a reference to a hash.
See documentation in "TABLE METHODS" in SNMP::Info for details.
See documentation in "TABLE METHODS" in SNMP::Info::Bridge for details.
See documentation in "TABLE METHODS" in SNMP::Info::SONMP for details.
See documentation in "TABLE METHODS" in SNMP::Info::Airespace for details.
To install SNMP::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SNMP::Info
CPAN shell
perl -MCPAN -e shell install SNMP::Info
For more information on module installation, please visit the detailed CPAN module installation guide.