Skip to main content
NetApp Knowledge Base

What are the steps to add new VLANs?

Views:
817
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • Networking
  • VLAN

Answer

  1. From a network perspective, plan and configure the VLAN(s):
  • Determine the following for each VLAN:
    •  VLAN ID(s)
    • IP address(s)
    • Subnet(s)
    • Gateway(s)
  • Ensure that each VLAN are properly configured on the network switches and routers.
  1. From an ONTAP perspective, create each VLAN interface on the cluster:

Note: This step will create a VLAN port that is node specific.

  • network port vlan create -node <node> -vlan-name <vlan_name>
  • For more information, see network port vlan create in Netapp documentation. 
  1. Create or migrate and re-home LIF(s) to the VLAN ports:

Note: This step assumes that LIF service policy(s), broadcast domain(s), and ipspace(s) are created. 

  • Creating a LIF(s):
    • network interface create -vserver <vserver> -lif <lif> -service-policy <service policy> -home-node <home node> -home-port <vlan port> -address <ip address> - netmask <subnet mask> -auto-revert {true|false}
    • Assign the VLAN interface for the port in the command above. 
    • For more information, see network interface create in Netapp documentation. 
  • Migrating a LIF(s):
    • network interface migrate -vserver <vserver> -lif <lif> -dest-node <node> -dest-port <vlan port>
    • For more information, see network interface migrate in Netapp documentation. 
  • (Optional) If migrating, re-home the LIF:
    • network interface modify -vserver <vserver> -lif <lif> -home-port <vlan port>
    • For more information, see network interface modify in Netapp documentation. 

WARNING

  • Regarding the impact on service, adding new VLANs should not cause any downtime or service interruption by default.
  • However, it's important to carefully plan and configure the VLANs during a maintenance window or a low-traffic period to minimize any potential impact on ongoing operations to avoid any potential disruptions.
  • It is recommended to engage switch vendor, internal networking and firewall team to ensure that the network switches, routers, and firewall configurations are properly set up to handle the new VLANs without affecting existing traffic.
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.