Creates a VNIC on a virtual machine.
Syntax
Where is:
instance
{
id=
|
valuename=
}value
Description
This command creates a VNIC and associates it to a virtual machine.
Options
The following table shows the available options for this command.
Option | Description |
|---|---|
| The name or ID of the network to which the VNIC is to be assigned. |
| A name to identify the VNIC. |
| Optional parameter to specify the MAC address for the VNIC. If no MAC address is provided, one is automatically assigned from the default range. To change the default range of MAC addresses, use the setVnicMacAddrRange command. To display the MAC address range, use the getVnicMacAddrRange command. |
|
Optional description for the VNIC.
To set an empty description, use
|
Any create command only creates a single instance of an object, and therefore only accepts a single object instance as an attribute. Providing more than one object of the same attribute type as a parameter always results in the last attribute value taking precedence.

