---
name: "SNMP::Info::Layer2::NAP222x"
section: "3pm"
platform: "linux"
package: "libsnmp-info-perl"
version: "3.972002-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SNMP::Info::Layer2::NAP222x"
---

# SNMP::Info::Layer2::NAP222x(3pm)

SNMP Interface to Nortel 2220 Series Access Points

## NAME

SNMP::Info::Layer2::NAP222x - SNMP Interface to Nortel 2220 Series Access Points

## AUTHOR

Eric Miller

## SYNOPSIS

```
 # 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";
```

## DESCRIPTION

Provides abstraction to the configuration information obtainable from a Nortel 2220 series wireless Access Points through SNMP.

### Inherited Classes

- SNMP::Info::SONMP

  - SNMP::Info::IEEE802dot11

  - SNMP::Info::Layer2

  ### Required MIBs

- *NORTEL-WLAN-AP-MIB*

  ### Inherited MIBs

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

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

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

## GLOBALS

These are methods that return scalar value from SNMP

- $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.

### 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.
