The Ipv6 namespace provides commands to perform IPv6 network configuration for interfaces.
List of commands:
dcli com vmware appliance networking interfaces ipv6 set
Description
Set IPv6 network configuration for specific interface.
Options
Option Name | Type | Required | Description |
---|---|---|---|
interface‑name |
string | Yes | Network interface to update, for example, "nic0". The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces. |
dhcp |
bool | Yes | An address will be assigned by a DHCP server. |
autoconf |
bool | Yes | An address will be assigned by Stateless Address Autoconfiguration (SLAAC). |
addresses‑address |
string | Yes | The IPv6 address, for example, fc00:10:20:83:20c:29ff:fe94:bb5a. |
addresses‑prefix |
int | Yes | The IPv6 CIDR prefix, for example, 64. |
default‑gateway |
string | Yes | The default gateway for static IP address assignment. This configures the global IPv6 default gateway on the appliance with the specified gateway address and interface. This gateway replaces the existing default gateway configured on the appliance. However, if the gateway address is link-local, then it is added for that interface. This does not support configuration of multiple global default gateways through different interfaces. |
Example
dcli com vmware appliance networking interfaces ipv6 set --interface-name testId --dhcp test --autoconf test --addresses-address testString --addresses-prefix test --default-gateway testString
dcli com vmware appliance networking interfaces ipv6 get
Description
Get IPv6 network configuration for specific interface.
Options
Option Name | Type | Required | Description |
---|---|---|---|
interface‑name |
string | Yes | Network interface to query, for example, "nic0". The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces. |
Example
dcli com vmware appliance networking interfaces ipv6 get --interface-name testId