US President Donald Trump has vowed to deploy the military to the border with Mexico, something he described as a “big step.”

Cultivating his tough-on-migration image during a White House meeting with Baltic leaders, Mr Trump said “we are going to be guarding our border with our military” as he lashed out at his predecessor.

“President Obama made changes that basically created no border,” he claimed, without elaborating.

Mr Trump has raged at Mexico for allowing around 1500 demonstrators from Central America to walk toward the US border.

Like each of the last five years, they set off from the southern Mexican state of Chiapas for the US border, where many hope to apply for asylum.

Spurred on by right wing media, Mr Trump has leapt on the “caravan” as evidence of the need for a border wall.

“If it reaches our border our laws are so weak and so pathetic ... it’s like we have no border.” “We need to have a wall that’s about 700-800 miles” of the border, he said.

Mr Trump has been seething since realising the major spending bill he signed last month barely funds the “big, beautiful” border wall he has promised supporters.

The $US1.3 trillion ($1.7 trillion) funding package included $US1.6 billion ($2.08 billion) in border wall spending, but much of that money can be used only to repair existing segments, not to build new sections.