Discover Aruba CX switch system information, firmware versions, and VSF topology
Discover HPE Aruba CX switch system information, firmware versions, and VSF (Virtual Switching Framework) topology through natural language. View switch inventory, software versions, and cluster membership.
aruba-cx-mcp (community MCP from slientnight)python3 -u mcp-servers/aruba-cx-mcp/aruba_cx_mcp_server.py (stdio transport)ARUBA_CX_TARGETS (JSON array) or ARUBA_CX_CONFIG (file path)ARUBA_CX_TIMEOUT (default: 30 seconds)| Tool | Parameters | What It Does |
|---|---|---|
get_system_info | target | Get hostname, model, serial number, software version, uptime |
get_firmware_info | target | Get primary/secondary firmware versions, boot image, ISSU capability |
get_vsf_topology | target | Get VSF cluster members with roles, serial numbers, status |
# Get system info for a switch
"Show me the system information for core-sw-1"
# Check switch details
"What model is core-sw-1?"
# View software version
"What software version is running on core-sw-1?"
# Check uptime
"How long has core-sw-1 been running?"
# Get firmware versions
"Show the firmware versions for core-sw-1"
# Check primary and secondary images
"What firmware images are on core-sw-1?"
# Verify ISSU capability
"Is core-sw-1 capable of ISSU upgrades?"
# Plan upgrades
"Which switches need firmware upgrades?"
# View VSF cluster
"Show the VSF topology for core-sw-1"
# Check cluster membership
"What switches are in the VSF cluster with core-sw-1?"
# Identify commander
"Which switch is the VSF commander?"
# View member roles
"Show me the VSF member roles and serial numbers"
{
"hostname": "core-sw-1",
"model": "Aruba 6300M",
"serial_number": "SG1234567890",
"software_version": "10.13.1000",
"uptime": 8640000,
"boot_time": "2026-01-01T00:00:00Z"
}
{
"primary_version": "10.13.1000",
"secondary_version": "10.12.0030",
"boot_image": "primary",
"issu_capable": true,
"last_upgrade": "2026-03-01T00:00:00Z"
}
{
"enabled": true,
"domain_id": 1,
"members": [
{
"member_id": 1,
"role": "commander",
"serial_number": "SG1234567890",
"model": "6300M",
"status": "ready",
"priority": 255
},
{
"member_id": 2,
"role": "standby",
"serial_number": "SG0987654321",
"model": "6300M",
"status": "ready",
"priority": 128
}
]
}
| Error Code | Meaning | Resolution |
|---|---|---|
| AUTH_FAILED | Invalid credentials | Verify username/password in ARUBA_CX_TARGETS |
| CONN_TIMEOUT | Switch unreachable | Check network connectivity and ARUBA_CX_TIMEOUT |
| TARGET_NOT_FOUND | Unknown switch name | Verify target name matches ARUBA_CX_TARGETS configuration |
| VSF_NOT_CONFIGURED | VSF not enabled | Switch is standalone - VSF topology not applicable |
| API_VERSION_MISMATCH | Unsupported API version | Update api_version in target config (default: v10.13) |