Maiduguri - Fighters from Boko Haram armed with anti-aircraft guns and grenade launchers attacked a barracks in the volatile northeast and battled soldiers for several hours, the military said.
The army said it used troops and planes to repel Friday's assault in the town of Bama, the second Islamist attack on a military base this month.
"They were heavily armed ... We still don't have any clear details on the casualties," said Brigadier General Chris Olukolade by telephone.
"High-calibre weapons such as anti-aircraft and rocket-propelled guns were freely used in the attack that lasted several hours," he said earlier.
Boko Haram claimed responsibility for a coordinated strike on December 2 on the air force base and military barracks in Maiduguri.