One of them is enough. You can select the interface to apply or just write VLAN ID in the VLAN field. You don't need to add both of them.