I want to know how to create another vlan for an existing vif , Anyone has a KB article?
The filer has an vif with ip 10.*.*.50,51 and 52. and want to change the network id.
I do not want to destroy the existing vif and recreate since the datastores are mounted for Esxi hots, instead I want to create another vlan for NFS ,I do not know it is possible?
If a physical interface/VIF does not belong to any VLAN, you can use the vlan create. If VIF is already a member of a VLAN, you should use the "vlan add" command to add the interface to subsequent VLANs.
In your case, VIF is already created and VLAN exits on top of it.
In order to add another VLAN with network Identifier '50'.
filer>vlan add interface_name vlanid
filer>vlan add vif 50
Note: Substitute vif with your vif name.
Next, configure the newly created VLAN:
filer>ifconfig vif-50 10.10.50.55 netmask 255.255.255.0
Next, add the alias:
filer>ifconfig vif-50 alias 10.10.50.60 netmask 255.255.255.0
Ensure that these commands are added to the /etc/rc file as they are not persistent across reboots.
You can use CLI or notepad/wordpad. I usually do it using CLI, b'cos, sometimes rc file dosent like notepad/wordpad edits.
In CLI, you'll need to use the "rdfile" and "wrfile" commands.
Login via putty:
1) rdfile /vol/vol0/etc/rc ---- This will display the current "rc" file, cut and paste this into a Notepad.
2) modify the "rc" in Notepad to include the vlan changes you made.
3) wrfile /vol/vol0/etc/rc ----- Copy the updated Notepad version of the "rc" file and right click and paste into the Putty session window
5) rdfile /vol/vol0/etc/rc ---- And review the changes
Well, the interface_name is the interface you want to add to a VLAN. This could be physical interface such as e0a ,e0b etc, or it could be a virtual interface, simply called VIF. If you already have a VIF (with teamed interfaces such as e0a, e0b, etc), then you don't have to give physical interfaces name, instead you give VIF name. Basically you are building a VLAN on top of VIF. Isn't it.
Is that your query ?
my filer > vlan stat
vlan: Display stat failed. None of the interfaces are capable of supporting VLAN tagging.
I looked at my rc file and noticed that there is not any entry for vlan,
Is tehre any default vlan for the current vif?
will it cause any problem to the filer if i issue
>vlan add myvif 50