metalcloud-cli server-instance-group network update¶
Update network connection for a server instance group
Synopsis¶
Update network connection for a server instance group.
This command allows you to modify the configuration of an existing network connection between a server instance group and a network. You can update the access mode, VLAN tagging settings, or redundancy configuration.
Arguments: server_instance_group_id The numeric ID of the server instance group connection_id The numeric ID of the network connection to update
Flags: –access-mode string Network connection access mode (e.g., “trunk”, “access”) –tagged string Network connection VLAN tagging (true/false) –redundancy string Network connection redundancy mode (e.g., “active-backup”, “load-balancing”)
Note: At least one of the flags (–access-mode, –tagged, –redundancy) must be provided.
Examples:
Update access mode to trunk¶
metalcloud-cli server-instance-group network update 1234 5 –access-mode trunk
Enable VLAN tagging¶
metalcloud-cli server-instance-group network update 1234 5 –tagged true
Set redundancy mode¶
metalcloud-cli server-instance-group network update 1234 5 –redundancy active-backup
Update multiple properties at once¶
metalcloud-cli server-instance-group network update 1234 5 –access-mode trunk –tagged true
Using alias¶
metalcloud-cli ig net edit 1234 5 –access-mode access
metalcloud-cli server-instance-group network update server_instance_group_id connection_id [flags]
Options¶
--access-mode string Network connection access mode.
-h, --help help for update
--redundancy string Network connection redundancy.
--tagged string Network connection tagged.
Options inherited from parent commands¶
-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")
SEE ALSO¶
metalcloud-cli server-instance-group network - Manage network connections for server instance groups