SNMP::Info::Layer2::Aironet3pm
Snmp interface to cisco aironet devices running ios.
Usage
# 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";
Overview
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->
|
Returns 'cisco' |
|---|---|
$aironet->
|
System description. Adds info from method |
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->
|
Returns radio interfaces. |
|---|---|
$aironet->
|
Returns client radio interface MAC addresses. |
$aironet->
|
Returns radio interface ssid. |
$aironet->
|
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.
Releases
9 releases since Debian 5.0 (Lenny); the text changed 8 times.