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::SONMP
  • SNMP::Info::IEEE802dot11
  • SNMP::Info::Layer2

πŸ“ Required MIBs πŸ“

  • NORTEL-WLAN-AP-MIB

🌈 Inherited MIBs 🌈

  • Peep "Required MIBs" in SNMP::Info::SONMP for its MIB requirements.
  • Peep "Required MIBs" in SNMP::Info::IEEE802dot11 for its MIB requirements.
  • Peep "Required MIBs" in SNMP::Info::Layer2 for 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