Ethiopia declared a nationwide state of emergency on Tuesday and ordered residents of Addis Ababa to prepare to defend their neighbourhoods amid fears that Tigrayan rebels were heading for the capital.
The measures came after several days of reported advances by the Tigray People's Liberation Front (TPLF) rebel group, which is locked in a brutal year-long war against Prime Minister Abiy Ahmed's government.
"The state of emergency is aimed to protect civilians from atrocities being committed by the terrorist TPLF group in several parts of the country," state-affiliated Fana Broadcasting Corporate reported.
Possible restrictions include a curfew, road closures and searches of "anyone suspected of collaborating with terror groups", Fana said.
The measure also allows the authorities to conscript "any military age citizen who has weapons" or suspend any media outlets believed to be "giving moral support directly or indirectly" to the TPLF, Fana said.
Lawmakers were expected to approve the state of emergency within 24 hours, it added.
Following the announcement, Abiy urged citizens "to undertake their role and cooperate with law enforcement entities".
"This is a testing time where all these problems piled up simultaneously. Until the test passes, it's inevitable every person will be tested," he tweeted.
Earlier on Tuesday officials in Addis Ababa announced new security measures for the city's five million residents, requiring that all firearms be registered within two days.
"All residents must be organised by blocks and neighbourhoods to protect peace and security in their home area in coordination with security forces, who will coordinate activities with community police and law enforcers," said Kenea Yadeta, chief of the city's Peace and Security Administration Bureau.
He also said young residents would be recruited to work with law enforcement, and that "all sections of society" must cooperate with efforts to increase vigilance, for example landlords and hotel owners checking IDs of tenants and guests.
Meanwhile, the UN Secretary-General Antonio Guterres has called for an immediate cessation of hostilities in Ethiopia.
Mr Guterres called "for an immediate cessation of hostilities, unrestricted humanitarian access to deliver urgent life-saving assistance, and an inclusive national dialogue to resolve this crisis and create the foundation for peace and stability throughout the country," his spokesman, Stephane Dujarric, said.
Abiy sent troops into Tigray a year ago in response, he said, to the TPLF's attacks on army camps.
The 2019 Nobel Peace laureate promised a swift victory, but by late June the rebels had retaken most of Tigray and expanded into the neighbouring regions of Afar and Amhara.
In recent days the TPLF has claimed control of two key cities in Amhara, about 400 kilometres north of Addis Ababa.
TPLF leaders have not ruled out marching on the capital, which has so far not seen any fighting.
The government has denied claims of TPLF territorial gains which, if confirmed, would represent a major strategic advance.
Much of northern Ethiopia is under a communications blackout and access for journalists is restricted, making battlefield claims difficult to verify independently.
A separate rebel group, the Oromo Liberation Army (OLA), has also boasted of recent advances in Amhara and in the Oromia region surrounding Addis Ababa.
The expanding conflict has alarmed the international community, with Western powers reiterating calls for an immediate ceasefire and for the African Union to broker peace talks.
The US embassy published an advisory on Tuesday suggesting citizens reconsider travelling to Ethiopia and that "those who are currently in Ethiopia consider making preparations to leave".
The fighting has already killed thousands and forced hundreds of thousands into famine-like conditions, according to the UN.
EU foreign policy chief Josep Borrell expressed alarm over the emergency declaration, and warned that "mass mobilisation from the government will only drag the country and its citizens further into civil war and disintegration."
Jeffrey Feltman, US special envoy for the Horn of Africa, said on Tuesday that Washington opposed "any TPLF move to Addis or any TPLF move to besiege Addis", and that officials had conveyed that message to the rebels.
Separately US President Joe Biden said his government would remove Ethiopia from a vital trade pact due to human rights concerns related to the war.
Ethiopia, which in recent weeks had lobbied to stay in the programme, known as the African Growth and Opportunity Act, said it was "extremely disappointed" by Biden's decision and called for its reversal.