srvIpAddrAndVersion
Es2952-MIB ·
.1.3.6.1.4.1.3902.15.2.11.14.3
Object
scalar r/w
OctetString
the format of this item is xx.xx.xx.xx-x. Among this string, the first segment represents ntp server ipAddress, the value 0.0.0.0 is invalid; the second segment represents ntp version , only 1 or 2 or 3 valid. eg: 192.168.2.8-3.
Context
- MIB
- Es2952-MIB
- OID
.1.3.6.1.4.1.3902.15.2.11.14.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ntp
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 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Es2952-MIB::srvIpAddrAndVersion.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Es2952-MIB::srvIpAddrAndVersion'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.