What packages ?
I think, you need to open a case to TAC to get info about why don't get the same number with API and GUI...
------------------------------
PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...
PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)
PowerArubaCL: Powershell Module to use Aruba Central
PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..
ACEP / ACMX #107 / ACDX #1281
------------------------------
Original Message:
Sent: May 24, 2023 03:58 AM
From: ardakmese
Subject: Rest API Reference of TX Drops - Aruba Switch 2930F
Thank you again,
I can see the port-statistics with command :
"show interface"
Unfortunetely there are drops tx on switch ports.
However, Aruba panel still shows 0% tx_drops on total, while there are 1,667,651 bytes maximum drop one of the ports.
Is there a threshold or is it possible that it floors values to "0" while calculating the percentage of drop_tx?
One more question, is there a way to find which packages are dropped on the switch?
Thank you again.
Regards
Original Message:
Sent: May 23, 2023 09:14 AM
From: alagoutte
Subject: Rest API Reference of TX Drops - Aruba Switch 2930F
show interface stats
------------------------------
PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...
PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)
PowerArubaCL: Powershell Module to use Aruba Central
PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..
ACEP / ACMX #107 / ACDX #1281
Original Message:
Sent: May 23, 2023 08:36 AM
From: ardakmese
Subject: Rest API Reference of TX Drops - Aruba Switch 2930F
Current firmware version is WC.16.10.0009
I tried getting information with different vX api versions, but could not find the ones equal with the panel values.
And I do not think changing api version shows me different values.
I can check stasuses only from browser with using the pabel Aruba provides. I dont know how to compare with CLI.
Thank you.
Original Message:
Sent: May 23, 2023 08:10 AM
From: alagoutte
Subject: Rest API Reference of TX Drops - Aruba Switch 2930F
Hi,
Strange, What firmware release ?
do you have compare with CLI ?
------------------------------
PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...
PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)
PowerArubaCL: Powershell Module to use Aruba Central
PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..
ACEP / ACMX #107 / ACDX #1281
Original Message:
Sent: May 23, 2023 05:16 AM
From: ardakmese
Subject: Rest API Reference of TX Drops - Aruba Switch 2930F
Hi again,
Thank you for your reply alaguatte.
I can see details of the port statistics now. However, what I read is different from the information in the aruba panel.
While there is no tx drop which I read from aruba panel, I read drops as "drop_tx : 275429" from terminal with using command above.
Even bytes_tx and Total Bytes are different from the panel and the ones that I read from termial.
Do I miss something? How can i find api references for tx drops or other statistics that switch shows me as status from the panel?
Thank you again
Regards
Original Message:
Sent: May 22, 2023 02:54 PM
From: alagoutte
Subject: Rest API Reference of TX Drops - Aruba Switch 2930F
Hi,
You can use rest/vX/port-statistics (with X the API version from 1 to 8...)
For example with PowerArubaCP
Get-ArubaSWPortStatistics -Verbose VERBOSE: https://192.168.44.241:443/rest/v4/port-statisticsVERBOSE: HTTP/1.1 GET with 0-byte payloadVERBOSE: received -byte response of content type application/json uri : /port-statistics/1id : 1name : packets_tx : 432829785packets_rx : 264824969bytes_tx : 3719541021bytes_rx : 1690748110throughput_tx_bps : 361344throughput_rx_bps : 73104error_tx : 0error_rx : 1drop_tx : 0port_speed_mbps : 1000
for CPU status, you can try rest/vX/system/status/switch but not sure if there is CPU info...
------------------------------
PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...
PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)
PowerArubaCL: Powershell Module to use Aruba Central
PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..
ACEP / ACMX #107 / ACDX #1281
Original Message:
Sent: May 22, 2023 08:53 AM
From: ardakmese
Subject: Rest API Reference of TX Drops - Aruba Switch 2930F
Hello,
I am trying to get Tx Drops from Aruba switch (2930F) with primary software version WC.16.10. I have looked api guide manuals and succesfully got responses with command "ipadress/rest/v1/system/status" from terminal address using the sessionId created for login.
However, I could not find the correct reference address for Tx Drops or Cpu usage etc.
Is not there any API reference for getting TX Drop status?
These are the websites I have searched:
https://asp.arubanetworks.com/downloads/documents/RmlsZTo5OTBmZmUwZS03YjE3LTExZWQtYTcwNS1jMzc4NjBkYWVhMDY%3Dhttps://developer.arubanetworks.com/aruba-aoscx/reference/put_system-aaa-accounting-attributes-aaa-accounting-attributes-session-type
https://developer.arubanetworks.com/aruba-aos/reference/get_object-ntp-server-disable
Thank you.