"If our ports and docks are threatened, all ports and docks in the region will be our legitimate targets," armed forces spokesman Abolfazl Shekarchi said, according to state TV.
He warned that the armed forces "will carry out a heavier operation than what we have done so far" if Iranian ports were to come under attack.
"We call on the countries of the region to expel the Americans from their lands," he added.