Traffic
Use User's Api for authorization
Device MAC Address
{"value":"3C:2C:99:EA:89:AB"}Interface name of the device
{"value":"Ethernet0"}RoCE enablement status for the given interface
objectBad Request - Missing or invalid parameters
Unauthorized
Forbidden
Internal Server Error
Use User's Api for authorization
{
"deviceAddress" : "all"
}
Note: Use "all" for all devices or specific device MAC/IP address.
List of devices and links with traffic stats (topology view)
No content
Bad Request - Invalid filter
Unauthorized
Forbidden
Internal Server Error
No content
Use User's Api for authorization
{
"deviceAddress" : "68:21:5F:A6:61:72",
"hostname" : "sonic",
"ipaddress" : "10.4.4.23",
"layer" : "Spine",
"timeBucket" : "60 minutes",
"windowSize" : "1 hour",
"license" : true
}
Note: For "deviceAddress" field accepts IP or Mac address.
Aggregated list of interface details with utilization and error stats
No content
Bad Request - Invalid parameters
Unauthorized
Forbidden
Internal Server Error
No content
Use User's Api for authorization
{
"fromDate" : "2026-01-23 01:42:44",
"toDate" : "2026-01-23 02:42:44",
"windowSize" : "1 hour",
"deviceAddress" : "68:21:5F:A6:61:72",
"activeTab" : "basic",
"ifname" : "Ethernet0"
}
Note: For "deviceAddress" field accepts IP or Mac address.
Detailed interface traffic stats (time-series with PPS, errors, discards, utilization)
No content
Bad Request - Invalid filter
Unauthorized
Forbidden
Internal Server Error
No content
Use User's Api for authorization
{
"fromDate" : "2026-01-23 01:42:44",
"toDate" : "2026-01-23 02:42:44",
"windowSize" : "1 hour",
"deviceAddress" : "68:21:5F:A6:61:72",
"activeTab" : "basic",
"ifname" : "Ethernet0"
}
Note:
1. "deviceAddress" accepts IP or Mac address.
2. "ifname" is port identifier.
3. Includes RoCE data only if device supports RoCE.
Aggregated traffic response containing multiple sections.
objectUnauthorized
Forbidden
Internal Server Error
Use User's Api for authorization
Device MAC address. Example: 04:3F:72:40:98:00
{"value":"04:3F:72:40:98:00"}Interface name. Example: Ethernet0
{"value":"Ethernet0"}OK
No content
Unauthorized
Forbidden
Internal Server Error
No content
Last updated