Skip to content

upctl server network-interface create

Create a network interface

upctl server network-interface create <UUID/Title/Hostname...> [flags]

Examples

upctl server network-interface create 009d7f4e-99ce-4c78-88f1-e695d4c37743 --type private --network 037a530b-533e-4cef-b6ad-6af8094bb2bc --disable-source-ip-filtering --ip-addresses 10.0.0.1
upctl server network-interface create my_server2 --type public --family IPv6
upctl server network-interface create my_server2 --type public --family IPv4
upctl server network-interface create my_server2 --network 037a530b-533e-4cef-b6ad-6af8094bb2bc

Options

Option Description
--network Private network name or UUID to join.
--type Set the type of the network. Available: public, utility, private
Default: private
--family The address family of new IP address.
Default: IPv4
--index Interface index.
Default: 0
--enable-bootable Enable Whether to try booting through the interface..
--disable-bootable Disable Whether to try booting through the interface..
--enable-source-ip-filtering Enable Whether source IP filtering is enabled on the interface. Disabling it is allowed only for SDN private interfaces..
--disable-source-ip-filtering Disable Whether source IP filtering is enabled on the interface. Disabling it is allowed only for SDN private interfaces..
--ip-addresses A comma-separated list of IP addresses
Default: []
--help, -h help for create
Default: false

Global options

Option Description
--client-timeout, -t Client timeout to use in API calls.
Default: 0s
--config Configuration file path.
--debug Print out more verbose debug logs.
Default: false
--force-colours Force coloured output despite detected terminal support.
--no-colours Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable.
--output, -o Output format (supported: json, yaml and human)
Default: human
Command Description
upctl server network-interface Manage network interface