What are the steps to add new VLANs?
Applies to
- ONTAP 9
- Networking
- VLAN
Answer
- 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.
- 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.
- 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
|