hwNtpRefclockMasterIpaddr
HUAWEI-NTP-MIB ·
.1.3.6.1.4.1.2011.6.4.2.3.1.1
Object
column SNMPv2-SMIIpAddress
Indicates the IP address of the clock source. The format of the value is 127.127.1.u, where u ranges from 0 to 3. The default value of this leaf is 127.127.1.0.
Context
- MIB
- HUAWEI-NTP-MIB
- OID
.1.3.6.1.4.1.2011.6.4.2.3.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwNtpRefclockMasterEntry
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::hwNtpRefclockMasterIpaddr'
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::hwNtpRefclockMasterIpaddr.<hwNtpRefclockMasterIpaddr>'
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::hwNtpRefclockMasterIpaddr'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4