SNMP::Info::Layer2::Aironet - SNMP Interface to Cisco Aironet devices running IOS.
Max Baker (max@warped.org)
# 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";
Provides interface to SNMP Data available on newer Aironet devices running Cisco IOS.
Note there are two classes for Aironet devices :
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(...);
These are methods that return scalar value from SNMP
discription()e_descr() from SNMP::Info::Entity
vendor()
Returns 'cisco' :)
See documentation in SNMP::Info::Layer2 for details.
See documentation in SNMP::Info::Entity for details.
See documentation in SNMP::Info::EtherLike for details.
interfaces()i_description() field.
i_duplex()
See documentation in SNMP::Info::Layer2 for details.
See documentation in SNMP::Info::Entity for details.
See documentation in SNMP::Info::EtherLike for details.