President Hassan Rouhani has urged Iran's military leaders to let diplomacy prevail in dealing with potential foreign threats, in a clear reference to efforts to end the nuclear dispute and decades of hostile relations with the West.
"It is very important to formulate one's sentences and speeches in a way that is not construed as threat, intention to strike a blow," Rouhani said in a meeting on Saturday with Iran's top military echelon.
"We must be very careful in our calculations. Launching missiles and staging military exercises to scare off the other side is not good deterrence, although a necessity in its proper place," the official IRNA news agency quoted him as saying.
A misfire could burst into flames and wreak havoc to everything.
"A misfire could burst into flames and wreak havoc to everything."
A moderate elected by landslide last June, Rouhani has broken with tradition and pursued compromise with the US and its allies on uranium enrichment, a sensitive issue that resulted in global economic sanctions against Iran.
But these efforts run counter to aggressive slogans from Islamic hardliners who dominate the elite Revolutionary Guards and the regular army to a lesser extent.
Last November, the Islamic republic signed an interim deal with the five permanent members of the UN Security Council as well as Germany, to limit parts of its nuclear programme, in exchange for the easing of some international sanctions.
The two sides met again on February 18 aimed at finding a long-term agreement, following the interim deal. The two sides have until July to find a permanent solution.
The EU and the US have suspended a range of sanctions against Iran in the wake of the deal.
While Iranian nuclear negotiators were haggling with world powers in Vienna last month, many generals were beating war drums at home and flexing their military muscles.
"Our forefathers primed us for the final epic battle," said the chief commander of the Revolutionary Guards, Mohammad-Ali Jafari last month.
Such hostility was absent from Rouhani's speech on Saturday. "Our foreign policy is based on detente and trust-building with the world. This is not just a slogan," he said
"Iran is sincere in saying it is not out to attack anyone. Aggression is our red line. Weapons of mass destructions are our red line."