dsNTPMode
DASAN-SWITCH-MIB ·
.1.3.6.1.4.1.6296.9.1.1.2.17.1
Object
scalar r/w
Enumeration
The mode of Network Time Protocol..
Context
- MIB
- DASAN-SWITCH-MIB
- OID
.1.3.6.1.4.1.6296.9.1.1.2.17.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- dsNetworkTimeProtocolInfo
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 'DASAN-SWITCH-MIB' -M '/opt/observium/mibs/dasan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DASAN-SWITCH-MIB::dsNTPMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DASAN-SWITCH-MIB' -M '/opt/observium/mibs/dasan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DASAN-SWITCH-MIB::dsNTPMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ntp |
2 | sntp |
3 | disable |