SNMPv3 Authentication
SNMPv3 authentication failures are a distinct category of problem from a plain timeout or a bad community string - SNMPv3's security model (see SNMP versions) has several more moving parts, any one of which being wrong can cause a request to fail, sometimes with a clear error and sometimes as a plain timeout depending on the specific mismatch.
Username
SNMPv3 authenticates individual users rather than a shared community string. A username that doesn't exist on the agent, or is misspelled/case-mismatched, will fail - usually without a specific "unknown user" error, since revealing that distinction would itself leak information useful to an attacker probing for valid usernames.
Authentication and privacy passwords
Depending on the security level in use (see SNMP versions for noAuthNoPriv/authNoPriv/authPriv), you may need both an authentication password and a separate privacy (encryption) password, and both have to match exactly what's configured on the agent for that user. These are easy to mix up, especially since many tools accept them as separate parameters that look superficially similar.
Protocol mismatches
Beyond the passwords themselves, both sides need to agree on which cryptographic algorithms are being used:
- Authentication protocol - commonly
MD5,SHA, or one of the newer SHA-2 variants. - Privacy protocol - commonly
DES(legacy, best avoided) orAES.
If your client is configured for SHA/AES but the agent's user was actually set up with MD5/DES, authentication fails even with an otherwise completely correct username and passwords - the specific combination has to match exactly on both ends.
Engine ID
SNMPv3 ties its cryptographic calculations to a specific engine ID - a unique identifier for the SNMP agent - which is part of how it protects against replay attacks. Some client tools need to discover or be explicitly given the correct engine ID before they can successfully authenticate, and a stale or incorrect engine ID (particularly after a device has been reset or reconfigured) can cause authentication to fail even when every other credential is correct.
Clock skew
Part of SNMPv3's replay protection is time-based, so a significant clock difference between the manager and the agent can cause otherwise valid requests to be rejected as expired or out of the acceptable time window. This is a less common cause than the ones above, but worth checking if everything else genuinely appears correct and requests are still being rejected.
Practical approach
Verify each piece independently rather than assuming: confirm the username exists on the agent, confirm both passwords, confirm both protocol choices match, and only then look at engine ID or clock skew if the more common causes have all been ruled out.