timeDateFormat
CISCO-DMN-DSG-TIME-MIB ·
.1.3.6.1.4.1.1429.2.2.5.23.1.2
Object
scalar r/w
Enumeration
Date format to be used to display the date.
Context
- MIB
- CISCO-DMN-DSG-TIME-MIB
- OID
.1.3.6.1.4.1.1429.2.2.5.23.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- timeInfo
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 'CISCO-DMN-DSG-TIME-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-DMN-DSG-TIME-MIB::timeDateFormat.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-DMN-DSG-TIME-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-DMN-DSG-TIME-MIB::timeDateFormat'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | yyyymmdd |
2 | ddmmyyyy |
3 | mmddyyyy |