Gns3 link management

From automateyournetwork/netclaw · View interactive version

Gns3 link management is an AI agent skill from the GitHub repository automateyournetwork/netclaw. Manage GNS3 links - connect/disconnect node interfaces, isolate nodes

How to use this skill

Skill file

GNS3 Link Management

Create and manage links between node interfaces in GNS3 projects. Build network topologies by connecting devices and isolate nodes for testing.

When to Use

MCP Server

Available Tools

| Tool | Parameters | What It Does |

|------|------------|--------------|

| gns3_list_links | project_id | List all links with connected nodes and interfaces |

| gns3_create_link | project_id, node1, port1, node2, port2 | Create a link between two interfaces |

| gns3_delete_link | project_id, link_id | Delete a link |

| gns3_isolate_node | project_id, node_id, isolate | Disable/enable all links to a node |

Interface Name Formats

The tools support multiple interface naming conventions:

| Format | Example | Adapter | Port |

|--------|---------|---------|------|

| eth# | eth0, eth1 | 0 | 0, 1 |

| Ethernet# | Ethernet0 | 0 | 0 |

| Gi#/# | Gi0/0, Gi0/1 | 0 | 0, 1 |

| GigabitEthernet#/# | GigabitEthernet0/0 | 0 | 0 |

| Fa#/# | Fa0/0, Fa0/1 | 0 | 0, 1 |

| e# | e0, e1 | 0 | 0, 1 |

| port# | port0, port1 | 0 | 0, 1 |

| #/# | 0/0, 0/1 | 0 | 0, 1 |

Workflow Examples

Build a Topology

# Connect router to switch
"Connect router1 Gi0/0 to switch1 eth0 in routing-test"

# Connect switch to another router
"Connect switch1 eth1 to router2 Gi0/0 in routing-test"

# Connect hosts to switch
"Connect host1 eth0 to switch1 eth2 in routing-test"

View Topology

# List all connections
"List all links in routing-test"

Isolate for Testing

# Isolate a node (disable all its links)
"Isolate router1 in routing-test"

# Test behavior with router1 disconnected...

# Re-enable links
"Unisolate router1 in routing-test"

Clean Up

# Remove a specific link
"Delete the link between router1 and switch1 in routing-test"

Integration with Other Skills

Error Handling

| Error Code | Meaning | Resolution |

|------------|---------|------------|

| GNS3_NOT_FOUND | Node or link doesn't exist | Check names/IDs |

| GNS3_CONFLICT | Interface already connected | Check existing links first |

| GNS3_VALIDATION | Invalid interface format | Use supported naming conventions |

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.