A.100 edit Vnic

Edits a VNIC.

Syntax

edit Vnic instance [ name=value ] [ description=value ] [ macAddress=value ]

Where instance is:

{ id=value | name=value }

Description

This command edits the attributes of a VNIC on a network.

To change the network assignment of a VNIC, please see Section A.17, “add Vnic”.

Options

The following table shows the available options for this command.

Option

Description

name=value

A name for the VNIC.

description=value

Optional description for the VNIC. value is a maximum of 4,000 characters.

To set an empty description, use description="".

macAddress=value

The MAC address that should be applied to this VNIC.

{ id=value | name=value }

The instance of the object using either the id or name option, for example name=MyVNIC.

Examples

Example A.125 Editing a VNIC

OVM> edit Vnic id=0004fb00000700007fa68ffd2011539f name=Server1Vnic macAddress=00:21:f6:00:00:18

See Also