Note: There are common steps to configure VLAN that could differ depending on your switch, router, server, and interface.
Enable VLAN support on the switch.
Create VLAN in the switch configuration menu.
Assign trunk and access ports to VLAN.
Plan the VLAN configuration - IDs and ports.
Enable and configure VLAN tagging.