hwNtpUniPeerPreempt
HUAWEI-NTP-MIB ·
.1.3.6.1.4.1.2011.6.4.2.16.1.12
Object
column r/w
Enumeration
Indicates the peer can be preempted. Options: 1. enable(1) -indicates that the peer can be preempted 2. disable(2) -indicates that the peer cannot be preempted Default: disable(2)
Context
- MIB
- HUAWEI-NTP-MIB
- OID
.1.3.6.1.4.1.2011.6.4.2.16.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwNtpUniPeerEntry
- 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::hwNtpUniPeerPreempt'
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::hwNtpUniPeerPreempt.<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::hwNtpUniPeerPreempt'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |
Conformance
Member of