A.45 edit Port

Edits an Ethernet port.

Syntax

edit Port instance [addressType= { none | staticIp | dynamic }] [mtu=value] [ipAddress=value] [netMask=value] [name=value] [description=value]

Where instance is:

{ id=id | name=name }

Description

This command edits an Ethernet port on an Oracle VM Server .

Although none of the options are mandatory, you must supply at least one option.

Options

The following table shows the available options for this command.

Option

Description

addressType= { none | staticIp | dynamic }

The network addressing type.

mtu=value

The MTU value.

ipAddress=value

The IP address to use for the port.

netMask=value

The netmask to use for the port.

name=value

A name to identify the port.

description=value

Optional description for the port.

{ id=id | name=name }

The instance of the object using either the id or name option, for example name='Port (2)'.

Examples

Example A.59 Editing a port

OVM> edit Port id=0004fb0000200000b0f9d86788b94a0e addressType=none \
  mtu=1500 name='My Port'

See Also