---
name: "SNMP::Info::Layer2::Aironet"
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::Aironet"
---

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

SNMP Interface to Cisco Aironet devices running IOS.

## NAME

SNMP::Info::Layer2::Aironet - SNMP Interface to Cisco Aironet devices running IOS.

## AUTHOR

Max Baker

## SYNOPSIS

```
 # Let SNMP::Info determine the correct subclass for you.
 my $aironet = new SNMP::Info(
                          AutoSpecify => 1,
                          Debug       => 1,
                          DestHost    => 'myswitch',
                          Community   => 'public',
                          Version     => 2
                        )
    or die "Can't connect to DestHost.\n";
 my $class      = $aironet->class();
 print "SNMP::Info determined this device to fall under subclass : $class\n";
```

## DESCRIPTION

Provides interface to SNMP Data available on newer Aironet devices running Cisco IOS.

Note there are two classes for Aironet devices :

- SNMP::Info::Layer3::Aironet

  This class is for devices running Aironet software (older)

- SNMP::Info::Layer2::Aironet

  This class is for devices running Cisco IOS software (newer)

For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.

my `$aironet` = new SNMP::Info::Layer2::Aironet(...);

### Inherited Classes

- SNMP::Info::Layer2

  - SNMP::Info::EtherLike

  - SNMP::Info::CiscoStats

  - SNMP::Info::CiscoConfig

  ### Required MIBs

- *CISCO-DOT11-ASSOCIATION-MIB*

  - *CISCO-DOT11-IF-MIB*

  - *CISCO-DOT11-SSID-SECURITY-MIB*

  - *CISCO-POE-PD-MIB*

  - *CISCO-VLAN-IFTABLE-RELATIONSHIP-MIB*

  - Inherited Classes

  MIBs required by the inherited classes listed above.

## GLOBALS

These are methods that return scalar value from SNMP

- $aironet-\>**vendor()**

  Returns 'cisco'

- $aironet-\>**description()**

  System description. Adds info from method **e\_descr()** from SNMP::Info::Entity

### Globals imported from SNMP::Info::Layer2

See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.

### Globals imported from SNMP::Info::EtherLike

See documentation in "GLOBALS" in SNMP::Info::EtherLike for details.

## TABLE METHODS

- $aironet-\>**cd11\_port()**

  Returns radio interfaces.

- $aironet-\>**cd11\_mac()**

  Returns client radio interface MAC addresses.

- $aironet-\>**cd11\_ssid()**

  Returns radio interface ssid.

- $aironet-\>**dot11\_cur\_tx\_pwr\_mw()**

  Current transmit power, in milliwatts, of the radio interface.

### Overrides

- $aironet-\>**interfaces()**

  Uses the **i\_description()** field.

- $aironet-\>**i\_mac()**

  MAC address of the interface. Note this is just the MAC of the port, not anything connected to it.

- $aironet-\>**i\_duplex()**

  Crosses information from SNMP::Info::EtherLike to get duplex info for interfaces.

- $aironet-\>**bp\_index()**

  Returns reference to hash of bridge port table entries map back to interface identifier (iid)

- $aironet-\>**fw\_mac()**

  Returns reference to hash of forwarding table MAC Addresses

- $aironet-\>**fw\_port()**

  Returns reference to hash of forwarding table entries port interface identifier (iid)

- $aironet-\>**i\_vlan()**

  Returns a mapping between `"ifIndex"` and the PVID or default VLAN.

- $aironet-\>**v\_index()**

  Returns VLAN IDs

- $aironet-\>**v\_name()**

  Returns VLAN names

- $aironet-\>**i\_ssidlist()**

  Returns a list of SSIDs associated with interfaces.  This function is `"MBSSID"` aware, so when using `"MBSSID"` can map SSIDs to the sub-interface to which they belong.

- $aironet-\>**i\_ssidbcast()**

  With the same keys as i\_ssidlist, returns whether the given SSID is being broadcast.

- $aironet-\>**i\_ssidmac()**

  With the same keys as i\_ssidlist, returns the Basic service set identification (BSSID), MAC address, the AP is using for the SSID.

- $aironet **ps1\_status()**

  Returns the PoE injector status based on `"cpoePdSupportedPower"` and `"cpoePdSupportedPowerMode"`.

### Table Methods imported from SNMP::Info::Layer2

See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.

### Table Methods imported from SNMP::Info::EtherLike

See documentation in "TABLE METHODS" in SNMP::Info::EtherLike for details.

## Data Munging Callback Subroutines

- $aironet-\>**munge\_cd11\_txrate()**

  Converts units of half a megabit to human readable string.
