Use the oakcli create vlan
command to create a new virtual local area network (VLAN) on an Oracle Database Appliance Virtualized Platform node.
Syntax
oakcli create vlan vlan_name -vlanid tag_id -if interface_name -node 0|1 [-h]
Parameters
Parameter | Description |
---|---|
|
Name assigned to the VLAN |
|
Tag number, used for packet routing, from 2 to 4096 inclusive. It uniquely identifies the VLAN on a node. The same tag number can be used on both nodes. |
|
Name of the interface on which the VLAN network is created |
|
Node on which the VLAN is created, either 1 or 2 |
|
(Optional) Display help for using the command. |
Examples
Here are examples of how to use the oakcli create vlan
command.
Creating a New VLAN
Create a VLAN named sample10
on Node 1 using the bond1
interface and a tag with the number 10
:
oakcli create vlan sample10 -vlanid 10 -if bond1 -node 1
Duplicating a VLAN on the Second Node
Create a VLAN named sample10
on Node 0:
oakcli create vlan sample10 -vlanid 10 -if bond1 -node 0