Sani Usman told a news briefing late Tuesday that 40 civilians held hostage by insurgents were freed from a militant camp in Bulagama; another 103 from Budumri; and another 181 from Bolungu village -- all in the northeastern Borno state.
"In the same vein, 151 Task Force Battalion of 21 Brigade while on patrol encountered Boko Haram terrorists at Budumri village during which they killed 25 Boko Haram terrorists and arrested eight other terrorists," he added.
The spokesman said six militants were also killed and two others arrested in the Kukawa area of the state in two separate encounters with troops. Vehicles and ammunition were also recovered.
Usman also announced the dismissal of 250 soldiers for alleged "indiscipline, cowardice and absence without leave".
Nigeria has been battling a Boko Haram insurgency since 2009, with tens of thousands of lives lost and over 2 millions displaced. Boko Haram has since pledged allegiance to Daesh, although security agencies are still trying to estimate how deep the relationship of the two groups is.