zxAnSysNtpEnable
ZTE-AN-SYS-MIB ·
.1.3.6.1.4.1.3902.1015.1.1.101.4.1
Object
scalar r/w
Enumeration
Enable/disable NTP in this system.
Context
- MIB
- ZTE-AN-SYS-MIB
- OID
.1.3.6.1.4.1.3902.1015.1.1.101.4.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- zxAnSysNtpMgmt
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 'ZTE-AN-SYS-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SYS-MIB::zxAnSysNtpEnable.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-SYS-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-SYS-MIB::zxAnSysNtpEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |