hwSetExportKey
HUAWEI-MASTERKEY-MIB ·
.1.3.6.1.4.1.2011.5.25.346.7
Object
scalar r/w
OctetString
The value of this object identifies the new export key this object is used to set export key, the read length is 0. The master key value is a string of 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.7- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwMasterKey
- 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::hwSetExportKey.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::hwSetExportKey'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-0
range: 32-32
Conformance
Member of