Skip to content
CCNA 200-301 v1.1 reference — IP Services

SNMP

Managers, agents, MIBs and OIDs; polling versus traps and informs; and what the SNMP versions add for security.

Objective 4.4v1.1 exam target

Agents, managers, MIBs and OIDs

SNMP lets a manager (NMS) read and write management data on devices (agents). Data lives in a tree called the MIB; each leaf is an OID — a dotted identifier like 1.3.6.1.2.1.1.5.0 (sysName). The agent listens on UDP 161 for requests; the manager listens on UDP 162 for notifications.

Practical OIDs for network study: sysDescr, sysUpTime, sysName identify the device; ifOperStatus/ifAdminStatus report interface state; ifHCInOctets/ifHCOutOctets are the 64-bit counters used for utilization math. A 32-bit byte counter wraps in ~3.4 seconds on a 10 Gb link — always poll HC counters on fast interfaces.

Polling and notifications

SNMP message types

MessageDirectionPurpose
GetRequest / GetNext / GetBulkNMS → agent (161)Read OID(s); GetBulk efficiently walks tables
SetRequestNMS → agent (161)Write a writable OID
Responseagent → NMSAnswer to a request
Trapagent → NMS (162)Unsolicited alert, no acknowledgment
InformRequestagent → NMS (162)Alert the manager must acknowledge — reliable but heavier
Why the graph is broken on the 10G link
Symptom
Interface utilization graph spikes to absurd values or flatlines at 10G
  1. The NMS polls ifInOctets — the 32-bit counter.
  2. At 10 Gbps the counter wraps every ~3.4 seconds; deltas become garbage.
  3. Switching the poll to ifHCInOctets (64-bit) restores sane values.

Counter width is a real operational constraint, not trivia.

Versions and verification

SNMP versions

VersionSecurityNotes
v1Community string (cleartext)Legacy, 32-bit counters only
v2cCommunity string (cleartext)Adds GetBulk, Inform, 64-bit counters
v3 noAuthNoPrivUsername onlyNo crypto
v3 authNoPrivAuth (MD5/SHA)Integrity, no encryption
v3 authPrivAuth + encryptionThe secure enterprise choice
Basic SNMPv2c/v3 configuration

Allow monitoring reads from the NMS — Privileged EXEC → Global configuration

Cisco IOS / IOS XE

configure terminal
snmp-server community C0mmun1ty RO 10
access-list 10 permit 192.168.99.10
 end
Verify
show snmp
show snmp community
show snmp user
  • SNMP packet counters increment on polls.
  • The NMS can read sysName and interface OIDs.
  • Community strings are cleartext — restrict with an ACL and prefer v3 authPriv anywhere it matters.
  • Use a placeholder string here — never reuse a real community.

Changes device configuration.

Common mistakes

  • Expecting traps on UDP 161 — agents receive requests there; managers receive traps on 162.
  • Confusing trap with inform — only informs get acknowledged/retried.
  • Leaving RW community strings unfiltered — write access via cleartext community is a real attack path.
  • Polling 32-bit counters on fast links — use HC counters.
NMS sees the device but gets no data

Observation: Ping succeeds to the device; all SNMP polls time out.

Hypotheses
  • ACL blocking UDP 161 to the agent
  • Wrong community string / version mismatch
  • snmp-server not enabled or view restriction excludes the OIDs
CheckIndicates
show snmp counters on the agentInput packets counted? If zero, the requests never arrive — ACL/path.
Community/version on both sidesv3 user vs v2c community never authenticates.
ACL applied to the community lineA restrictive ACL can silently reject a valid community.

Correction: Open the path or align credentials/version.

Polls succeed and counters increment on both sides.

On this page

Related resources

Sources

Targets CCNA 200-301 v1.1 objectives. Supplemental blocks are labeled beyond exam scope.

Search guided lessons, transcript chapters, flashcards, CLI drills and cheat sheets

SNMP | CCNA Study