"The US has announced a formal blockade of Iranian ports and coastal areas. This is illegal action," the military said in the broadcast.