A.30 create VlanSegment

Creates a VLAN segment.

Syntax

create VlanSegment index=value name=value [description=value] on VlanGroup instance

Where instance is:

{ id=id | name=name }

Description

This command creates a VLAN segment and associates it to a VLAN group.

Options

The following table shows the available options for this command.

Option

Description

index=value

The index value of the VLAN segment. This is the equivalent to the VLAN ID Range field in the Create or Edit VLAN Group dialog box in the Oracle VM Manager user interface. Enter a value between 2 and 4094.

name=value

A name to identify the VLAN segment.

description=value

Optional description for the VLAN segment.

{ id=id | name=name }

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

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.39 Creating a VLAN segment

OVM> create VlanSegment index=3 name=MyVlanSegment on VlanGroup name=MyVlanGroup

See Also