
Iran's intelligence minister says a number of suspects have been arrested in connection with Saturday's gun attack on a military parade in Ahvaz.
Mahmoud Alavi said a "large part of the network" behind the attack, which left 25 people dead, had been caught.
He was speaking at a funeral ceremony for the victims attended by thousands.
The deputy head of the Revolutionary Guards meanwhile warned the US and Israel to expect a "devastating" response, accusing them of involvement.
Iran's president alleged on Sunday that the gunmen were armed by a Gulf state allied with the US. The US condemned the incident and denied any responsibility.
Ethnic Arab separatists and the Islamic State group (IS) have issued competing claims that they carried out the attack, which was the deadliest in Iran in almost a decade.
What happened on Saturday?
The parade in Ahvaz - the capital of the south-western border province of Khuzestan - marked the anniversary of the start of Iran's 1980-88 war with Iraq.
Four gunmen reportedly wearing military uniforms opened fire on troops taking part in the event, bystanders, and a viewing stand for officials.

At least eight of those killed were Revolutionary Guards personnel. Women, children and a disabled war veteran were also among the victims, officials said.
On Monday, thousands of people gathered outside the Sarallah mosque in central Ahvaz for their funerals.
The coffins were draped in Iranian flags and mourners carried pictures of those killed, as well as banners saying "we will stand to the end" and "no to terrorism".
Who was behind the attack?
Speaking at the funeral, Mr Alavi said intelligence ministry agents and other security personnel would catch all of those connected to the attack, adding that a majority were already in custody.
"We will punish every single one of the terrorists for their actions," he vowed.
The minister did not provide any further details, but other Iranian officials have said they believed the gunmen had links to an "Ahvazi terrorist group".
A spokesman for the al-Ahwaz National Resistance, an umbrella movement for Arab separatist groups fighting for independence for Khuzestan province, has said it carried out the attack. But one of the separatist groups, the Ahwazi Democratic Popular Front, has denied any involvement.
IS has also claimed the shooting and published a video purportedly showing three of the gunmen being driven to the military parade in a car.
The men appear to be dressed in Revolutionary Guards uniforms and talk about the importance of jihad. However, none of them stated that they were members of IS or pledged allegiance to the group's leader, Abu-Bakr al-Baghdadi - something that is common in such pre-attack videos.
How has Iran threatened to respond?
The deputy head of the Revolutionary Guards accused Saudi Arabia, Israel and the US of masterminding the attack and promised they would face repercussions.
Brig-Gen Hossein Salami said in a speech to mourners at Monday's funeral: "You have seen our revenge before... we promise that our response will be crushing and devastating and you will regret what you have done."
The US permanent representative to the UN, Nikki Haley, said on Sunday that it "condemns any terrorist attack anywhere" and that the Iranian president needed to "look in the mirror" rather than blame her country.
There was no immediate response from the Saudi or Israeli governments.