hwNTPServerIP

HUAWEI-NTP-MIB · h3c variant · .1.3.6.1.4.1.2011.5.25.22.1.1.19

Object

scalar r/w SNMPv2-SMIIpAddress
The NTP server ip address.  It must be a unicast address,
rather than a broadcast address, a multicast address or
the IP address of the local clock.  To delete a configured
NTP server ip address, please set hwNTPServerIP to 0.

Context

MIB
HUAWEI-NTP-MIB
OID
.1.3.6.1.4.1.2011.5.25.22.1.1.19
Type
scalar
Access
readwrite
Status
current
Parent
hwNTPSystemMIBObjects

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-NTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-NTP-MIB::hwNTPServerIP.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-NTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-NTP-MIB::hwNTPServerIP'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4