juniNtpClientPacketSourceIfIndex
Juniper-System-Clock-MIB ·
.1.3.6.1.4.1.4874.2.2.56.2.2.3
Object
scalar r/w
Integer32
When the NTP client sends an NTP packet, the source IP address is
normally set to the address of the interface through which the NTP
packet is sent.
Sets all the outgoing NTP packets' source ifIndex to one specific
ifIndex on the NTP client from which the source ifIndex is taken. This
ifIndex will be the index of the IP interface as NTP is IP/UDP based.
If the value is zero, it means no interface has configured.
Context
- MIB
- Juniper-System-Clock-MIB
- OID
.1.3.6.1.4.1.4874.2.2.56.2.2.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- juniNtpClient
- 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::juniNtpClientPacketSourceIfIndex.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::juniNtpClientPacketSourceIfIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647
Conformance
Member of