hwNtpAuthKeyidPassword
HUAWEI-NTP-MIB ·
.1.3.6.1.4.1.2011.6.4.2.5.3.1.8
Object
column r/w
OctetString
Indicates MD5 or SHA256 or AESCMAC password key. The key must not contain the space character and '?' character. Reading this object always results in an OCTET STRING of length zero. Authentication may not be bypassed by reading the MIB object. hwNtpAuthKeyidType and hwNtpAuthKeyidPassword should be configured together for set operation.
Context
- MIB
- HUAWEI-NTP-MIB
- OID
.1.3.6.1.4.1.2011.6.4.2.5.3.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwNtpAuthenKeyEntry
- Groups
- 2
Net-SNMP examples
How SNMP and these commands workWalk 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 'HUAWEI-NTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-NTP-MIB::hwNtpAuthKeyidPassword'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-NTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-NTP-MIB::hwNtpAuthKeyidPassword.<hwNtpAuthKeyidNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-NTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-NTP-MIB::hwNtpAuthKeyidPassword'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-392
Conformance
Member of