Switch
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
Request
- Base URLhttps://sso.common.cloud.hpe.com
- AuthOAuth 2Client credentialsToken URLhttps://sso.common.cloud.hpe.com/as/token.oauth2
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}Changes
No recorded changes to this operation across all 1 revision of this API.