Stats
Actions
Tags
How this skill is triggered — by the user, by Claude, or both
Slash command
/baremetal-mcp:junos-switchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<name>junos-switch</name>
junos-switch
Guides querying Juniper (Junos) switches via SSH. Use this skill when the user asks to check switch configuration, interfaces, MAC tables, or run any CLI command on a Junos switch. 1. Identify the target switch by its `switch_id`. Switches are defined under the `switches:` section in `redfish_servers.yaml`. Use `list_switches` to find available switch IDs.All queries use a single tool: junos_run_command(switch_id, command). It connects via SSH, disables paging automatically, runs the command in operational mode, and returns the output.
Use the exact calls below for common queries:
| Need | Tool call |
|---|---|
| Full running config | junos_run_command(switch_id, "show configuration") |
| MAC address table | junos_run_command(switch_id, "show ethernet-switching table") |
| Interface operational status | junos_run_command(switch_id, "show interfaces terse") |
| Interface configuration | junos_run_command(switch_id, "show configuration interfaces") |
| VLAN summary | junos_run_command(switch_id, "show vlans") |
| LLDP neighbors | junos_run_command(switch_id, "show lldp neighbors") |
| ARP table | junos_run_command(switch_id, "show arp") |
| Routing table | junos_run_command(switch_id, "show route") |
| Hardware inventory | junos_run_command(switch_id, "show chassis hardware") |
| Active alarms | junos_run_command(switch_id, "show system alarms") |
| MAC table for a port | junos_run_command(switch_id, "show ethernet-switching table interface ge-0/0/5") |
| Detailed interface stats | junos_run_command(switch_id, "show interfaces ge-0/0/5 extensive") |
| LACP/LAG status | junos_run_command(switch_id, "show lacp interfaces") |
| Spanning tree | junos_run_command(switch_id, "show spanning-tree bridge") |
Notes:
redfish_secrets.yaml.switches: key in the config file. hostname (management IP) is the only required field. vendor, model, and tags are optional. Credentials in redfish_secrets.yaml, optional port (default 22).Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub sshnaidm/baremetal-mcp --plugin baremetal-mcp