v1
latestOpenAPI 3.0.02026-07-243339471.1 MBSwitch
Returns VSX details for a specified switch serial number.
This API provides Virtual Switching Extension (VSX) configuration and operational details for a specific switch identified by its serial number. If the switch does not support VSX or VSX is not configured, the API returns a 200 response with an empty VSX object (all fields null).
get/network-monitoring/v1/switches/{serial-number}/vsx
Path parameters
serial-numberstring required
Example:SG9ZKN5018
The serial number of the switch
Response
Object containing VSX information. If the switch does not support VSX or VSX is not configured, an empty VSX object is returned with all fields set to null.
Example response
{
"role": "primary",
"peerRole": "secondary",
"islPort": "1/1/49",
"peerIslPort": "1/1/50",
"keepaliveStatus": "established",
"keepaliveHealth": "healthy",
"keepaliveSourceIp": "192.168.1.1",
"keepalivePeerIp": "192.168.1.2",
"keepalivePort": "7678",
"mac": "aa:bb:cc:dd:ee:ff",
"peerMac": "11:22:33:44:55:66",
"configSyncStateValue": "synchronized",
"configHealth": "ok",
"islMgmtStateValue": "up",
"naeStateValue": "enabled",
"httpsServerStateValue": "running",
"islpDeviceStateValue": "active",
"vsxHealth": {
"health": "ok",
"healthDescription": "All VSX components are healthy"
},
"vsxPeerName": "switch-secondary",
"vsxPeerSerial": "SNSECONDARY123",
"vsxPeerSiteId": "site-456",
"lastSyncTimestamp": "1707919492646"
}