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

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

Perl5 Interface to Cisco Aironet Wireless Devices running Aironet software, not IOS

## NAME

SNMP::Info::Layer3::Aironet - Perl5 Interface to Cisco Aironet Wireless Devices running Aironet software, not 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

SNMP::Info subclass to provide access to SNMP data for an Aironet device running Aironet software, not 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::Layer3::Aironet(...);
```

### Inherited Classes

- SNMP::Info::Layer3

  ### Required MIBs

- *AWCVX-MIB*

  - *IEEE802dot11-MIB*

  ## GLOBALS

These are methods that return scalar value from SNMP

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

  Gives the admin duplex setting for the Ethernet Port.

  `"awcEtherDuplex.0"`

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

  Gives the MAC Address of the wireless side

  `"dot11StationID.2"`

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

  'aironet'

- $aironet-\>os\_ver

  Tries to cull the version from the description field.

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

  Returns 'cisco'.

### Globals imported from SNMP::Info::Layer3

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

## TABLE METHODS

These are methods that return tables of information in the form of a reference to a hash.

### Overrides

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

  Takes the **bp\_index()** value from SNMP::Info::Bridge and overrides the wireless port to be assigned to the transparent bridge port (port 0)

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

  Adds static table entries from **bs\_mac()** to port 0 so that wireless MAC addresses will be reported.  Forwarding table entries for port 0 are removed.

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

  Adds the static table port mappings to the forwarding table port mappings by adding **bs\_port()** to **fw\_port()**

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

  Adds the value of **awc\_duplex()** to each Ethernet port seen.

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

  Overrides the values for i\_mac with the value from **awc\_mac()** if they are set.

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

  Ignores ports that are of type \`\`rptr'' and \`\`lo''.

### Aironet specific items

- $aironet-\>**awc\_default\_mac()**

  Gives the default MAC address of each interface.

  `"awcIfDefaultPhysAddress"`

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

  Gives the actual MAC address of each interface.

  `"awcIfPhysAddress"`

- $aironet-\>**awc\_ip()**

  Gives the IP Address assigned to each interface.

  `"awcIfIpAddress"`

- $aironet-\>**awc\_netmask()**

  Gives the NetMask for each interface.

  `"awcIfIpNetMask"`

- $aironet-\>**awc\_msdu()**

  `"awcIfMSDUMaxLength"`

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

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