Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Compliance Checking

Direct answer

Compliance checking compares each device's configuration with a list of rules — NTP servers set, SNMPv1/v2c off, AAA configured, Telnet disabled, a login banner present — and reports which devices break which rule.

When to use this

Use it for audits, after onboarding devices, and to find drift from the standard.

First 30 seconds

1. Compliance checking compares configs to standards.

2. Rules as code.

3. Report per device and rule.

4. Auto-remediate low-risk items.

5. Track trends.

Operational verification

configs → rules → compliance report

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
network automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformnetwork automation · Compliance Checking owns automated network technical compliance evaluation. Security governance owns policy intent/risk acceptance; Network/Security domains own actual control behavior.
Scope / prerequisiteUse it for audits, after onboarding devices, and to find drift from the standard.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational evidence path Verify boundary

policy/baseline revision → applicability → device evidence collection → normalization → rule evaluation → exception/waiver → remediation → recollection/retest

Healthy evidence: policy and evidence revisions are explicit, missing data is not mistaken for pass and remediation is verified by fresh collection.

Step 2 Verification path Verify boundary

Record device ID/management address, platform/version, interface/VRF/object identity and request/run ID; inspect the runtime/control-plane result; then query network-device configuration and operational/forwarding state relevant to the change through an independent read path and compare it with the versioned intent. For Network Automation → Compliance Checking, the evidence must connect the control-plane result to network-device configuration and operational/forwarding state relevant to the change and explain any gap between desired, controller-reported and consumer-visible state.

Step 3 Failure modes and next checks Narrow the fault

Suspicious evidence: stale snapshots, broad exceptions or failed collectors produce apparently compliant dashboards without reliable device evidence.

Step 4 Common mistakes Narrow the fault
  • Compliance rules out of date.
Step 5 Where it fails Narrow the fault

Failure analysis for Network Automation → Compliance Checking should follow the path through the components: inventory/controller → transport/API/CLI → device parser/model/datastore → control plane → forwarding/operational read-back. Common failure classes include wrong device/context, syntax/model drift, privilege mismatch, partial config, asynchronous convergence and controller cache differing from device truth. Before retrying a mutating operation, read current target state using the stable identity device ID/management address, platform/version, interface/VRF/object identity and request/run ID; if state is unknown, stop broad retries.

Evidence references

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.

observation · 1
Key points

Write each rule as a check that can pass or fail on configuration text or state. Report per device and per rule, not one total score. Record agreed exceptions with a reason, or they come back in every report. Run it on fresh configuration copies.

Key checks
  • Compliance rules (golden config, required lines) — policy
  • Compliance report per device — results
  • Remediation workflow — fixing
ReferenceWhat it is1 section · depth on demand

Core model

Keep policy source/version, applicability, collected evidence, normalization, rule evaluation, exception/waiver context and remediation verification distinct.

ReferenceWhy it matters1 section · depth on demand

In depth

Compliance checking compares device configurations or state against required rules — security baselines, standards, golden configuration — and reports violations per device.

Rule typeExample
Must containservice password-encryption, AAA settings
Must not containtransport input telnet, SNMP community public
Value checkNTP servers equal the approved list
VersionSoftware version on approved list

Run checks on backups (no device load) daily, publish a report with trends, and decide which violations may be remediated automatically.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Compliance automation shows evaluated controls for the captured evidence and rule set, but it does not show total security, availability or runtime enforcement outside that scope.

Mechanics

Network Automation → Compliance Checking is owned at runtime by the automation controller/client plus network-device API/CLI/model interface and device control plane. Its durable intent is versioned device inventory and bounded network configuration/verification intent; the stable identity contract is device ID/management address, platform/version, interface/VRF/object identity and request/run ID. The consumer-visible target is network-device configuration and operational/forwarding state relevant to the change. The operating invariants are that device/platform capability is known, scope is explicit, parsing/model assumptions match software, writes are read back and control-plane versus forwarding verification remain distinct. Follow the chain of components inventory/controller → transport/API/CLI → device parser/model/datastore → control plane → forwarding/operational read-back and record which layer currently owns truth. The linked authority for bounded mechanics is Cisco DevNet — Network Automation; documentation support is separate from observed lab/production Evidence.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docnetwork automation current

Authoritative/upstream documentation reviewed for bounded claims in Network Automation > Compliance Checking. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://developer.cisco.com/site/networking/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
network complianceconfiguration compliance automationnetwork policy checking
Embedded reference data

Quick lookup tables

Compliance Checking Network Automation proof-boundary map

Fast intent/scope, management-operation, device-state and network-acceptance boundaries for Compliance Checking.

BoundaryHealthy evidenceSuspicious evidence
Intent / scopeSource revision and exact targets are explicitStale inventory, hidden selector or wrong variables change scope
Management operationTransport/model/payload and per-device response are traceableAuth/capability/parser differences hide partial or wrong execution
Device stateEffective and persistent state are read backAccepted config/API result is mistaken for convergence
Network proofOriginal control/data-plane or service test passesAutomation summary substitutes for actual network acceptance
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

Capture at minimum device/platform, request/command/RPC ID, config diff, parser/API result, operational state, counters/routes/neighbors and final service verification.

Confirmation

Confirm action

Continue?