1 Reply Latest reply: Apr 18, 2013 9:03 AM by billshaffer RSS

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

dannyfu0928
Currently Being Moderated

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?

  • Re: what is the difference between the result of vlan create and vlan add?
    billshaffer
    Currently Being Moderated

    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

More Like This

  • Retrieving data ...