ONTAP Discussions

what is the difference between the result of vlan create and vlan add?

dannyfu0928
2,156 Views

I am new to NetApp world, and trying to create VLAN interface, but I saw all VLAN interfaces of one active-active cluster were created by "vlan create", and all VLAN interfaces of another active-active cluster were created by "vlan add". the output of ifconfig -a of the 2 active-active clusters have no difference.

so what is the difference of the result of vlan create and vlan add?

1 REPLY 1

billshaffer
2,156 Views

Can you post the relevant /etc/rc lines?

vlan create is supposed to create one or more vlanids on an interface.  vlan add will add a vlanid to an interface that already has vlanids configured.

The man page says that vlan create will convert an interface to a vlan only interface, making it sound like you must run vlan create before vlan add - but it's possible that the code will, if vlan add is run on an interface that hasn't had a vlan create run, do the necessary stuff to set the interface up for vlans.

I would change the system that does everything my vlan add to vlan create, just in case that "extra functionality" goes away in the future.

Bill

Public