cancel
Showing results for 
Search instead for 
Did you mean: 

LAN Phy Rate from SmartZone REST API

ruckgscz
New Contributor II

Hello,

We have thousands of Ruckus APs and are looking to automate, as manual management is becoming too burdensome. We are looking to check AP LAN Phy negotiated rate and take action if it is not 1 gigabit.

From https://community.ruckuswireless.com/t5/SmartZone-and-Virtual-SmartZone/Way-to-list-APs-by-ethernet-... it appears it was possible to get Lan Phy rate in previous versions of SmartZone REST API. However in our version, 6.1.0.0.935, this data is not available.

Is there another REST endpoint Phy rate moved to? Am I overlooking something?

In current version, GET /aps/{macaddr} returns the following. ['portInfo']['phyLink'] is not present

 

Spoiler
{'mac': '5C:DF:89:...',
'zoneId': '94b5d791-dda0-4ad7-...',
'awsVenue': None,
'apGroupId': '4d0b34e4-20b6-...',
'serial': '412129...',
'model': 'H550',
'name': 'xyz',
'description': None,
'gpsSource': None,
'latitude': '',
'longitude': '',
'location': None,
'locationAdditionalInfo': None,
'provisionChecklist': '',
'administrativeState': 'Unlocked',
'login': None,
'syslog': None,
'wifi24': None,
'wifi50': None,
'wlanService24Enabled': True,
'wlanService50Enabled': True,
'wlanGroup24': None,
'wlanGroup50': None,
'protectionMode24': None,
'network': {'ipType': None,
'ip': None,
'netmask': None,
'gateway': None,
'primaryDns': None,
'secondaryDns': None},
'networkIpv6': {'ipType': 'Keep',
'ip': None,
'gateway': None,
'primaryDns': None,
'secondaryDns': None},
'smartMonitor': None,
'bonjourGateway': None,
'clientAdmissionControl24': {'maxRadioLoadPercent': None,
'minClientCount': None,
'minClientThroughputMbps': None,
'enabled': False},
'clientAdmissionControl50': {'maxRadioLoadPercent': None,
'minClientCount': None,
'minClientThroughputMbps': None,
'enabled': False},
'venueProfile': None,
'specific': {'ledStatusEnabled': True,
'lldp': {'enabled': True,
'advertiseIntervalInSec': 30,
'holdTimeInSec': 120,
'managementIPTLVEnabled': True},
'lacp': None,
'cellularSettings': None,
'ledMode': None,
'internalHeaterEnabled': None,
'poeOutPortEnabled': False,
'usbPowerEnable': True,
'poeModeSetting': 'Auto',
'poeTxChain': 2,
'radioBand': None,
'externalAntenna24': None,
'externalAntenna50': None,
'lanPorts': [{'portName': 'LAN1',
'enabled': True,
'overwriteVlanEnabled': True,
'vlanUntagId': 1176,
'members': '1176',
'ethPortProfile': {'id': '1', 'name': 'Default Access Port'}},
{'portName': 'LAN2',
'enabled': True,
'overwriteVlanEnabled': True,
'vlanUntagId': 1176,
'members': '1176',
'ethPortProfile': {'id': '1', 'name': 'Default Access Port'}},
{'portName': 'LAN3',
'enabled': True,
'overwriteVlanEnabled': True,
'vlanUntagId': 1176,
'members': '1176',
'ethPortProfile': {'id': '1', 'name': 'Default Access Port'}},
{'portName': 'LAN4',
'enabled': True,
'overwriteVlanEnabled': True,
'vlanUntagId': 1176,
'members': '1176',
'ethPortProfile': {'id': '1', 'name': 'Default Access Port'}},
{'portName': 'LAN5',
'enabled': True,
'overwriteVlanEnabled': False,
'vlanUntagId': 1,
'members': '1-4094',
'ethPortProfile': {'id': '0', 'name': 'Default Trunk Port(WAN)'}}]},
'channelEvaluationInterval': None,
'autoChannelSelection24': {'channelSelectMode': 'BackgroundScanning',
'channelFlyMtbc': 480,
'channelFlyChangeFrequency': 33,
'channelFlyOptimizationTimePeriod': ['02:00-03:00']},
'autoChannelSelection50': {'channelSelectMode': 'BackgroundScanning',
'channelFlyMtbc': 480,
'channelFlyChangeFrequency': 33,
'channelFlyOptimizationTimePeriod': ['02:00-03:00']},
'apMgmtVlan': None,
'altitude': {'altitudeUnit': None, 'altitudeValue': None},
'meshOptions': None,
'recoverySsid': None,
'rogueApReportThreshold': 0,
'rogueApAggressivenessMode': 0,
'rogueApJammingThreshold': 50,
'directedMulticastFromWiredClientEnabled': None,
'directedMulticastFromWirelessClientEnabled': None,
'directedMulticastFromNetworkEnabled': None,
'testSpeedEnabled': False,
'lteBandLockChannels': [],
'rksGreForwardBroadcast': None,
'swapInMac': None,
'swapOutMac': None,
'snmpAgent': {'apSnmpEnabled': False,
'snmpV2Agent': None,
'snmpV3Agent': None}}

 

 

Thanks!!

1 ACCEPTED SOLUTION

bruno_andrade
RUCKUS Team Member

Hello, you can use the API QUERY APS: POST /v11_1/query/ap

bruno_andrade_0-1673890242669.png

It will return the port speed in "poePortStatus"

Using postman:

bruno_andrade_1-1673890671630.png

 

Bruno Andrade | Principal TSE Bulldog Americas | RCNA | CWNA | CWDP
Follow me on LinkedIn

View solution in original post

3 REPLIES 3