Home/Catalog/SNMP-USER-BASED-SM-MIB

SNMP-USER-BASED-SM-MIB

AI MIB Summary

The SNMP-USER-BASED-SM-MIB defines the management information objects required to configure and monitor the User-based Security Model (USM) within SNMPv3, specifically governing authentication parameters, privacy protocols, and user access control lists. It enables administrators to manage security associations, including authentication and encryption keys, to ensure secure data exchange between network management stations and SNMP agents.

The management information definitions for the SNMP User-based Security Model. Copyright (C) The Internet Society (2002). This version of this MIB module is part of RFC 3414; see the RFC itself for full legal notices.
Main OID:
snmpUsmMIB.1.3.6.1.6.3.15
34
Objects
Active
Status
4
Dependencies

Imported Objects

Objects

34 total
Object Name
usmNoAuthProtocol
OBJECT IDENTIFIER
.1.3.6.1.6.3.10.1.1.1
usmHMACMD5AuthProtocol
OBJECT IDENTIFIER
.1.3.6.1.6.3.10.1.1.2
usmHMACSHAAuthProtocol
OBJECT IDENTIFIER
.1.3.6.1.6.3.10.1.1.3
usmNoPrivProtocol
OBJECT IDENTIFIER
.1.3.6.1.6.3.10.1.2.1
usmDESPrivProtocol
OBJECT IDENTIFIER
.1.3.6.1.6.3.10.1.2.2
snmpUsmMIB
MODULE-IDENTITY
.1.3.6.1.6.3.15
usmMIBObjects
OBJECT IDENTIFIER
.1.3.6.1.6.3.15.1
usmStats
OBJECT IDENTIFIER
.1.3.6.1.6.3.15.1.1
usmStatsUnsupportedSecLevelsro
Counter32
.1.3.6.1.6.3.15.1.1.1
usmStatsNotInTimeWindowsro
Counter32
.1.3.6.1.6.3.15.1.1.2
usmStatsUnknownUserNamesro
Counter32
.1.3.6.1.6.3.15.1.1.3
usmStatsUnknownEngineIDsro
Counter32
.1.3.6.1.6.3.15.1.1.4
usmStatsWrongDigestsro
Counter32
.1.3.6.1.6.3.15.1.1.5
usmStatsDecryptionErrorsro
Counter32
.1.3.6.1.6.3.15.1.1.6
usmUser
OBJECT IDENTIFIER
.1.3.6.1.6.3.15.1.2
usmUserSpinLockrw
TestAndIncr (SNMPv2-TC)
.1.3.6.1.6.3.15.1.2.1
usmUserTable
SEQUENCE OF UsmUserEntry
.1.3.6.1.6.3.15.1.2.2
usmUserEntry
UsmUserEntry
.1.3.6.1.6.3.15.1.2.2.1
usmUserEngineID
SnmpEngineID (SNMP-FRAMEWORK-MIB)
.1.3.6.1.6.3.15.1.2.2.1.1
usmUserName
SnmpAdminString
.1.3.6.1.6.3.15.1.2.2.1.2
usmUserSecurityNamero
SnmpAdminString (SNMP-FRAMEWORK-MIB)
.1.3.6.1.6.3.15.1.2.2.1.3
usmUserCloneFromrw
RowPointer (SNMPv2-TC)
.1.3.6.1.6.3.15.1.2.2.1.4
usmUserAuthProtocolrw
AutonomousType (SNMPv2-TC)
.1.3.6.1.6.3.15.1.2.2.1.5
usmUserAuthKeyChangerw
KeyChange -- typically
.1.3.6.1.6.3.15.1.2.2.1.6
usmUserOwnAuthKeyChangerw
KeyChange -- typically
.1.3.6.1.6.3.15.1.2.2.1.7
usmUserPrivProtocolrw
AutonomousType (SNMPv2-TC)
.1.3.6.1.6.3.15.1.2.2.1.8
usmUserPrivKeyChangerw
KeyChange -- typically
.1.3.6.1.6.3.15.1.2.2.1.9
usmUserOwnPrivKeyChangerw
KeyChange -- typically
.1.3.6.1.6.3.15.1.2.2.1.10
usmUserPublicrw
OCTET STRING
.1.3.6.1.6.3.15.1.2.2.1.11
usmUserStorageTyperw
StorageType (SNMPv2-TC)
.1.3.6.1.6.3.15.1.2.2.1.12
usmUserStatusrw
RowStatus (SNMPv2-TC)
.1.3.6.1.6.3.15.1.2.2.1.13
usmMIBConformance
OBJECT IDENTIFIER
.1.3.6.1.6.3.15.2
usmMIBCompliances
OBJECT IDENTIFIER
.1.3.6.1.6.3.15.2.1
usmMIBGroups
OBJECT IDENTIFIER
.1.3.6.1.6.3.15.2.2

SNMP-USER-BASED-SM-MIB Technical Reference Overview

The SNMP-USER-BASED-SM-MIB SNMP MIB module published by Default defines 34 managed OID objects, including 20 scalar/column metrics, 1 SNMP tables, and 0 trap/notification events anchored at base OID .1.3.6.1.6.3.15. Key tabular structures include usmUserTable.

Key OID Definitions in SNMP-USER-BASED-SM-MIB

snmpUsmMIBMODULE-IDENTITYnot-accessible
.1.3.6.1.6.3.15

The management information definitions for the SNMP User-based Security Model. Copyright (C) The Internet Society (2002). This version of this MIB module is part of RFC 3414; see the RFC itself for full legal notices.

usmUserTableSEQUENCEnot-accessible
.1.3.6.1.6.3.15.1.2.2

The table of users configured in the SNMP engine's Local Configuration Datastore (LCD). To create a new user (i.e., to instantiate a new conceptual row in this table), it is recommended to follow this procedure: 1) GET(usmUserSpinLock.0) and save in sValue. 2) SET(usmUserSpinLock.0=sValue, usmUserCloneFrom=templateUser, usmUserStatus=createAndWait) You should use a template user to clone from which has the proper auth/priv protocol defined. If the new user is to use privacy: 3) generate the keyChange value based on the secret privKey of the clone-from user and the secret key to be used for the new user. Let us call this pkcValue. 4) GET(usmUserSpinLock.0) and save in sValue. 5) SET(usmUserSpinLock.0=sValue, usmUserPrivKeyChange=pkcValue usmUserPublic=randomValue1) 6) GET(usmUserPulic) and check it has randomValue1. If not, repeat steps 4-6. If the new user will never use privacy: 7) SET(usmUserPrivProtocol=usmNoPrivProtocol) If the new user is to use authentication: 8) generate the keyChange value based on the secret authKey of the clone-from user and the secret key to be used for the new user. Let us call this akcValue. 9) GET(usmUserSpinLock.0) and save in sValue. 10) SET(usmUserSpinLock.0=sValue, usmUserAuthKeyChange=akcValue usmUserPublic=randomValue2) 11) GET(usmUserPulic) and check it has randomValue2. If not, repeat steps 9-11. If the new user will never use authentication: 12) SET(usmUserAuthProtocol=usmNoAuthProtocol) Finally, activate the new user: 13) SET(usmUserStatus=active) The new user should now be available and ready to be used for SNMPv3 communication. Note however that access to MIB data must be provided via configuration of the SNMP-VIEW-BASED-ACM-MIB. The use of usmUserSpinlock is to avoid conflicts with another SNMP command generator application which may also be acting on the usmUserTable.

usmStatsUnsupportedSecLevelsCounter32read-only
.1.3.6.1.6.3.15.1.1.1

The total number of packets received by the SNMP engine which were dropped because they requested a securityLevel that was unknown to the SNMP engine or otherwise unavailable.

usmStatsNotInTimeWindowsCounter32read-only
.1.3.6.1.6.3.15.1.1.2

The total number of packets received by the SNMP engine which were dropped because they appeared outside of the authoritative SNMP engine's window.

usmStatsUnknownUserNamesCounter32read-only
.1.3.6.1.6.3.15.1.1.3

The total number of packets received by the SNMP engine which were dropped because they referenced a user that was not known to the SNMP engine.

usmStatsUnknownEngineIDsCounter32read-only
.1.3.6.1.6.3.15.1.1.4

The total number of packets received by the SNMP engine which were dropped because they referenced an snmpEngineID that was not known to the SNMP engine.

usmStatsWrongDigestsCounter32read-only
.1.3.6.1.6.3.15.1.1.5

The total number of packets received by the SNMP engine which were dropped because they didn't contain the expected digest value.

usmStatsDecryptionErrorsCounter32read-only
.1.3.6.1.6.3.15.1.1.6

The total number of packets received by the SNMP engine which were dropped because they could not be decrypted.

usmUserSpinLockTestAndIncrread-write
.1.3.6.1.6.3.15.1.2.1

An advisory lock used to allow several cooperating Command Generator Applications to coordinate their use of facilities to alter secrets in the usmUserTable.

usmNoAuthProtocolOBJECTnot-accessible
.1.3.6.1.6.3.10.1.1.1

No Authentication Protocol.

usmHMACMD5AuthProtocolOBJECTnot-accessible
.1.3.6.1.6.3.10.1.1.2

The HMAC-MD5-96 Digest Authentication Protocol.

usmHMACSHAAuthProtocolOBJECTnot-accessible
.1.3.6.1.6.3.10.1.1.3

The HMAC-SHA-96 Digest Authentication Protocol.

usmNoPrivProtocolOBJECTnot-accessible
.1.3.6.1.6.3.10.1.2.1

No Privacy Protocol.

usmDESPrivProtocolOBJECTnot-accessible
.1.3.6.1.6.3.10.1.2.2

The CBC-DES Symmetric Encryption Protocol.

usmUserEntryUsmUserEntrynot-accessible
.1.3.6.1.6.3.15.1.2.2.1

A user configured in the SNMP engine's Local Configuration Datastore (LCD) for the User-based Security Model.

usmUserEngineIDSnmpEngineIDnot-accessible
.1.3.6.1.6.3.15.1.2.2.1.1

An SNMP engine's administratively-unique identifier. In a simple agent, this value is always that agent's own snmpEngineID value. The value can also take the value of the snmpEngineID of a remote SNMP engine with which this user can communicate.

usmUserNameSnmpAdminStringnot-accessible
.1.3.6.1.6.3.15.1.2.2.1.2

A human readable string representing the name of the user. This is the (User-based Security) Model dependent security ID.

usmUserSecurityNameSnmpAdminStringread-only
.1.3.6.1.6.3.15.1.2.2.1.3

A human readable string representing the user in Security Model independent format. The default transformation of the User-based Security Model dependent security ID to the securityName and vice versa is the identity function so that the securityName is the same as the userName.

usmUserCloneFromRowPointerread-create
.1.3.6.1.6.3.15.1.2.2.1.4

A pointer to another conceptual row in this usmUserTable. The user in this other conceptual row is called the clone-from user. When a new user is created (i.e., a new conceptual row is instantiated in this table), the privacy and authentication parameters of the new user must be cloned from its clone-from user. These parameters are: - authentication protocol (usmUserAuthProtocol) - privacy protocol (usmUserPrivProtocol) They will be copied regardless of what the current value is. Cloning also causes the initial values of the secret authentication key (authKey) and the secret encryption key (privKey) of the new user to be set to the same values as the corresponding secrets of the clone-from user to allow the KeyChange process to occur as required during user creation. The first time an instance of this object is set by a management operation (either at or after its instantiation), the cloning process is invoked. Subsequent writes are successful but invoke no action to be taken by the receiver. The cloning process fails with an 'inconsistentName' error if the conceptual row representing the clone-from user does not exist or is not in an active state when the cloning process is invoked. When this object is read, the ZeroDotZero OID is returned.

usmUserAuthProtocolAutonomousTyperead-create
.1.3.6.1.6.3.15.1.2.2.1.5

An indication of whether messages sent on behalf of this user to/from the SNMP engine identified by usmUserEngineID, can be authenticated, and if so, the type of authentication protocol which is used. An instance of this object is created concurrently with the creation of any other object instance for the same user (i.e., as part of the processing of the set operation which creates the first object instance in the same conceptual row). If an initial set operation (i.e. at row creation time) tries to set a value for an unknown or unsupported protocol, then a 'wrongValue' error must be returned. The value will be overwritten/set when a set operation is performed on the corresponding instance of usmUserCloneFrom. Once instantiated, the value of such an instance of this object can only be changed via a set operation to the value of the usmNoAuthProtocol. If a set operation tries to change the value of an existing instance of this object to any value other than usmNoAuthProtocol, then an 'inconsistentValue' error must be returned. If a set operation tries to set the value to the usmNoAuthProtocol while the usmUserPrivProtocol value in the same row is not equal to usmNoPrivProtocol, then an 'inconsistentValue' error must be returned. That means that an SNMP command generator application must first ensure that the usmUserPrivProtocol is set to the usmNoPrivProtocol value before it can set the usmUserAuthProtocol value to usmNoAuthProtocol.

usmUserAuthKeyChangeKeyChangeread-create
.1.3.6.1.6.3.15.1.2.2.1.6

An object, which when modified, causes the secret authentication key used for messages sent on behalf of this user to/from the SNMP engine identified by usmUserEngineID, to be modified via a one-way function. The associated protocol is the usmUserAuthProtocol. The associated secret key is the user's secret authentication key (authKey). The associated hash algorithm is the algorithm used by the user's usmUserAuthProtocol. When creating a new user, it is an 'inconsistentName' error for a set operation to refer to this object unless it is previously or concurrently initialized through a set operation on the corresponding instance of usmUserCloneFrom. When the value of the corresponding usmUserAuthProtocol is usmNoAuthProtocol, then a set is successful, but effectively is a no-op. When this object is read, the zero-length (empty) string is returned. The recommended way to do a key change is as follows: 1) GET(usmUserSpinLock.0) and save in sValue. 2) generate the keyChange value based on the old (existing) secret key and the new secret key, let us call this kcValue. If you do the key change on behalf of another user: 3) SET(usmUserSpinLock.0=sValue, usmUserAuthKeyChange=kcValue usmUserPublic=randomValue) If you do the key change for yourself: 4) SET(usmUserSpinLock.0=sValue, usmUserOwnAuthKeyChange=kcValue usmUserPublic=randomValue) If you get a response with error-status of noError, then the SET succeeded and the new key is active. If you do not get a response, then you can issue a GET(usmUserPublic) and check if the value is equal to the randomValue you did send in the SET. If so, then the key change succeeded and the new key is active (probably the response got lost). If not, then the SET request probably never reached the target and so you can start over with the procedure above.

usmUserOwnAuthKeyChangeKeyChangeread-create
.1.3.6.1.6.3.15.1.2.2.1.7

Behaves exactly as usmUserAuthKeyChange, with one notable difference: in order for the set operation to succeed, the usmUserName of the operation requester must match the usmUserName that indexes the row which is targeted by this operation. In addition, the USM security model must be used for this operation. The idea here is that access to this column can be public, since it will only allow a user to change his own secret authentication key (authKey). Note that this can only be done once the row is active. When a set is received and the usmUserName of the requester is not the same as the umsUserName that indexes the row which is targeted by this operation, then a 'noAccess' error must be returned. When a set is received and the security model in use is not USM, then a 'noAccess' error must be returned.

usmUserPrivProtocolAutonomousTyperead-create
.1.3.6.1.6.3.15.1.2.2.1.8

An indication of whether messages sent on behalf of this user to/from the SNMP engine identified by usmUserEngineID, can be protected from disclosure, and if so, the type of privacy protocol which is used. An instance of this object is created concurrently with the creation of any other object instance for the same user (i.e., as part of the processing of the set operation which creates the first object instance in the same conceptual row). If an initial set operation (i.e. at row creation time) tries to set a value for an unknown or unsupported protocol, then a 'wrongValue' error must be returned. The value will be overwritten/set when a set operation is performed on the corresponding instance of usmUserCloneFrom. Once instantiated, the value of such an instance of this object can only be changed via a set operation to the value of the usmNoPrivProtocol. If a set operation tries to change the value of an existing instance of this object to any value other than usmNoPrivProtocol, then an 'inconsistentValue' error must be returned. Note that if any privacy protocol is used, then you must also use an authentication protocol. In other words, if usmUserPrivProtocol is set to anything else than usmNoPrivProtocol, then the corresponding instance of usmUserAuthProtocol cannot have a value of usmNoAuthProtocol. If it does, then an 'inconsistentValue' error must be returned.

usmUserPrivKeyChangeKeyChangeread-create
.1.3.6.1.6.3.15.1.2.2.1.9

An object, which when modified, causes the secret encryption key used for messages sent on behalf of this user to/from the SNMP engine identified by usmUserEngineID, to be modified via a one-way function. The associated protocol is the usmUserPrivProtocol. The associated secret key is the user's secret privacy key (privKey). The associated hash algorithm is the algorithm used by the user's usmUserAuthProtocol. When creating a new user, it is an 'inconsistentName' error for a set operation to refer to this object unless it is previously or concurrently initialized through a set operation on the corresponding instance of usmUserCloneFrom. When the value of the corresponding usmUserPrivProtocol is usmNoPrivProtocol, then a set is successful, but effectively is a no-op. When this object is read, the zero-length (empty) string is returned. See the description clause of usmUserAuthKeyChange for a recommended procedure to do a key change.

More MIBs from Default

Browse all DefaultMIBs →