SNMP-USER-BASED-SM-MIB Table View
Table-centric layout grouping table, row, and column objects.
Tables
1
Rows
1
Columns
13
usmUserTable
table.1.3.6.1.6.3.15.1.2.2
·
1 row entry
·
13 columns
Uses the versa variant from
Command help
/opt/observium/mibs/versa.
Walk usmUserTable
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'SNMP-USER-BASED-SM-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMP-USER-BASED-SM-MIB::usmUserTable'
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.
A user configured in the SNMP engine's Local
Configuration Datastore (LCD) for the User-based
Security Model.
Configuration Datastore (LCD) for the User-based
Security Model.
Indexes
| Column | Syntax | OID | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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 … |
SNMP-FRAMEWORK-MIBSnmpEngineID Type Constraints: range: 5..32 |
.1.3.6.1.6.3.15.1.2.2.1.1 |
||||||||||||
|
A human readable string representing the name of
the user. This is the (User-based Security) Model dependent security ID. |
OctetString Constraints: range: 1-32 |
.1.3.6.1.6.3.15.1.2.2.1.2 |
||||||||||||
|
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 … |
SNMP-FRAMEWORK-MIBSnmpAdminString Type Constraints: range: 0..255 |
.1.3.6.1.6.3.15.1.2.2.1.3 |
||||||||||||
|
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 th… |
SNMPv2-TCRowPointerr/w Description: Represents a pointer to a conceptual row. The value is the name of the instance of the first accessible columnar object in the conceptual row. For example, ifIndex.3 would point to the 3rd row in the ifTable… |
.1.3.6.1.6.3.15.1.2.2.1.4 |
||||||||||||
|
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 … |
SNMPv2-TCAutonomousTyper/w Description: Represents an independently extensible type identification value. It may, for example, indicate a particular sub-tree with further MIB definitions, or define a particular type of protocol or hardware. |
.1.3.6.1.6.3.15.1.2.2.1.5 |
||||||||||||
|
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. … |
KeyChanger/w | .1.3.6.1.6.3.15.1.2.2.1.6 |
||||||||||||
|
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 target… |
KeyChanger/w | .1.3.6.1.6.3.15.1.2.2.1.7 |
||||||||||||
|
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. … |
SNMPv2-TCAutonomousTyper/w Description: Represents an independently extensible type identification value. It may, for example, indicate a particular sub-tree with further MIB definitions, or define a particular type of protocol or hardware. |
.1.3.6.1.6.3.15.1.2.2.1.8 |
||||||||||||
|
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. … |
KeyChanger/w | .1.3.6.1.6.3.15.1.2.2.1.9 |
||||||||||||
|
Behaves exactly as usmUserPrivKeyChange, 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 … |
KeyChanger/w | .1.3.6.1.6.3.15.1.2.2.1.10 |
||||||||||||
|
A publicly-readable value which can be written as part
of the procedure for changing a user's secret authentication and/or privacy key, and later read to determine whether the change of the secret was effected. |
OctetStringr/w Constraints: range: 0-32 |
.1.3.6.1.6.3.15.1.2.2.1.11 |
||||||||||||
|
The storage type for this conceptual row.
Conceptual rows having the value 'permanent' must allow write-access at a minimum to: - usmUserAuthKeyChange, usmUserOwnAuthKeyChange and usmUser… |
SNMPv2-TCStorageTyper/w Type Values:
Description: Describes the memory realization of a conceptual row. A row which is volatile(2) is lost upon reboot. A row which is either nonVolatile(3), permanent(4) or readOnly(5), is backed up by stable storage. A row which is … |
.1.3.6.1.6.3.15.1.2.2.1.12 |
||||||||||||
|
The status of this conceptual row.
Until instances of all corresponding columns are appropriately configured, the value of the corresponding instance of the usmUserStatus column is 'notReady'. … |
SNMPv2-TCRowStatusr/w Type Values:
Description: The RowStatus textual convention is used to manage the creation and deletion of conceptual rows, and is used as the value of the SYNTAX clause for the status column of a conceptual row (as described in Section 7.7.1 of … |
.1.3.6.1.6.3.15.1.2.2.1.13 |