Dell Emulex Family of Adapters User Manual
Page 803

OneCommand NIC Teaming and VLAN Manager User Manual
P009415-01A Rev. A
5. OneCommand NIC Teaming Manager Command Line Interface
The Command Reference
803
Parameters
Description
This command assigns one or more VLANs to a team or an adapter. You can only
assign a VLAN to teams and Emulex adapters. A VLAN is specified using the number
to be assigned as the VLAN ID, valid values range from 1 to 4094. If you specify a
duplicate VLAN ID, no VLANs that you request in the command are created. You may
assign a single team or adapter no more than 64 VLANs. You can assign more than 1
VLAN by including the optional 'number' parameter. The parameter specifies the total
number of VLANs you wish to assign. Valid values range from 1 to 64. If there are
already VLANs assigned to a team, the maximum valid value of the number of VLANs
to be assigned is reduced by the number of existing teams. If you specify an invalid
value, the command is rejected without any other action being taken.
When you assign multiple VLANs, the specified VLAN ID is used as the VLAN ID of
the first VLAN. That VLAN ID is then incremented to generate the VLAN ID for the
next VLAN. This process applies to each additional VLAN being assigned. If any of the
generated VLAN IDs are already in use, or are outside the range of valid values, the
command is rejected without any action being taken.
Example
Adding VLAN to team
c:\Program Files\Emulex\NIC Teaming>OcTeamCmd.exe add vlan mylbteam 3 4
VLAN 3 added to mylbteam
VLAN 4 added to mylbteam
VLAN 5 added to mylbteam
VLAN 6 added to mylbteam
Adding VLAN to adapter
c:\Program Files\Emulex\NIC Teaming>OcTeamCmd.exe add vlan nic6 100 2
VLAN 100 added to mylbteam
VLAN 101 added to mylbteam
team-id
If a VLAN is to be assigned to a team, this is the team name.
adapter-id
If a VLAN is to be assigned to an adapter, this is the adapter alias.
vlan-id
The number to be used as the VLAN tag. Valid values range from 1 to
64.
number
An optional parameter that specifies the total number of VLANs to be
assigned. Valid values range from 1 to 4. If there are already VLANs
assigned to a team, then the maximum valid value of the number of
VLANs to be assigned is reduced by the number of existing teams. If
an invalid value is specified the command is rejected without any
other action being taken.
["keepnvlan"]
An optional parameter that lets you keep the native VLAN on an
adapter.