By default all ports are members of a hardware switch. remove one of the port from the switch. for example port 4. Now we will create our VLANs under this port.
fgt#config system interface
fgt(interface)#edit <vlan-name>#if vlan-name not exist, vlan will be created.
fgt(<vlan-name>)#set interface lan4 #assign this vlan to the lan4 port.
fgt(<vlan-name>)#set ip <give an ip in vlan range/24>#set ip for the vlan port
fgt(<vlan-name>)#set vlanid <id># set VLAN ID
fgt(<vlan-name>)#next
fgt(<vlan-name>)#end
#Vlan ID and Name are not same,eg. Vlan-Name = Wireless, VlanID= 70