The European Union's top migration official says the pressure faced by Hungary from flows of migrants and refugees is similar to what Greece and Italy are facing with migration across the Mediterranean Sea.

EU commissioner for migration Dimitris Avramopoulos also said Tuesday that unilateral solutions to the rising migration flow "will only shift the problem to the next neighboring country, it will not solve it." At the same time, he said that each EU country had the right to protect its own borders.

Hungary has announced that it plans to build a 4-meter (13-foot) -high fence on its southern border with Serbia to stem the arrival of migrants. Foreign Minister Peter Szijjarto said after his meeting with Avramopoulos that over 67,000 illegal migrants have entered Hungary so far this year.