vlan does not work

hello!i want to make port based vlans with tp link switch.
i set up vlan in my mikrotik box,i create a ip pool,after that i make dhcp server for my vlan interface,
and i am configuring a port of the switch in this way
interface ethernet e10
switchport mode access
switchport access vlan myvlanid

but the problem is that,i can not get ip address from the dhcp server!?

The switch port that connects to the MT needs to be a trunk port.

tp link looks like vintage Linksys cli, so if the uplink is port 1, perhaps:

int ethernet e1
switchport mode trunk
switchport trunk allowed vlan add myvlanid