ONTAP 9.14.1 commands

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.

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.

[-skip-broadcast-domain-placement <true>] - Skip Placement Into Broadcast Domain

When specified, the VLAN will not be placed into any broadcast domain.

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
Top of Page