Configure DHCP server with VLAN in Cisco switch
Enable DHCP Service Create desired vlan Assign IP Address to VLAN interface Exclude vlan interface IP Address from dhcp pool Create DHCP Server Pool Now assign VLAN to specific interface as access port or trunk port.