SNMP::Info::Layer2::NAP222x - SNMP Interface to Nortel 2220 Series Access Points
Eric Miller
# Let SNMP::Info determine the correct subclass for you. my $nap222x = new SNMP::Info( AutoSpecify => 1, Debug => 1, 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";
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(...);
See Required MIBs in the SNMP::Info::SONMP manpage for its MIB requirements.
See Required MIBs in the SNMP::Info::IEEE802dot11 manpage for its MIB requirements.
See Required MIBs in the SNMP::Info::Layer2 manpage for its MIB requirements.
These are methods that return scalar value from SNMP
model()
Returns the model extracted from sysDescr
.
os()
Returns 'nortel'
os_bin()
Returns the firmware version extracted from ntWlanSwBootRomVer
.
mac()
Returns the MAC address of the first Ethernet Interface.
serial()
Returns the MAC address of the first Ethernet Interface.
nt_hw_ver()
Returns the hardware version.
(ntWlanSwHardwareVer
)
nt_cc()
Returns the country code of the AP.
(ntWlanSwHardwareVer
)
tftp_action()
(ntWlanTransferStart
)
tftp_host()
(ntWlanFileServer
)
tftp_file()
(ntWlanDestFile
)
tftp_type()
(ntWlanFileType
)
tftp_result()
(ntWlanFileTransferStatus
)
tftp_xtype()
(ntWlanTransferType
)
tftp_src_file()
(ntWlanSrcFile
)
ftp_user()
(ntWlanUserName
)
ftp_pass()
(ntWlanPassword
)
See GLOBALS in the SNMP::Info::SONMP manpage for details.
See GLOBALS in the SNMP::Info::IEEE802dot11 manpage for details.
See GLOBALS in the SNMP::Info::Layer2 manpage for details.
These are methods that return tables of information in the form of a reference to a hash.
interfaces()
Returns reference to map of IIDs to physical ports.
i_duplex()
Returns reference to hash. Maps port operational duplexes to IIDs.
(ntWlanPortSpeedDpxStatus
)
i_duplex_admin()
Returns reference to hash. Maps port admin duplexes to IIDs.
(ntWlanPortCapabilities
)
i_name()
Returns a human name based upon port description.
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.
i_ssidlist()
Returns reference to hash. SSID's recognized by the radio interface.
i_ssidbcast()
Returns reference to hash. Indicates whether the SSID is broadcast.
i_80211channel()
Returns reference to hash. Current operating frequency channel of the radio interface.
i_vlan()
The default Vlan ID of the radio interfaces.
(ntWlanApVlanDefaultVid
)
See TABLE METHODS in the SNMP::Info::SONMP manpage for details.
See TABLE METHODS in the SNMP::Info::IEEE802dot11 manpage for details.
See TABLE METHODS in the SNMP::Info::Layer2 manpage for details.