v1

latestOpenAPI 3.0.02026-07-243339471.1 MB
Switch

Get LAG summary for a Switch

This API provides a summary of link aggregation group (LAG) details for the specified serial number or stack id. Conductor serial may also be used instead of a stack id

get/network-monitoring/v1/switches/{serial-number}/lag

Path parameters

serial-numberstring const required

The device serial number.

Example:AP00000001

Serial Number of the switch in case of standalone, StackId or conductor serial in case of stack for which the device related information is requested.

Response

Object containing the lag summary information

countinteger required

Total number of lags.

Example response

{
  "items": [
    {
      "id": "Trk13",
      "type": "ISL",
      "name": "Trk13",
      "ports": [
        "2/1",
        "1/10"
      ]
    }
  ],
  "count": 4
}