SNMP::Info::Layer2::Aironet.3pm

Langue: en

Version: 2007-11-25 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

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,
                           # These arguments are passed directly on to SNMP::Session
                           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::Entity
SNMP::Info::EtherLike
SNMP::Info::CiscoVTP

Required MIBs

Inherited Classes
MIBs required by the inherited classes listed above.

GLOBALS

These are methods that return scalar value from SNMP
$aironet->discription()
Adds info from method e_descr() from SNMP::Info::Entity
$aironet->vendor()
     Returns 'cisco' :)
 
 

Globals imported from SNMP::Info::Layer2

See documentation in ``GLOBALS'' in SNMP::Info::Layer2 for details.

Globals imported from SNMP::Info::Entity

See documentation in ``GLOBALS'' in SNMP::Info::Entity for details.

Globals imported from SNMP::Info::EtherLike

See documentation in ``GLOBALS'' in SNMP::Info::EtherLike for details.

TABLE METHODS


Overrides

$aironet->interfaces()
Uses the i_description() field.
$aironet->i_duplex()
Crosses information from SNMP::Info::EtherLike to get duplex info for interfaces.

Table Methods imported from SNMP::Info::Layer2

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

Table Methods imported from SNMP::Info::Entity

See documentation in ``TABLE METHODS'' in SNMP::Info::Entity for details.

Table Methods imported from SNMP::Info::EtherLike

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