According to the report, the crowd chanted "Death to America" while carrying effigies and banners of Trump.
Earlier this week Ayatollah Khameni said Mr Trump had made it easier to see the "real face of America".
The rallies and their anti-American sentiment are common in Iran around this time of the year, but have taken on an extra bite after the supreme leader, Ayatollah Ali Khamenei, thanked the U.S. president for "making our life easy" and showing "the real face of America", and urged people to come out on Friday in big numbers to "respond to his words".
On Wednesday, Iran lauched a mid-range ballistic missile test, its second in a fortnight, after the USA said the country was "on notice" for conducting the first.
Iran's Defense Minister Hossein Dehqan has said the country will spare to efforts to boost its defense power.
Iranian President Hassan Rouhani has said his country would not be threatened by "war-mongering policies".
Iranian President Sheikh Hasan Rouhani said that the Iranian people should be spoken to with respect and dignity, warning all those who speak to Iranian with language of threats will regret it. "They wanted to sabotage and carry out devilish acts during the rallies on Friday", Iran prosecutor-general Mohammad Jafar Montazeri was quoted as saying by ILNA news agency.
Iran will today celebrate the 38th anniversary of the Islamic Revolution, an event that still defines the country and its place in the world, as it seeks to assert itself against a more confrontational United States administration.
At similar rallies in years past, it would be typical to see a US flag burning every 10-15 yards, but none were seen Friday. The greatest threat to the nuclear deal, he told TWW, is Iran's upcoming presidential election bringing to power "a government that is as unhappy with the deal as are the Trump White House and their friends in Israel and the Gulf".
USA flags were burned as is traditional although many Iranians on social media such as Twitter and Facebook used the hashtag #LoveBeyondFlags to urge an end to flag-burning during the anniversary.
Another sign said: "American people are welcome and invited to visit Iran".
In May, 2016, the U.S. Supreme Court ruled the transfer of almost two billion U.S. dollars to the American victims of terrorist attacks, including the 1983 truck bombing of a Marine Corps barracks in Beirut, Lebanon.
Iranians used the hashtag #LoveBeyondFlags to urge an end to the USA flag-burning typically seen at the annual anniversary rally.
Ali Akbar Velayati, adviser to Khamenei, said in an interview with Al Jazeera published on Friday that Iran will maintain its missile program "at any cost".