Hungary has closed a main station in Budapest to migrants after hundreds of people boarded trains for Austria and Germany on Monday.
Migrants were told to leave the Eastern Railway Terminus and police are lined up at the main entrance, national news agency MTI reported.
An announcement over the station's loudspeakers said the measure would be in effect for an undetermined length of time.
A huge crowd has gathered outside the station, some of whom have been shouting "Germany, Germany".
Scuffles broke out earlier as migrants pushed toward metal gates at a platform where a train was scheduled to leave for Vienna and Munich, and were blocked by police.