You are here: Supporting Documents > everRun Command Line Interface Reference > AVCLI Command Descriptions > vm-network-enable

vm-network-enable

Usage

avcli vm-network-enable --name name --nodes nodes --networks networks

Description

The vm-network-enable command enables a VM's networks on selected nodes.

Options

--name name

The name or ID of a VM.
--nodes nodes The name(s) or ID(s) of PM(s) on which to enable the networks.
--networks networks The names or IDs of networks to enable.

Examples

Enable net2 on node1 for a VM named MyVM.
$ avcli vm-network-enable --name MyVM --nodes node1 \
--networks net2
of