The US military says it is enforcing a blockade against vessels of all countries entering or leaving Iranian ports in the Gulf and the Gulf of Oman.