Aruba Cx Switching logo

Aruba Cx Switching

Community
automateyournetwork
aruba-cx-switching

View and manage Aruba CX switch VLANs and MAC address tables for Layer 2 operations

Overview

Publisherautomateyournetwork
Repositorynetclaw
Skill namearuba-cx-switching
Stars
680
Forks
189
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by automateyournetwork on GitHub. Read the source before you install it.

Installation

Install the Aruba Cx Switching AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/aruba-cx-switching
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/automateyournetwork/netclaw.git /tmp/netclaw
mkdir -p .claude/skills
cp -r /tmp/netclaw/workspace/skills/aruba-cx-switching .claude/skills/aruba-cx-switching
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Aruba Cx Switching in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Aruba Cx Switching on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Aruba Cx Switching is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Aruba CX Switching Operations

View VLANs, MAC address tables, and manage Layer 2 operations on HPE Aruba CX switches. Includes read-only operations for viewing network segmentation and write operations (ITSM-gated) for VLAN management.

When to Use

  • Viewing VLAN configurations and port assignments
  • Tracking MAC addresses across the switching fabric
  • Finding which port a specific endpoint is connected to
  • Creating, modifying, or deleting VLANs (with ITSM approval)
  • Auditing network segmentation
  • Troubleshooting Layer 2 connectivity

MCP Server

  • Server: aruba-cx-mcp (community MCP from slientnight)
  • Command: python3 -u mcp-servers/aruba-cx-mcp/aruba_cx_mcp_server.py (stdio transport)
  • Auth: REST API via ARUBA_CX_TARGETS (JSON array) or ARUBA_CX_CONFIG (file path)
  • ITSM: Write operations require CR when ITSM_ENABLED=true

Available Tools

ToolParametersWhat It Does
get_vlanstarget, vlan_id?Get VLAN configurations (ID, name, ports)
get_mac_tabletarget, vlan_id?, mac_address?Get MAC address table entries
create_vlantarget, vlan_id, name?, cr_number?Create a new VLAN (ITSM-gated)
configure_vlantarget, vlan_id, name?, tagged_ports?, untagged_ports?, cr_number?Modify VLAN (ITSM-gated)
delete_vlantarget, vlan_id, cr_number?Delete a VLAN (ITSM-gated)

Workflow Examples

VLAN Discovery

bash
# View all VLANs
"Show all VLANs on core-sw-1"

# Check specific VLAN
"What ports are in VLAN 100 on core-sw-1?"

# List VLAN names
"Show me the VLAN names configured on core-sw-1"

# Find untagged ports
"Which ports are untagged in VLAN 100?"

MAC Address Tracking

bash
# View full MAC table
"Show the MAC address table for core-sw-1"

# Filter by VLAN
"Show MAC addresses in VLAN 100 on core-sw-1"

# Find specific MAC
"Find MAC address aa:bb:cc:dd:ee:ff on core-sw-1"

# Locate endpoint
"Which port is MAC aa:bb:cc:dd:ee:ff learned on?"

# Count MACs per VLAN
"How many MAC addresses are in each VLAN on core-sw-1?"

VLAN Management (ITSM-Gated)

bash
# Create VLAN (requires CR when ITSM enabled)
"Create VLAN 200 named 'Guest_Network' on core-sw-1 with CR CHG0001234"

# Modify VLAN (requires CR when ITSM enabled)
"Add port 1/1/10 as untagged to VLAN 200 on core-sw-1 with CR CHG0001234"

# Rename VLAN
"Rename VLAN 200 to 'Visitor_Network' on core-sw-1 with CR CHG0001234"

# Delete VLAN (requires CR when ITSM enabled)
"Delete VLAN 200 on core-sw-1 with CR CHG0001234"

ITSM Integration

Write operations (create_vlan, configure_vlan, delete_vlan) require change management approval:

Environment VariableBehavior
ITSM_ENABLED=falseWrite operations proceed without CR validation
ITSM_ENABLED=trueWrite operations require valid ServiceNow CR number
ITSM_LAB_MODE=trueCR format validated but not checked against ServiceNow

CR Format: Must match ServiceNow pattern (e.g., CHG0001234)

Integration with Other Skills

  • aruba-cx-system: First discover switches, then view their VLANs
  • aruba-cx-interfaces: Check which interfaces are in which VLANs
  • aruba-cx-config: View full running configuration including VLANs

Response Examples

VLAN List Response

json
[
  {
    "id": 1,
    "name": "default",
    "admin_state": "up",
    "tagged_ports": [],
    "untagged_ports": ["1/1/1", "1/1/2"],
    "voice": false
  },
  {
    "id": 100,
    "name": "Management",
    "admin_state": "up",
    "tagged_ports": ["1/1/49", "1/1/50"],
    "untagged_ports": ["1/1/3", "1/1/4"],
    "voice": false
  }
]

MAC Table Response

json
[
  {
    "mac_address": "aa:bb:cc:dd:ee:ff",
    "vlan_id": 100,
    "port": "1/1/3",
    "type": "dynamic",
    "age": 300
  },
  {
    "mac_address": "11:22:33:44:55:66",
    "vlan_id": 100,
    "port": "1/1/4",
    "type": "dynamic",
    "age": 120
  }
]

VLAN Create Response

json
{
  "success": true,
  "message": "VLAN 200 created",
  "vlan": {
    "id": 200,
    "name": "Guest_Network"
  }
}

Error Handling

Error CodeMeaningResolution
AUTH_FAILEDInvalid credentialsVerify username/password in ARUBA_CX_TARGETS
CONN_TIMEOUTSwitch unreachableCheck network connectivity
VLAN_NOT_FOUNDVLAN doesn't existVerify VLAN ID is configured
VLAN_EXISTSVLAN already existsUse configure_vlan to modify existing VLAN
MAC_NOT_FOUNDMAC not in tableMAC may have aged out or device disconnected
CR_REQUIREDITSM CR requiredProvide cr_number parameter when ITSM_ENABLED
CR_INVALIDCR validation failedVerify CR format (CHG0001234) and status
WRITE_FAILEDConfiguration failedCheck switch connectivity and permissions

Notes

  • Read operations (get_vlans, get_mac_table): No ITSM gating required
  • Write operations: Require ServiceNow CR when ITSM_ENABLED=true
  • Lab mode (ITSM_LAB_MODE=true): Validates CR format without ServiceNow call
  • MAC addresses use format: aa:bb:cc:dd:ee:ff
  • VLAN IDs: 1-4094 (1 is typically reserved for default)
  • All operations logged to GAIT audit trail

Frequently asked questions

What does the Aruba Cx Switching AI skill do?

View and manage Aruba CX switch VLANs and MAC address tables for Layer 2 operations

Why use Aruba Cx Switching on TypingMind?

Because you install it once and use it with any model. Aruba Cx Switching is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Aruba Cx Switching in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/aruba-cx-switching. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Aruba Cx Switching?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Aruba Cx Switching?

As many as you like. As long as a model supports skills, you can use Aruba Cx Switching with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Aruba Cx Switching AI skill free?

Yes. It is published on GitHub by automateyournetwork under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇