SNMP::Info::Layer2::NAP222x.3pm

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

SNMP::Info::Layer2::NAP222x - SNMP Interface to Nortel 2220 Series Access Points

AUTHOR

Eric Miller

SYNOPSIS

  # Let SNMP::Info determine the correct subclass for you. 
  my $nap222x = 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 = $nap222x->class();
  print "SNMP::Info determined this device to fall under subclass : $class\n";
 
 

DESCRIPTION

Provides abstraction to the configuration information obtainable from a Nortel 2220 series wireless Access Points through SNMP.

For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.

  my $nap222x = new SNMP::Info::Layer2::NAP222x(...);
 
 

Inherited Classes

SNMP::Info::SONMP
SNMP::Info::IEEE802dot11
SNMP::Info::Layer2

Required MIBs

NORTEL-WLAN-AP-MIB

Inherited MIBs

See ``Required MIBs'' in SNMP::Info::SONMP for its MIB requirements.

See ``Required MIBs'' in SNMP::Info::IEEE802dot11 for its MIB requirements.

See ``Required MIBs'' in SNMP::Info::Layer2 for its MIB requirements.

GLOBALS

These are methods that return scalar value from SNMP
$nap222x->model()
Returns the model extracted from sysDescr.
$nap222x->os()
Returns 'nortel'
$nap222x->os_bin()
Returns the firmware version extracted from ntWlanSwBootRomVer.
$nap222x->mac()
Returns the MAC address of the first Ethernet Interface.
$nap222x->serial()
Returns the MAC address of the first Ethernet Interface.
$nap222x->nt_hw_ver()
Returns the hardware version.

(ntWlanSwHardwareVer)

$nap222x->nt_cc()
Returns the country code of the AP.

(ntWlanSwHardwareVer)

$nap222x->tftp_action()
(ntWlanTransferStart)
$nap222x->tftp_host()
(ntWlanFileServer)
$nap222x->tftp_file()
(ntWlanDestFile)
$nap222x->tftp_type()
(ntWlanFileType)
$nap222x->tftp_result()
(ntWlanFileTransferStatus)
$nap222x->tftp_xtype()
(ntWlanTransferType)
$nap222x->tftp_src_file()
(ntWlanSrcFile)
$nap222x->ftp_user()
(ntWlanUserName)
$nap222x->ftp_pass()
(ntWlanPassword)

Globals imported from SNMP::Info::SONMP

See ``GLOBALS'' in SNMP::Info::SONMP for details.

Global Methods imported from SNMP::Info::IEEE802dot11

See ``GLOBALS'' in SNMP::Info::IEEE802dot11 for details.

Global Methods imported from SNMP::Info::Layer2

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

TABLE METHODS

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

Overrides

$nap222x->interfaces()
Returns reference to map of IIDs to physical ports.
$nap222x->i_duplex()
Returns reference to hash. Maps port operational duplexes to IIDs.

(ntWlanPortSpeedDpxStatus)

$nap222x->i_duplex_admin()
Returns reference to hash. Maps port admin duplexes to IIDs.

(ntWlanPortCapabilities)

$nap222x->i_name()
Returns a human name based upon port description.
$nap222x->bp_index()
Returns a mapping between ifIndex and the Bridge Table. This does not exist in the MIB and bridge port index is not the same as ifIndex so it is created.
$nap222x->i_ssidlist()
Returns reference to hash. SSID's recognized by the radio interface.
$nap222x->i_ssidbcast()
Returns reference to hash. Indicates whether the SSID is broadcast.
$nap222x->i_80211channel()
Returns reference to hash. Current operating frequency channel of the radio interface.
$nap222x->i_vlan()
The default VID of the radio interfaces.

(ntWlanApVlanDefaultVid)

Table Methods imported from SNMP::Info::SONMP

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

Table Methods imported from SNMP::Info::IEEE802dot11

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

Table Methods imported from SNMP::Info::Layer2

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