A.36 create BondPort

Creates a bond port on an Oracle VM Server.

Syntax

create BondPort ethernetPorts=value mode= { ACTIVE_PASSIVE | LINK_AGGREGATION | LOAD_BALANCED } mtu=value [ interfaceName=value ] name=value [ description=value ] on Server instance

Where instance is:

{ id=value | name=value }

Description

This command creates a bond port on an Oracle VM Server .

To configure the IP address for a bond port, use the embeddedCreate command.

Options

The following table shows the available options for this command.

Option

Description

ethernetPorts=value

The name or ID of at least two Ethernet ports in a comma separated list. The name or ID must match the name or ID as it is stored for each port within Oracle VM Manager.

mode= { ACTIVE_PASSIVE | LINK_AGGREGATION | LOAD_BALANCED }

The network bonding mode.

mtu=value

The MTU value. May be an integer between 1500 and 64000.

interfaceName=value

An optional name for the bond in the format bondN, for example bond1, or bond2. If you do not enter a name, the default of bondN is used, where N is the next available bond number. This cannot be changed after the bond is created.

name=value

A name to identify the bond.

description=value

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

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

{ id=value | name=value }

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

Note

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.

Examples

Example A.48 Creating a bond port

OVM> create BondPort mode=LINK_AGGREGATION mtu=1500 name=MyPortBond \
  ethernetPorts="0004fb0000200000d9394992f8ba06d4,0004fb0000200000c2a5f26641825be5" \
  on Server name=MyServer
OVM> create bondPort name=MyPortBond2 mode=ACTIVE_PASSIVE mtu=1500 \ 
  ethernetPorts="eth3 on MyServer,eth5 on MyServer" on server name=MyServer

See Also