Skip to main content

Creating a VLAN

You can create a VLAN for maintaining separate broadcast domains within the same network domain by using the network port vlan create command.

Before you begin

Your network administrator must have confirmed that the following requirements have been met:
  • The switches deployed in the network must either comply with IEEE 802.1Q standards or have a vendor-specific implementation of VLANs.

  • For supporting multiple VLANs, an end-station must be statically configured to belong to one or more VLANs.

  • The VLAN is not attached to a port hosting a cluster LIF.

  • The VLAN is not attached to ports assigned to the Cluster IPspace.

  • The VLAN is not created on an interface group port that contains no member ports.

About this task

In certain circumstances, if you want to create the VLAN port on a degraded port without correcting the hardware issue or any software misconfiguration, then you can set the -ignore-health-status parameter of the network port modify command as true .

Creating a VLAN attaches the VLAN to the network port on a specified node in a cluster.

When you configure a VLAN over a port for the first time, the port might go down, resulting in a temporary disconnection of the network. Subsequent VLAN additions to the same port do not affect the port state.

Note
You should not create a VLAN on a network interface with the same identifier as the native VLAN of the switch. For example, if the network interface e0b is on native VLAN 10, you should not create a VLAN e0b-10 on that interface.
Use the network port vlan create command to create a VLAN.

You must specify either the vlan-name or the port and vlan-id options when creating a VLAN. The VLAN name is a combination of the name of the port (or interface group) and the network switch VLAN identifier, with a hyphen in between. For example, e0c-24 and e1c-80 are valid VLAN names.

Example

The following example shows how to create a VLAN e1c-80 attached to network port e1c on the node cluster-1-01:

cluster-1::> network port vlan create -node cluster-1-01 -vlan-name e1c-80

For more information about this command, see the man page.