Offset ZeroCCNA 200-301 study captureGet the app
Menu

MGMTConcept · Area 4B Management & QoS

SNMPv2c vs SNMPv3: community strings, security levels, polls and traps

SNMPv2c and SNMPv3 carry the same messages between the same two roles; the difference is security. v2c identifies the sender with a community string that travels in clear text, while v3 adds the User-based Security Model (USM) with named users and three security levels. Before comparing versions, fix the map: which side asks, which side reports, and on which UDP port.

Reviewed October 29, 2026

Frames · 7 sections

A manager, an agent and a tree of values

The Simple Network Management Protocol (SNMP) has two roles. The manager, usually software on a network management station (NMS), asks; the agent, built into each router, switch or access point, answers. What an agent can report is described in Management Information Bases (MIBs), and every value sits at an object identifier (OID), a dotted path such as 1.3.6.1.2.1.1.5.0 for the device’s name, sysName (RFC 3418).

Polls go down, notifications come up

Get requests read values and Set requests change them; the manager sends both to UDP 161 on the agent. Traps and informs travel the other way, from the agent to UDP 162 on the manager, when something happens: an interface goes down, a power supply fails, a threshold is crossed. An inform is a notification the manager acknowledges, so the agent can send it again if the acknowledgement never arrives; a trap gets no reply. Tools like snmpwalk simply repeat GetNext requests down one branch of the tree.

Where the version names come from

SNMPv1 used community strings. SNMPv2 added GetBulk and informs, and the version that shipped kept the community model; the “c” in v2c stands for community-based (RFC 1901). SNMPv3 keeps the v2 operations and adds the security framework of RFC 3411 to RFC 3418, which is the current IETF standard for SNMP.

The message map

SNMP operations as RFC 3416 defines them, with the usual UDP ports
MessageSent byToJob
GetRequest, GetNextRequestManagerAgent, UDP 161Read one value, or the next value in the tree
GetBulkRequestManagerAgent, UDP 161Read many values in one exchange (added in SNMPv2)
SetRequestManagerAgent, UDP 161Change a value; needs write access
ResponseAgentThe manager’s source portAnswer to any request above
SNMPv2-TrapAgentManager, UDP 162Report an event, no acknowledgement
InformRequestAgentManager, UDP 162Report an event and wait for an acknowledgement

SNMPv2c against SNMPv3

Same operations, different security
Point of comparisonSNMPv2cSNMPv3
Who is asking (differs)A community string, readable by anyone on the pathA named user in the User-based Security Model (RFC 3414)
Authentication (differs)None beyond knowing the stringKeyed hash (HMAC), depending on the security level
Encryption (differs)NoneAvailable, depending on the security level the user is configured for
Access rights (differs)Read-only or read-write per community; an ACL can limit which stations use itSet per group, with views that limit which OIDs a user can see
OperationsGet, GetNext, GetBulk, Set, Trap, InformGet, GetNext, GetBulk, Set, Trap, Inform
PortsUDP 161 and 162UDP 161 and 162
Reasonable use (differs)A lab, or an isolated management networkAnything crossing a shared or untrusted path

≠ marks rows where the two differ.

Frames on SNMPv2c vs SNMPv3

Work these before the security levels below; decide whether each frame is about the roles, the data model, the version or the command line.

Practice frames written by our editors for study, not Cisco items. The 200-301 exam itself mixes multiple choice, drag-and-drop and lab-style items.

Frame 001 of 007 · 0 answered · 0 ok

Keys

1–5 or A–E pick an option (on choose-N frames they toggle; then Check answer) · ← → previous / next frame · ↑ ↓ move in the frame list

  1. Frame 001 of 007

    Which protocol provides a standardized way for network devices to communicate management information to a centralized management station?

    Pick an option. The verdict shows here; open the note under any option to see why.

    1. Note on A

      STP prevents Layer 2 loops; it does not report management data to a station.

    2. Note on B

      CDP discovers directly connected Cisco neighbors, but it does not report device data to a central station.

    3. Note on C

      LLDP is the vendor-neutral neighbor discovery protocol, and it too stays on the local link.

    4. Note on D

      Correct: SNMP lets a central manager poll devices (UDP 161) and receive traps or informs from them (UDP 162).

    Best answer: D · why

    SNMP is the standard protocol for central device monitoring. Agents on routers and switches expose data organized in a MIB; the manager reads it with get requests or changes it with set requests on UDP 161. Agents can also push unsolicited traps or informs to the manager on UDP 162. CDP and LLDP only exchange information between directly connected neighbors.

  2. Frame 002 of 007

    Which SNMP component is a structured collection of information that represents a specific aspect of a managed device?

    Pick an option. The verdict shows here; open the note under any option to see why.

    1. Note on A

      A PDU is a single SNMP message, such as a Get or a Trap, not a body of device information.

    2. Note on B

      An OID names one object inside the MIB; the MIB is the structured collection those OIDs belong to.

    3. Note on C

      Correct: the MIB is the hierarchical collection of managed objects that describes a device, and the manager queries it.

    4. Note on D

      SMI is the set of rules for defining MIB objects and their data types, not the collection itself.

    Best answer: C · why

    SNMP organizes device data in a Management Information Base (MIB): a tree of managed objects such as interface counters or CPU load, each with an Object Identifier (OID) like 1.3.6.1.2.1.2.2.1.10. The Structure of Management Information (SMI) defines how such objects are described, and Protocol Data Units (PDUs) are the Get, Set, Response and Trap messages that carry the values.

  3. Frame 003 of 007

    Which SNMP version introduced View-based Access Control Model (VACM) and improved security features?

    Pick an option. The verdict shows here; open the note under any option to see why.

    1. Note on A

      There is no SNMPv4; version 3 is the current standard.

    2. Note on B

      SNMPv1 had only clear-text community strings, with no user-based security or view-based access model.

    3. Note on C

      SNMPv2c improved operations such as GetBulk but kept the clear-text community string.

    4. Note on D

      Correct: the SNMPv3 framework added the User-based Security Model (authentication and encryption) and VACM for per-user views of the MIB.

    Best answer: D · why

    SNMPv1 and v2c authenticate with a community string sent in clear text. SNMPv3 (RFC 3411 to 3418) brought the User-based Security Model, with the noAuthNoPriv, authNoPriv and authPriv levels, and the View-based Access Control Model, which limits which parts of the MIB each user or group may read or write. There is no SNMPv4.

  4. Frame 004 of 007

    Which command is used to configure a Cisco router to send SNMP traps to a management station at 192.168.10.50?

    Pick an option. The verdict shows here; open the note under any option to see why.

    1. Note on A

      trap-source picks the interface whose address traps are sent from; it takes an interface name, not the manager’s IP.

    2. Note on B

      snmp-server location only stores a text description of where the device sits.

    3. Note on C

      Correct: snmp-server host names the trap receiver, the version and the community, so traps go to 192.168.10.50 with v2c community NMSKEY.

    4. Note on D

      snmp-server enable traps chooses which trap types are generated, and it takes no destination address.

    Best answer: C · why

    Sending traps takes two pieces: snmp-server enable traps, which selects the events that generate traps, and snmp-server host <address> [traps|informs] version <1|2c|3> <community or user>, which names the receiver. Here that is snmp-server host 192.168.10.50 traps version 2c NMSKEY. snmp-server trap-source sets the source interface, and snmp-server location is a text label.

  5. Frame 005 of 007

    Which command adds an SNMP community with read-only privileges while restricting SNMP access to a specific IP network on a Cisco router?

    Pick an option. The verdict shows here; open the note under any option to see why.

    1. Note on A

      snmp-server host names a trap or inform receiver; it does not define a community or apply an ACL to polling.

    2. Note on B

      IOS has no snmp-server access command; restricting pollers is done with the ACL at the end of the community line.

    3. Note on C

      snmp-server enable traps selects trap types to send, and it does not create a community string.

    4. Note on D

      Correct: snmp-server community <string> ro <acl> creates a read-only community and accepts SNMP requests only from sources the ACL permits.

    Best answer: D · why

    In SNMPv1 and v2c, the community string acts as a shared password. snmp-server community <string> ro <acl> creates a read-only community (rw would allow set requests), and the optional standard ACL number limits which manager addresses may use it. For example: access-list 10 permit 192.168.10.0 0.0.0.255, then snmp-server community NMSKEY ro 10. snmp-server host defines where traps are sent.

  6. Frame 006 of 007

    For auditing SNMP configuration on a router, which command will display the SNMP community strings along with their access levels from the running configuration?

    Pick an option. The verdict shows here; open the note under any option to see why.

    1. Note on A

      Correct: filtering the running configuration for snmp-server community lines shows each community string with its ro or rw keyword and any ACL.

    2. Note on B

      show snmp statistics reports SNMP packet counters, not the configured communities.

    3. Note on C

      This filter shows which trap types are enabled, not the community strings and their access levels.

    4. Note on D

      snmp-server community is a configuration command that creates a community; it displays nothing.

    Best answer: A · why

    Communities are configured with snmp-server community <string> ro|rw [acl], so the quickest audit is show running-config | include snmp-server community, which lists every such line. SNMP status and counter commands report traffic rather than configuration, and snmp-server community itself is a configuration command, not a display command.

  7. Frame 007 of 007

    A monitoring server polls core routers with SNMP across a shared WAN. Policy requires every SNMP message to be authenticated and its contents encrypted. Which choice meets the policy?

    Pick an option. The verdict shows here; open the note under any option to see why.

    1. Note on A

      authNoPriv authenticates messages and protects their integrity but sends the contents unencrypted, so it fails the encryption requirement.

    2. Note on B

      noAuthNoPriv identifies users by name only, with neither authentication nor encryption. It is the weakest SNMPv3 level.

    3. Note on C

      Correct. authPriv is the SNMPv3 level that both authenticates each message and encrypts its contents, which is what the policy requires.

    4. Note on D

      SNMPv2c sends the community string in clear text and encrypts nothing. An ACL limits who may poll but does not protect the messages.

    Best answer: C · why

    SNMPv2c relies on a community string sent in clear text. SNMPv3 adds the User-based Security Model (RFC 3414) and defines three security levels (RFC 3411). noAuthNoPriv has neither authentication nor privacy. authNoPriv authenticates each message with a keyed hash but leaves the contents readable. authPriv authenticates and also encrypts (privacy), so only it satisfies a policy that needs both. On Cisco IOS this level is the ‘priv’ keyword on an SNMPv3 group, with users configured with auth and priv passwords. Sources: RFC 3411 and RFC 3414.

The security levels, decoded

noAuthNoPriv
The username must match; no hash and no encryption.
authNoPriv
Each message carries a hash that proves who sent it and that it was not altered; the contents stay readable.
authPriv
The hash plus encryption of the message contents.

The same levels on an IOS router

A read-only group at the encrypted level, one user, one trap receiver

snmp-server group NOC-RO v3 privsnmp-server user nms1 NOC-RO v3 auth sha Auth-Key-2026 priv aes 128 Priv-Key-2026snmp-server host 192.0.2.40 version 3 priv nms1snmp-server enable traps!show snmp usershow snmp group

priv on the group and host lines selects authPriv; auth would select authNoPriv. IOS does not print snmp-server user lines in the running configuration, so show snmp user is where you confirm the user exists.

Where SNMP sits in the topics

Both exam versions ask you to explain or describe what SNMP does in network operations: v1.1 topic 4.4 and v2.0 topic 5.4, per Cisco’s topic lists. It belongs to the management services in device management, NTP, SNMP, syslog and QoS, next to syslog severities and NTP.

SNMP proves who a polling station is. Who may log in to the device and change it is a separate question, answered by AAA servers and compared on TACACS+ vs RADIUS.

Related frames