Creates a VLAN interface.
Syntax
create VlanInterface
vlanId=
[
value
mtu=
]
value
name=
[
value
description=
]
value
on
{
Port
|
BondPort
}
instance
Where
is:
instance
{
id=
|
value
name=
}value
Description
This command creates a VLAN interface on either a port or a bond port.
To configure the IP address for a VLAN interface, use the embeddedCreate command.
Options
The following table shows the available options for this command.
Option | Description |
---|---|
|
The ID of the VLAN interface. May be an integer between
|
|
The MTU value. May be an integer between
|
| A name to identify the VLAN interface. |
|
Optional description for the VLAN interface.
|
{
|
The instance of the object using either the
|
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.66 Creating a VLAN interface
OVM> create VlanInterface vlanId=20 mtu=1500 name=MyVLANInterface on Port \ id=0004fb0000200000229dbcccf17efec5