Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

SNMPv3

Direct answer

SNMPv3 adds users with authentication (SHA) and encryption (AES); the authPriv security level gives both and is the recommended way to run SNMP.

When to use this

Use it when securing SNMP, or when SNMPv3 polls fail authentication.

First 30 seconds

1. SNMPv3 adds authentication and encryption (authPriv).

2. Use SHA and AES.

3. Users belong to groups with views.

4. Engine ID matters for users.

5. Disable v1/v2c where possible.

Operational verification

user (auth+priv) → group → view → access

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
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.

PlatformProtocol standard · Cisco IOS / IOS XE
Scope / prerequisiteUse it when securing SNMP, or when SNMPv3 polls fail authentication.
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.

4 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 Layered verification and original-test closure Verify boundary

SNMPv3 — Query one known OID with the intended authPriv/authNoPriv level, confirm a valid response and then query the application OID; document what the result shows versus agent/service reachability.

Step 2 Verification & troubleshooting Narrow the fault

1. Verify manager-to-agent routing and UDP 161.

2. Verify version, credentials/user, view and ACL.

3. Poll one known OID.

4. Verify notification destination and UDP 162.

5. Correlate device and manager logs.

Step 3 Observation → implication → next check Narrow the fault

SNMPv3 — If a request times out, show UDP reachability and agent listening first; if authentication errors appear, compare engine/user/security level; if auth succeeds but OID access fails, inspect view/VACM and object support.

Step 4 Common mistakes Narrow the fault
  • noAuthNoPriv users in production.
  • Engine ID change breaking users.
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
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • show snmp user — users, auth and priv protocols
  • show snmp group — security level
ReferenceHow it works1 section · depth on demand

Operational mechanics and ownership

SNMPv3 — SNMPv3 separates user-based security (authentication/privacy) from the SNMP request/response and view authorization. Engine ID, user keys and security level must line up with the target agent. The agent owns engine/time/user state and VACM/view authorization; network reachability only gets the request to UDP/161. Authentication success does not guarantee the requested OID is permitted.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

SNMPv3: users, security levels, authentication and encryption

The Catalyst 9300 SNMP guide lists three SNMPv3 security levels:

LevelMeaning
noAuthNoPrivUsername match only
authNoPrivAuthentication with MD5 or SHA
authPrivAuthentication plus DES, 3DES or AES encryption

snmp-server group maps users to views and sets the security level. snmp-server user adds a user to a group with its authentication and privacy passwords. The guide notes that SNMPv3 users don't appear in show running-config; use show snmp user.

C9300(config)# ip access-list standard SNMP-MANAGERS
C9300(config-std-nacl)# permit 10.10.50.0 0.0.0.255
C9300(config)# snmp-server view NMS-VIEW iso included
C9300(config)# snmp-server group NMS-RO v3 priv read NMS-VIEW access SNMP-MANAGERS
C9300(config)# snmp-server user nms01 NMS-RO v3 auth sha <auth-pass> priv aes 256 <priv-pass>
C9300(config)# snmp-server host 10.10.50.20 version 3 priv nms01
C9300# show snmp user
User name: nms01
Engine ID: 800000090300EC1D8B0A7B80
storage-type: nonvolatile        active
Authentication Protocol: SHA
Privacy Protocol: AES256
Group-name: NMS-RO
C9300# show snmp group

Choosing algorithms

ItemRecommendation
Security levelpriv (authPriv)
AuthenticationSHA (or SHA-2 variants where the release and NMS support them); avoid MD5
PrivacyAES 128 or 256; avoid DES
AccessACL on the group

Engine ID pitfalls

SNMPv3 keys are localised to the device's engine ID. If the engine ID changes (for example snmp-server engineID local configured differently, or a replacement device), existing users must be re-created, and the NMS may need to re-discover the device.

Troubleshooting

Symptom on the NMSCause
Unknown user nameUser missing or wrong group or engine ID
Authentication failureWrong auth password or algorithm
Decryption error / timeoutPrivacy algorithm or password mismatch
Timeout only from one NMSGroup ACL or firewall

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

SNMPv3 replaces community strings with named users, adds message authentication so data cannot be forged, and encrypts the payload so it cannot be read. The security level is chosen per group; authPriv (authentication plus encryption) should be the standard. Users are defined separately from the running configuration on Cisco devices, so they must be documented and recreated deliberately after device replacement.

SNMPv3 adds users with authentication and encryption:

LevelAuthEncryption
noAuthNoPrivNoNo
authNoPrivYes (SHA)No
authPrivYesYes (AES) — use this
snmp-server view NMS-VIEW iso included
snmp-server group NMS v3 priv read NMS-VIEW access SNMP-ACL
snmp-server user nms NMS v3 auth sha <authpass> priv aes 256 <privpass>
show snmp user
snmpwalk -v3 -l authPriv -u nms -a SHA -A <authpass> -x AES -X <privpass> 10.0.0.1 system

SNMPv3 users are not shown in show running-config (stored separately) — document them.

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 docProtocol standard + deployed implementation RFC 3411

Authoritative/upstream documentation reviewed for bounded claims in IP Services → SNMP → SNMPv3. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc3411.html · confidence 94%
Confirmation

Confirm action

Continue?