hwCurMasterKey
HUAWEI-MASTERKEY-MIB ·
.1.3.6.1.4.1.2011.5.25.346.3.2
Object
scalar r/w
OctetString
The value of this object identifies the current master key this object is used to set master key, the read length is 0.
Context
- MIB
- HUAWEI-MASTERKEY-MIB
- OID
.1.3.6.1.4.1.2011.5.25.346.3.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwSetMasterKey
- Groups
- 1
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 'HUAWEI-MASTERKEY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MASTERKEY-MIB::hwCurMasterKey.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MASTERKEY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MASTERKEY-MIB::hwCurMasterKey'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-32
Conformance
Member of