usmUserOwnPrivKeyChange

SNMP-USER-BASED-SM-MIB · versa variant · .1.3.6.1.6.3.15.1.2.2.1.10

Object

column r/w KeyChange
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 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 privacy key (privKey).
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.

Context

MIB
SNMP-USER-BASED-SM-MIB
OID
.1.3.6.1.6.3.15.1.2.2.1.10
Type
column
Access
readwrite
Status
current
Parent
usmUserEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/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::usmUserOwnPrivKeyChange'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -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::usmUserOwnPrivKeyChange.<usmUserEngineID>.<usmUserName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNMP-USER-BASED-SM-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNMP-USER-BASED-SM-MIB::usmUserOwnPrivKeyChange'

Syntax

Source
KeyChange
Base type
OctetString

Values & Constraints

No enumerated values or constraints recorded.

Conformance