hwNewMasterKey
HUAWEI-MASTERKEY-MIB ·
.1.3.6.1.4.1.2011.5.25.346.3.1
Object
scalar r/w
OctetString
The value of this object identifies the new master key this object is used to set master key, the read length is 0. The master key value is a string of 20 to 32 characters and must be a combination of uppercase letters, lowercase letters, digits, and special characters. Because of the limitation of snmp protocol, some characters such as space can not be used.
Context
- MIB
- HUAWEI-MASTERKEY-MIB
- OID
.1.3.6.1.4.1.2011.5.25.346.3.1- 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::hwNewMasterKey.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::hwNewMasterKey'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-0
range: 20-32
Conformance
Member of