Use this when defining standard configs per role.
Golden Configurations
Golden configurations are the approved standard configs for each device role, generated from templates and used as the reference for compliance and drift checks.
1. Golden configurations define the standard config per role.
2. Compare running configs against golden.
3. Report and fix deviations.
4. Version and review changes.
5. Exceptions documented.
golden template → rendered → compared to running
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Golden configs that nobody maintains.
- Comparing raw text instead of parsed config.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Golden configs are the approved config per role.
- Generated from templates.
- Used as reference for compliance.
- Golden config templates — standard
diff <(rendered) <(running)— compliance diff- Approved deviations — exceptions
ReferenceWhy it matters1 section · depth on demand
What it is
A golden configuration is the approved standard config for a device role. Automation renders it from templates and compares devices against it.
ReferenceImportant terms & boundaries1 section · depth on demand
How it works
Each device role has a template; variables come from the source of truth. A compliance job renders the golden config per device and compares it with the running config (parsed, not raw text), reporting missing or extra lines.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Templates > Golden Configurations. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://jinja.palletsprojects.com/en/stable/templates/ · confidence 94%