juniNtpServerStratumNumber
Juniper-System-Clock-MIB ·
.1.3.6.1.4.1.4874.2.2.56.2.3.1
Object
scalar r/w
Integer32
Configure the stratum number (level) of the NTP server. Due to one system clock, setting the stratum number have a effect of setting all the NTP servers' stratum to one stratum number(level) on the system.
Context
- MIB
- Juniper-System-Clock-MIB
- OID
.1.3.6.1.4.1.4874.2.2.56.2.3.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- juniNtpServer
- Groups
- 1
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 'Juniper-System-Clock-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-System-Clock-MIB::juniNtpServerStratumNumber.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-System-Clock-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-System-Clock-MIB::juniNtpServerStratumNumber'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-255
Conformance
Member of