hwNtpUniPeerAddress
HUAWEI-NTP-MIB ·
.1.3.6.1.4.1.2011.6.4.2.16.1.3
Object
column INET-ADDRESS-MIBInetAddress
Indicates the IP address of the remote peer. The IP address is the address of the host and cannot be a broadcast IP address, multicast IP address, IP address of the clock source or IP address of an interface on the local device. (Supports both IPv4 and IPv6).
Context
- MIB
- HUAWEI-NTP-MIB
- OID
.1.3.6.1.4.1.2011.6.4.2.16.1.3- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwNtpUniPeerEntry
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::hwNtpUniPeerAddress'
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::hwNtpUniPeerAddress.<hwNtpUniPeerVpnName>.<hwNtpUniPeerAddressType>.<hwNtpUniPeerAddress>'
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::hwNtpUniPeerAddress'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255