SNMP::...NAP222x(3pm)
β¨ NAME β¨
SNMP::Info::Layer2::NAP222x β bestie, this is the SNMP Interface to Nortel 2220 Series Access Points π it's a Perl module, it lives in the User Contributed Perl Documentation manual section (that's the (3pm) in SNMP::...NAP222x(3pm), iykyk), and it's here to make talking to your AP not a whole ordeal.
π AUTHOR π
Eric Miller
πΈ SYNOPSIS πΈ
okay so here's the vibe β let SNMP::Info pick the right subclass for you so you don't have to be the one guessing:
# Let SNMP::Info determine the correct subclass for you.
my $nap222x = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $nap222x->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
like, if it can't connect to DestHost it will literally die on you, so keep that or die line, she's doing important work π«Ά
π¦ DESCRIPTION π¦
She provides abstraction to the configuration information obtainable from a Nortel 2220 series wireless Access Points through SNMP. That's the whole assignment and she ate π
π Inherited Classes π
SNMP::Info::SONMPSNMP::Info::IEEE802dot11SNMP::Info::Layer2
π Required MIBs π
NORTEL-WLAN-AP-MIB
π Inherited MIBs π
- Peep
"Required MIBs"inSNMP::Info::SONMPfor its MIB requirements. - Peep
"Required MIBs"inSNMP::Info::IEEE802dot11for its MIB requirements. - Peep
"Required MIBs"inSNMP::Info::Layer2for its MIB requirements.
β GLOBALS β
These are methods that return scalar value from SNMP. One value, no table nonsense, just vibes β¨
$nap222x->model()β Returns the model extracted from"sysDescr".$nap222x->os()β Returns'nortel'$nap222x->os_bin()β Returns the firmware version extracted from"ntWlanSwBootRomVer".$nap222x->mac()β Returns the MAC address of the first Ethernet Interface.$nap222x->serial()β Returns the MAC address of the first Ethernet Interface.$nap222x->nt_hw_ver()β Returns the hardware version.
("ntWlanSwHardwareVer")
$nap222x->nt_cc()β Returns the country code of the AP.
("ntWlanSwHardwareVer")
$nap222x->tftp_action()β ("ntWlanTransferStart")$nap222x->tftp_host()β ("ntWlanFileServer")$nap222x->tftp_file()β ("ntWlanDestFile")$nap222x->tftp_type()β ("ntWlanFileType")$nap222x->tftp_result()β ("ntWlanFileTransferStatus")$nap222x->tftp_xtype()β ("ntWlanTransferType")$nap222x->tftp_src_file()β ("ntWlanSrcFile")$nap222x->ftp_user()β ("ntWlanUserName")$nap222x->ftp_pass()β ("ntWlanPassword")
π§ Globals imported from SNMP::Info::SONMP π§
See "GLOBALS" in SNMP::Info::SONMP for details.
π Global Methods imported from SNMP::Info::IEEE802dot11 π
See "GLOBALS" in SNMP::Info::IEEE802dot11 for details.
π Global Methods imported from SNMP::Info::Layer2 π
See "GLOBALS" in SNMP::Info::Layer2 for details.
π₯ TABLE METHODS π₯
These are methods that return tables of information in the form of a reference to a hash. So much data, obsessed π
π Overrides π
$nap222x->interfaces()β Returns reference to map of IIDs to physical ports.$nap222x->i_duplex()β Returns reference to hash. Maps port operational duplexes to IIDs.
("ntWlanPortSpeedDpxStatus")
$nap222x->i_duplex_admin()β Returns reference to hash. Maps port admin duplexes to IIDs.
("ntWlanPortCapabilities")
$nap222x->i_name()β Returns a human name based upon port description.$nap222x->bp_index()β Returns a mapping between"ifIndex"and the Bridge Table. This does not exist in the MIB and bridge port index is not the same as"ifIndex"so it is created.$nap222x->i_ssidlist()β Returns reference to hash. SSID's recognized by the radio interface.$nap222x->i_ssidbcast()β Returns reference to hash. Indicates whether the SSID is broadcast.$nap222x->i_80211channel()β Returns reference to hash. Current operating frequency channel of the radio interface.$nap222x->i_vlan()β The default Vlan ID of the radio interfaces.
("ntWlanApVlanDefaultVid")
π Table Methods imported from SNMP::Info::SONMP π
See "TABLE METHODS" in SNMP::Info::SONMP for details.
π Table Methods imported from SNMP::Info::IEEE802dot11 π
See "TABLE METHODS" in SNMP::Info::IEEE802dot11 for details.
π¦ Table Methods imported from SNMP::Info::Layer2 π¦
See "TABLE METHODS" in SNMP::Info::Layer2 for details.
and that's the whole page, bestie π
This one's from perl v5.40.1, dated 2026-02-28, and it's the SNMP::...NAP222x(3pm) page in the User Contributed Perl Documentation. Go forth and SNMP responsibly, no cap π«Άβ¨
π¦ 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