Command templates send commands to a set of devices at runtime and evaluate the responses against a defined set of rules. They are typically used as pre- and post-checks around a network procedure—such as a router upgrade or service migration—to verify device state before the change and confirm expected outcomes after it.
A template runs in two phases:
passed or failed.This makes command templates a structured way to enforce acceptance criteria and catch unexpected device states without manual inspection.