Skip to content

metalcloud-cli server-instance-group network connect

Connect a server instance group to a network

Connect a server instance group to a network.

This command creates a new network connection between a server instance group and a network, configuring the access mode, VLAN tagging, and optionally redundancy settings.

Arguments: server_instance_group_id The numeric ID of the server instance group to connect network_id The ID of the network to connect to access_mode Network access mode (e.g., “trunk”, “access”) tagged Whether VLAN tagging is enabled (true/false) redundancy (Optional) Redundancy configuration (e.g., “active-backup”, “load-balancing”)

Examples:

Connect server instance group to network with trunk access

Section titled “Connect server instance group to network with trunk access”

metalcloud-cli server-instance-group network connect 1234 567 trunk true

metalcloud-cli server-instance-group network connect 1234 567 access false

metalcloud-cli server-instance-group network connect 1234 567 trunk true active-backup

metalcloud-cli ig net add 1234 567 trunk true

metalcloud-cli server-instance-group network connect server_instance_group_id network_id access_mode tagged [redundancy] [flags]
-h, --help help for connect
-k, --api_key string MetalCloud API key
-c, --config string Config file path
-d, --debug Set to enable debug logging
-e, --endpoint string MetalCloud API endpoint
-f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text")
-i, --insecure_skip_verify Set to allow insecure transport
-l, --log_file string Log file path
-v, --verbosity string Log level verbosity (default "INFO")

Auto generated by spf13/cobra on 11-Aug-2025

Section titled “Auto generated by spf13/cobra on 11-Aug-2025”