Skip to main content

Documentation Index

Fetch the complete documentation index at: https://gns3util.saygex.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Create a link between two nodes in a project

Synopsis

Create a link between two nodes in a project using JSON data
gns3util link create [project-name/id] [json-data] [flags]

Examples

gns3util -s https://controller:3080 link create my-project '{"nodes": [{"node_id": "node1", "port_number": 0}, {"node_id": "node2", "port_number": 0}]}'

Options

  -h, --help              help for create
  -j, --use-json string   Provide a raw JSON string to send instead of positional JSON argument

Options inherited from parent commands

  -c, --cluster string      Cluster name from keyfile. Mutually exclusive with --server
  -i, --insecure            Ignore unsigned SSL-Certificates. Can be set via GNS3_INSECURE
  -k, --key-file string     Path to authentication keyfile. Can be set via GNS3_KEY_FILE or config.toml
  -o, --output string       Output format: [json, json-colorless, collapsed, yaml, toml, table, table-ascii]. Can be set via GNS3_OUTPUT (default "table")
  -s, --server string       GNS3v3 Server URL. Can be set via GNS3_SERVER or config.toml
      --user string[="~"]   User to select from the keyfile. Omit the value to open a fuzzy picker (--user), or pass a name (--user alice).

SEE ALSO

Auto generated by spf13/cobra on 9-May-2026