Skip to main content

network port vlan create

Create a virtual LAN (VLAN)

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The network port vlan create command attaches a VLAN to a network port on a specified node.

Parameters

-node {<nodename>|local} - Node
The node to which the VLAN is to be attached.
Note
You cannot attach a VLAN to a cluster port.
{ -vlan-name {<netport>|<ifgrp>} - VLAN Name
The name of the VLAN that is to be attached. This name should be a combination of the name of the port or interface group and the VLAN ID, with a hyphen between, such as "e1c-80".
| -port {<netport>|<ifgrp>} - Associated Network Port
The network port to which the VLAN is to be attached.
-vlan-id <integer>} - Network Switch VLAN Identifier
The ID tag of the created VLAN.

Examples

This example shows how to create VLAN e1c-80 attached to network port e1c on node1.

cluster1::> network port vlan create -node node1 -vlan-name e1c-80