SNMP::...::N2270(3pm)
π SNMP::...::N2270 β the manual page, bestie edition π
okay so you're looking at SNMP::...::N2270(3pm) β that's the User Contributed Perl Documentation version of this page, section 3pm, and honestly? it's giving "niche but iconic". Let's get into it.
β¨ NAME β¨
SNMP::Info::Layer2::N2270 β the SNMP Interface to Nortel 2270 Series Wireless Switch. that's the whole vibe. nosy little Perl module that goes and talks SNMP to your Nortel switch for you. π¦
π AUTHOR π
Eric Miller. the icon who wrote this. we stan. π
πΈ SYNOPSIS πΈ
here's how you actually use it, no cap:
#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";
so like β you let SNMP::Info do its little subclass-detective thing, and if it can't connect to DestHost, it dies with Can't connect to DestHost.\n. rude but fair. then you print out which device sub class you ended up with. π
π DESCRIPTION π
This provides an abstraction to the configuration information you can obtain from a Nortel 2270 Series Wireless Switch through SNMP. basically: the switch knows stuff, this module translates. π«Ά
π§ Inherited Classes
SNMP::Info::Layer2SNMP::Info::SONMPSNMP::Info::Airespace
it's got three whole lineages. dynasty energy. π
π Required MIBs
Inherited Classes' MIBs
- See "Required MIBs" in
SNMP::Info::Layer2for its own MIB requirements. - See "Required MIBs" in
SNMP::Info::SONMPfor its own MIB requirements. - See "Required MIBs" in
SNMP::Info::Airespacefor its own MIB requirements.
three separate MIB situations, one for each parent. go read those, i'm not doing your homework for you bestie π
β GLOBALS β
these are methods that return scalar value from SNMP. one thing, one answer. clean. β¨
$n2270->vendor()β Returns'nortel'. that's it, that's the answer, no notes.$n2270->os()β Returns'nortel'. yep, same energy. track with it.$n2270->model()β Cross references$bayhub->id()to theSYNOPTICS-ROOT-MIBand returns the results. also, it Removes"sreg-WLANSecuritySwitch"from the model name. like a lil glow-up for your model string. π
π₯ Overrides
$bayhub->index_factor()β Required bySNMP::Info::SONMP. It's the Number representing the number of ports reserved per slot within the device MIB. Returns256.$bayhub->slot_offset()β Required bySNMP::Info::SONMP. Offset if slot numbering does not start at 0. Returns0.
π Globals imported from SNMP::Info::Layer2
See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
π Global Methods imported from SNMP::Info::SONMP
See documentation in "GLOBALS" in SNMP::Info::SONMP for details.
π Global Methods imported from SNMP::Info::Airespace
See documentation in "GLOBALS" in SNMP::Info::Airespace for details.
πΈ TABLE METHODS πΈ
these are methods that return tables of information in the form of a reference to a hash. big data, but make it Perl. π¦
π Overrides
None. literally nothing. it's the "no thoughts, head empty" of overrides, and honestly same.
π¦ Table Methods imported from SNMP::Info::Layer2
See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
β Table Methods imported from SNMP::Info::SONMP
See documentation in "TABLE METHODS" in SNMP::Info::SONMP for details.
π Table Methods imported from SNMP::Info::Airespace
See documentation in "TABLE METHODS" in SNMP::Info::Airespace for details.
reminder: this whole page exists because ofperl v5.40.1, and the version stamped on it is from2026-02-28β so go off, future bestie, and may your SNMP walks always return. mwah πβ¨
π¦ where this page comes from
- ubuntu stonking: libsnmp-info-perl 3.975000-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms