Pcornel
Networking · IP Services › SNMP

SNMP Agent

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

Back to the Topic

Answer

An SNMP agent runs on the managed device, answers get/set requests for its MIB objects and sends traps or informs to managers.

Remember

  • Polling and traps/informs are independent paths
  • An OID identifies an object; the MIB describes structure and semantics
  • SNMPv2c community strings are not equivalent to SNMPv3 authentication/privacy
  • Restrict management sources and grant the minimum required view/access.

First checks

  • show snmp — agent statistics
  • show snmp community / show snmp user — access config
  • show snmp host — trap receivers

Commands

show running-config
show snmp user
show snmp group
show snmp view
show snmp

Verify in this order

manager poll → agent → MIB data → response

Where it usually breaks

local configuration → reachability/transport → request/negotiation → server or policy decision → response/state installation → client-visible result

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

Confirmation

Confirm action

Continue?