Перейти к содержанию

Update

nectl network mgmt update

Update an existing MGMT network

nectl network mgmt update [flags]

Examples

  nectl network mgmt update --id <uuid> --vlan 100 --address 192.168.10.1/24 --mac 00:11:22:33:44:55 --gateway 192.168.10.254 --metric 1000 --nameservers 8.8.8.8,1.1.1.1

Options

      --address string       Static IP address in CIDR notation
      --dhcp                 Enable DHCP (if flag has set static settings will be deleted)
      --gateway string       Default gateway
  -h, --help                 help for update
      --id string            MGMT Network ID (required)
      --mac string           MAC address for MGMT interface
      --metric uint32        Metric for default route
      --nameservers string   Comma separated list of DNS server IPs
      --vlan uint32          VLAN ID

Options inherited from parent commands

      --host string   gRPC server host (default "127.0.0.1")
      --port uint16   gRPC server port (default 30666)

SEE ALSO