hh3cNTPSysStratum
HH3C-NTP-MIB ·
.1.3.6.1.4.1.25506.8.22.1.1.2
Object
scalar Integer32
This is an eight-bit integer indicating the stratum level of the local clock, with values defined as follows: 0, unspecified 1, primary reference (e.g.,, radio clock) 2-255, secondary reference (via NTP)
Context
- MIB
- HH3C-NTP-MIB
- OID
.1.3.6.1.4.1.25506.8.22.1.1.2- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hh3cNTPSystemMIBObjects
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-NTP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-NTP-MIB::hh3cNTPSysStratum.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-NTP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-NTP-MIB::hh3cNTPSysStratum'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-16