NAME
SNMP::Info::Layer3::Aironet - Perl5 Interface to Cisco Aironet Wireless Devices
DESCRIPTION
Inherits all methods from SNMP::Info::Layer3
AUTHOR
Max Baker (max@warped.org
)
SYNOPSIS
my $aironet = new SNMP::Info::Layer3::Aironet(DestHost => 'myswitch',
Community => 'public');
my $mac = $aironet->mac();
CREATING AN OBJECT
- new SNMP::Info::Layer3::Aironet()
-
Arguments passed to new() are passed on to SNMP::Session::new()
my $aironet = new SNMP::Info::Layer3::Aironet( DestHost => $host, Community => 'public', Version => 3,... ) die "Couldn't connect.\n" unless defined $aironet;
- $aironet->session()
-
Sets or returns the SNMP::Session object
# Get my $sess = $aironet->session(); # Set my $newsession = new SNMP::Session(...); $aironet->session($newsession);
Globals
- $aironet->mac()
-
Gives the MAC Address of the wireless side
dot11StationID.2
- $aironet->awc_duplex()
-
Gives the admin duplex setting for the Ethernet Port.
awcEtherDuplex.0
- $aironet->vendor()
-
Returns 'cisco'.
TABLE ENTRIES
Aironet specific items
- $aironet->awc_default_mac()
-
Gives the default MAC address of each interface.
awcIfDefaultPhyAddress
- $aironet->awc_mac()
-
Gives the actual MAC address of each interface.
awcIfPhyAddress
- $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
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''.