Complex sentence: If both command posts are out of action, a subordinate command post steps up to command the formation; in the case of an infantry battalion, one of the company command posts would step up and take charge.
Split into simpler sentences: If both command posts are out of action a subordinate command post "steps up" to command the formation. In the case of an infantry battalion one of the company command posts would step up and take charge.