SNMP::Info::Layer2::NWSS2300 - SNMP Interface to Avaya (Trapeze) Wireless Controllers
Eric Miller
#Let SNMP::Info determine the correct subclass for you. my $nwss2300 = new SNMP::Info( AutoSpecify => 1, Debug => 1, DestHost => 'myswitch', Community => 'public', Version => 2 ) or die "Can't connect to DestHost.\n"; my $class = $nwss2300->class(); print " Using device sub class : $class\n";
Provides abstraction to the configuration information obtainable from Avaya (Trapeze) Wireless Controllers through SNMP.
This class emulates bridge functionality for the wireless switch. This enables end station MAC addresses collection and correlation to the thin access point the end station is using for communication.
For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.
my $nwss2300 = new SNMP::Info::Layer2::NWSS2300(...);
See "Required MIBs" in SNMP::Info for its own MIB requirements.
See "Required MIBs" in SNMP::Info::Bridge for its own MIB requirements.
These are methods that return scalar value from SNMP
Returns 'avaya'
Returns 'trapeze'
(ntwsVersionString)
ntwsVersionString
Tries to reference $nwss2300->id() to NTWS-REGISTRATION-DEVICES-MIB
Removes 'ntwsSwitch' for readability.
'ntwsSwitch'
(ntwsSerialNumber)
ntwsSerialNumber
(dot1dBaseBridgeAddress)
dot1dBaseBridgeAddress
Returns 00000011. Class emulates Layer 2 functionality for Thin APs through proprietary MIBs.
See documentation in "GLOBALS" in SNMP::Info for details.
See documentation in "GLOBALS" in SNMP::Info::Bridge for details.
These are methods that return tables of information in the form of a reference to a hash.
Returns reference to hash. SSID's recognized by the radio interface.
Returns reference to hash. Current operating frequency channel of the radio interface.
Returns reference to hash. Current transmit power, in milliwatts, of the radio interface.
Client MAC address.
ntwsApStatApStatusTable
A table describing all the APs currently present and managed by the controller.
(ntwsApStatApStatusBaseMac)
ntwsApStatApStatusBaseMac
(ntwsApStatApStatusApName)
ntwsApStatApStatusApName
(ntwsApStatApStatusIpAddress)
ntwsApStatApStatusIpAddress
(ntwsApStatApStatusSoftwareVer)
ntwsApStatApStatusSoftwareVer
(ntwsApStatApStatusBootVer)
ntwsApStatApStatusBootVer
(ntwsApStatApStatusModel)
ntwsApStatApStatusModel
(ntwsApStatApStatusApState)
ntwsApStatApStatusApState
(ntwsApStatApStatusManufacturerId)
ntwsApStatApStatusManufacturerId
(ntwsApStatApStatusApNum)
ntwsApStatApStatusApNum
(ntwsApStatApStatusPortOrDapNum)
ntwsApStatApStatusPortOrDapNum
ntwsApStatRadioStatusTable
A table describing all radios on all the APs currently present and managed by the controller.
(ntwsApStatRadioStatusBaseMac)
ntwsApStatRadioStatusBaseMac
(ntwsApStatRadioStatusRadioPhyType)
ntwsApStatRadioStatusRadioPhyType
(ntwsApStatRadioStatusCurrentChannelNum)
ntwsApStatRadioStatusCurrentChannelNum
(ntwsApStatRadioStatusCurrentPowerLevel)
ntwsApStatRadioStatusCurrentPowerLevel
(ntwsApStatRadioStatusRadioMode)
ntwsApStatRadioStatusRadioMode
ntwsApStatRadioServiceTable
A table describing radio services associated with APs currently present and managed by the controller.
(ntwsApStatRadioServBssid)
ntwsApStatRadioServBssid
(ntwsApStatRadioServServiceProfileName)
ntwsApStatRadioServServiceProfileName
ntwsApConfServiceProfileTable
(ntwsApConfServProfBeaconEnabled)
ntwsApConfServProfBeaconEnabled
ntwsApConfRadioConfigTable
(ntwsApConfRadioConfigTxPower)
ntwsApConfRadioConfigTxPower
(ntwsApConfRadioConfigChannel)
ntwsApConfRadioConfigChannel
(ntwsApConfRadioConfigRadioMode)
ntwsApConfRadioConfigRadioMode
ntwsApConfApConfigTable
(ntwsApConfApConfigDescription)
ntwsApConfApConfigDescription
(ntwsApConfApConfigLocation)
ntwsApConfApConfigLocation
(ntwsApConfApConfigApName)
ntwsApConfApConfigApName
(ntwsApConfApConfigApModelName)
ntwsApConfApConfigApModelName
(ntwsApConfApConfigApSerialNum)
ntwsApConfApConfigApSerialNum
ntwsClSessClientSessionTable
(ntwsClSessClientSessRadioNum)
ntwsClSessClientSessRadioNum
(ntwsClSessClientSessApSerialNum)
ntwsClSessClientSessApSerialNum
(ntwsClSessClientSessSsid)
ntwsClSessClientSessSsid
(ntwsClSessClientSessIpAddress)
ntwsClSessClientSessIpAddress
ntwsClSessClientSessionStatisticsTable
These emulate the CISCO-DOT11-MIB
(ntwsClSessClientSessStatsLastRssi)
ntwsClSessClientSessStatsLastRssi
(ntwsClSessClientSessStatsLastSNR)
ntwsClSessClientSessStatsLastSNR
(ntwsClSessClientSessStatsLastRate)
ntwsClSessClientSessStatsLastRate
(ntwsClSessClientSessStatsUniOctetIn)
ntwsClSessClientSessStatsUniOctetIn
(ntwsClSessClientSessStatsUniOctetOut)
ntwsClSessClientSessStatsUniOctetOut
(ntwsClSessClientSessStatsUniPktIn)
ntwsClSessClientSessStatsUniPktIn
(ntwsClSessClientSessStatsUniPktOut)
ntwsClSessClientSessStatsUniPktOut
See documentation in "TABLE METHODS" in SNMP::Info for details.
See documentation in "TABLE METHODS" in SNMP::Info::Bridge for details.
Returns reference to map of IIDs to Interface index.
Extends ifIndex to support thin APs and WLAN virtual interfaces as device interfaces.
ifIndex
Returns reference to map of IIDs to ports. Thin APs are implemented as device interfaces. The thin AP MAC address and Slot ID nwss2300_apif_slot() are used as the port identifier.
Returns reference to map of IIDs to interface names. Returns ifName for Ethernet interfaces and nwss2300_ap_name() for thin AP interfaces.
ifName
Returns reference to map of IIDs to interface types. Returns ifDescr for Ethernet interfaces, nwss2300_ap_name() for thin AP interfaces.
ifDescr
Returns reference to map of IIDs to interface descriptions. Returns ifType for Ethernet interfaces and 'capwapWtpVirtualRadio' for thin AP interfaces.
ifType
'capwapWtpVirtualRadio'
Returns reference to map of IIDs to link status of the interface. Returns ifOperStatus for Ethernet interfaces and nwss2300_apif_admin() for thin AP interfaces.
ifOperStatus
Returns reference to map of IIDs to administrative status of the interface. Returns ifAdminStatus for Ethernet interfaces and nwss2300_apif_admin() for thin AP interfaces.
ifAdminStatus
Returns reference to map of IIDs to MAC address of the interface. Returns ifPhysAddress for Ethernet interfaces.
ifPhysAddress
Simulates bridge MIB by returning reference to a hash mapping i_index() to the interface iid.
Returns reference to a hash, value being mac and nwss2300_sta_slot() combined to match the interface iid.
Extracts the MAC from the nwss2300_sta_serial() index.
The controller snoops on the MAC->IP mappings. Using this as ARP cache data allows us to get MAC->IP mappings even for stations that only communicate locally. The data is gathered from nwss2300_sta_ip().
Returns reference to hash of Pseudo Arp Cache Entries to MAC address
Returns reference to hash of Pseudo Arp Cache Entries to IP Address
These methods emulate ENTITY-MIB Physical Table methods using NTWS-AP-STATUS-MIB. Thin APs are included as subcomponents of the wireless controller.
Returns reference to hash. Key: IID and Value: Integer. The index for APs is created with an integer representation of the last three octets of the AP MAC address.
Returns reference to hash. Key: IID, Value: General hardware type. Return ap for wireless access points.
Returns reference to hash. Key: IID, Value: Human friendly name.
Returns reference to hash. Key: IID, Value: Model name.
More computer friendly name of entity. Name is either 'WLAN Controller' or 'AP'.
Returns reference to hash. Key: IID, Value: avaya.
Returns reference to hash. Key: IID, Value: Serial number.
Returns reference to hash. Key: IID, Value: The relative position among all entities sharing the same parent.
Returns reference to hash. Key: IID, Value: Type of component.
Returns reference to hash. Key: IID, Value: Firmware revision.
Returns reference to hash. Key: IID, Value: Software revision.
Returns reference to hash. Key: IID, Value: The value of e_index() for the entity which 'contains' this entity.
To install SNMP::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SNMP::Info
CPAN shell
perl -MCPAN -e shell install SNMP::Info
For more information on module installation, please visit the detailed CPAN module installation guide.