Pcornel
Automation · Network Automation

SNMP Automation

Cheat sheet · https://pcornel.dk/topic.php?topic=5595

Back to the Topic

Answer

SNMP Automation uses MIB/OID-based polling or controlled set operations to collect or modify network management data within SNMP security and access constraints.

Remember

  • SNMP response ≠ requested object semantically correct.
  • OID exists ≠ index identifies the intended interface/resource.
  • Counter increased ≠ root cause established.
  • SNMP SET accepted ≠ safe or persistent configuration.

First checks

  • snmpwalk -v3 -l authPriv -u <u> -a SHA -A <a> -x AES -X <p> <dev> sysDescr — SNMPv3 read
  • SNMP for monitoring, not config — role
  • Communities/v2c removed — security

Verify in this order

poller → SNMPv3 → MIB data

Where it usually breaks

SNMP evidence proves the returned management object for a specific context/time; it does not automatically prove causation, topology identity or complete device health.

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

SNMP Automation Network Automation proof-boundary map

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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5595

Confirmation

Confirm action

Continue?