hwNtpMulticastServerGenVersion
HUAWEI-NTP-MIB ·
.1.3.6.1.4.1.2011.6.4.2.21.1.4
Object
column r/w
Integer32
Indicates the NTP protocol version.
Range: 1-4 for IPv4 server
4 for IPv6 server (IPv6 supports only version 4)
Default: 3 for IPv4 server
4 for IPv6 server
The protocol of a later version is compatible with an earlier version,
but an earlier version is not compatible with a later version.
Context
- MIB
- HUAWEI-NTP-MIB
- OID
.1.3.6.1.4.1.2011.6.4.2.21.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwNtpMulticastServerGenEntry
- Groups
- 1
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::hwNtpMulticastServerGenVersion'
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::hwNtpMulticastServerGenVersion.<hwNtpMulticastServerGenIfName>.<hwNtpMulticastServerGenAddressType>.<hwNtpMulticastServerGenAddr>'
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::hwNtpMulticastServerGenVersion'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-4
Conformance
Member of