usmUserStorageType

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

Object

The storage type for this conceptual row.
              
Conceptual rows having the value 'permanent' must
allow write-access at a minimum to:
              
- usmUserAuthKeyChange, usmUserOwnAuthKeyChange
  and usmUserPublic for a user who employs
  authentication, and
- usmUserPrivKeyChange, usmUserOwnPrivKeyChange
  and usmUserPublic for a user who employs
  privacy.
              
Note that any user who employs authentication or
privacy must allow its secret(s) to be updated and
thus cannot be 'readOnly'.
              
If an initial set operation tries to set the value to
'readOnly' for a user who employs authentication or
privacy, then an 'inconsistentValue' error must be
returned.  Note that if the value has been previously
set (implicit or explicit) to any value, then the rules
as defined in the StorageType Textual Convention apply.
              
It is an implementation issue to decide if a SET for
a readOnly or permanent row is accepted at all. In some
contexts this may make sense, in others it may not. If
a SET for a readOnly or permanent row is not accepted
at all, then a 'wrongValue' error must be returned.

Context

MIB
SNMP-USER-BASED-SM-MIB
OID
.1.3.6.1.6.3.15.1.2.2.1.12
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::usmUserStorageType'
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::usmUserStorageType.<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::usmUserStorageType'

Syntax

Source
SNMPv2-TCStorageType
Base type
Enumeration
Type 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 permanent(4)
can be changed but not deleted.  A row which is readOnly(5)
cannot be changed nor deleted.
          
If the value of an object with this syntax is either
permanent(4) or readOnly(5), it cannot be written.
Conversely, if the value is either other(1), volatile(2) or
nonVolatile(3), it cannot be modified to be permanent(4) or
readOnly(5).  (All illegal modifications result in a
'wrongValue' error.)
          
Every usage of this textual convention is required to
specify the columnar objects which a permanent(4) row must
at a minimum allow to be writable.

Values & Constraints

Type Values
1other
2volatile
3nonVolatile
4permanent
5readOnly

Conformance