Skip to main content
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

SEE ALSO

Auto generated by spf13/cobra on 24-Mar-2026