用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/automateyournetwork/netclaw --skill aruba-cx-interfaces命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | aruba-cx-interfaces |
| description | Monitor Aruba CX switch interface status, LLDP neighbors, and optical transceiver health |
| license | Apache-2.0 |
| user-invocable | true |
| metadata | {"openclaw":{"requires":{"bins":"[Truncated]","env":"[Truncated]"}}} |
Monitor HPE Aruba CX switch interface status, LLDP neighbor relationships, and optical transceiver health (DOM diagnostics). Essential for troubleshooting connectivity issues and monitoring link quality.
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_interfaces | target, interface? | Get interface status (admin, oper, speed, description) |
get_lldp_neighbors | target, interface? | Get LLDP neighbor information (device, port, capabilities) |
get_dom_diagnostics | target, interface? | Get optical transceiver health with threshold alerts |
# View all interfaces
"Show all interfaces on core-sw-1"
# Check specific interface
"What's the status of interface 1/1/1 on core-sw-1?"
# Find down interfaces
"Which interfaces are down on core-sw-1?"
# Check interface speeds
"Show me the interface speeds on core-sw-1"
# View interface descriptions
"What are the interface descriptions on core-sw-1?"
# View all LLDP neighbors
"Show LLDP neighbors on core-sw-1"
# Check specific port neighbors
"What device is connected to port 1/1/49 on core-sw-1?"
# Discover upstream devices
"What are the LLDP neighbors for the uplink ports?"
# Map topology
"Show me all connected devices on core-sw-1"
# View all optics health
"Show optical transceiver health for core-sw-1"
# Check specific port DOM
"What are the DOM readings for port 1/1/49?"
# Find threshold violations
"Are there any optical threshold warnings on core-sw-1?"
# Monitor TX/RX power
"Show the TX and RX power levels for all optics on core-sw-1"
# Check transceiver temperature
"What's the temperature of the transceivers on core-sw-1?"
[
{
"name": "1/1/1",
"admin_state": "up",
"oper_state": "up",
"speed": "10G",
"description": "Uplink to spine-1",
"mtu": 9198,
"type": "ethernet"
},
{
"name": "1/1/2",
"admin_state": "up",
"oper_state": "down",
"speed": "10G",
"description": "Server port",
"mtu": 9198,
"type": "ethernet"
[
{
"local_port": "1/1/49",
"remote_chassis_id": "aa:bb:cc:dd:ee:ff",
"remote_port_id": "Ethernet1",
"remote_system_name": "spine-1",
"remote_system_description": "Aruba 8325",
"remote_capabilities": ["bridge", "router"]
}
]
[
{
"interface": "1/1/49",
"temperature": 35.5,
"temperature_status": "normal",
"tx_power": -2.5,
"tx_power_status": "normal",
"rx_power": -3.1,
"rx_power_status": "normal",
"voltage": 3.3,
"vendor": "Aruba",
"part_number": "JL484A"
},
{
"interface": "1/1/50",
"temperature": 42.1,
"temperature_status": "warning",
"tx_power":
| 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 |
| INTERFACE_NOT_FOUND | Unknown interface | Verify interface name format (e.g., 1/1/1) |
| NO_DOM_SUPPORT | Port not optical | DOM diagnostics only available on optical transceiver ports |
| NO_LLDP_NEIGHBORS | No LLDP data | Verify LLDP is enabled and neighbors support LLDP |
基于 SOC 职业分类