switch-list-statuses
Retrieve the status of all ports on a switch. Filter by timespan or select specific fields like speed, PoE, and client count.
Instructions
Return the status for all the ports of a switch. (read-only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Serial | |
| t0 | No | The beginning of the timespan for the data. The maximum lookback period is 31 days from today. | |
| timespan | No | The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds an | |
| fields | No | Return only these top-level fields; omit for all. Available: cdp, clientCount, duplex, enabled, errors, isUplink, lldp, poe, portId, powerUsageInWh, securePort, spanningTree, speed, status, trafficInKbps, usageInKb, warnings. |