ucdDemoResetKeys
UCD-DEMO-MIB ·
.1.3.6.1.4.1.2021.14.1.1.1
Object
scalar r/w
Integer32
A set of value 1 to this object resets the
demonstration user's auth and priv keys to the
keys based on the P->Ku->Kul transformation of the
value of the ucdDemoPasspharse object.
Values other than 1 are ignored.
Context
- MIB
- UCD-DEMO-MIB
- OID
.1.3.6.1.4.1.2021.14.1.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ucdDemoPublic
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'UCD-DEMO-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'udp:<hostname>:161' 'UCD-DEMO-MIB::ucdDemoResetKeys.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'UCD-DEMO-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'UCD-DEMO-MIB::ucdDemoResetKeys'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647