Skip to content

Create and manage Network Interfaces

FlagMeaningExample
network-idThe ID of the network the adapter will be created ine4e87b01-17c0-4c38-a1b0-465dd625ea7b
allowed-addressesComma-separated list of allowed IP addresses”192.168.10.7,192.168.10.9”
security-groupsComma-separated list of attached Security Groups”b7834d09-352f-447e-bcb1-877aac3bdebe,e877a108-5a58-414f-9061-460723cba8af”
nameFriendly name of the interfacemy-new-interface
labelsAssociated labelskey=value,key2=value2
ipv4IPv4 address of the adapter”192.168.10.7”
ipv6IPv6 address of the adapter”2001:0DB8:130F:0000:0000:09C0:876A:130B”
nic-securityWhether NIC security should be on or off-

Furthermore the optional flag --nic-security enables you to turn network interface security on. Per default it is disabled.

Terminal window
stackit network-interface create --network-id [network-id] --allowed-addresses [allowed-addresses] --nic-security --security-groups [security-groups] --name [name] --labels [labels] --ipv4 [ipv4] --ipv6 [ipv6]
FlagMeaningExample
network-idThe ID of the network the adapter will be created ine4e87b01-17c0-4c38-a1b0-465dd625ea7b
Terminal window
stackit network-interface list --network-id [NetworkID]
FlagMeaningExample
network-idThe ID of the network the adapter will be created ine4e87b01-17c0-4c38-a1b0-465dd625ea7b
network-interface-idThe ID of the network interface836a26fc-4f12-4c38-a1b0-465dd625ea7b
Terminal window
stackit network-interface describe [network-interface-id] --network-id [network-id]
FlagMeaningExample
network-idThe ID of the network the adapter will be created ine4e87b01-17c0-4c38-a1b0-465dd625ea7b
network-interface-idThe ID of the network interface836a26fc-4f12-4c38-a1b0-465dd625ea7b
Terminal window
stackit network-interface delete [network-interface-id] --network-id [network-id]