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

Change uplink

Change uplink interface of an external network

Synopsis

Changes the uplink interface of an existing external network. The old uplink interface will be removed and replaced with the new one.

nectl network external change-uplink [flags]

Examples

  nectl external change-uplink --external-id 4332a36b-25db-4125-b3ce-c51a19110aa0 --device-name eth0
  nectl external change-uplink --external-id 4332a36b-25db-4125-b3ce-c51a19110aa0 --bond-devices eth1,eth2 -m balance-slb
  nectl external change-uplink --external-id 4332a36b-25db-4125-b3ce-c51a19110aa0 --bond-devices eth1,eth2 -m balance-tcp --lacp-active

Options

  -b, --bond-devices strings            List of devices to bond (min 2)
      --bond-mac string                 Bond MAC address
  -m, --bond-mode string                Bond mode (balance-slb, balance-tcp, active-backup) (default "active-backup")
      --bond-rebalance-interval int32   Rebalance interval in ms (min 1000, for balance-slb) (default 10000)
  -d, --device-name string              Device name
      --external-id string              External network ID
  -h, --help                            help for change-uplink
      --id string                       Bond ID
      --lacp-active                     Enable active LACP mode (for balance-tcp)
      --lacp-fallback-ab                Fallback to active-backup if LACP fails (for balance-tcp)
      --lacp-interval string            LACP interval (fast/slow) (for balance-tcp) (default "slow")

Options inherited from parent commands

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

SEE ALSO