genEquipRealTimeandDate
MWRM-UNIT-MIB ·
.1.3.6.1.4.1.2281.10.1.1.2
Object
scalar r/w
OctetString
This parameter specifies the real time and date
Format 'YYYY-MM-DD,HH:MM:SS' (Hexadecimal).
A date-time specification:
field octets contents range
----- ------ -------- -----
1 1-2 year 0..65536
2 3 month 1..12
3 4 day 1..31
4 5 hour 0..23
5 6 minutes 0..59
6 7 seconds 0..60
(use 60 for leap-second)
7 8 deci-seconds 0..9
For example, Tuesday May 26, 1992 at 1:30:15 PM EDT
would be displayed as: 07 c8 05 1a 0d 1e 0f 00
(1992 -5 -26, 13:30:15 )
Context
- MIB
- MWRM-UNIT-MIB
- OID
.1.3.6.1.4.1.2281.10.1.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- genEquipUnitInfo
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 'MWRM-UNIT-MIB' -M '/opt/observium/mibs/ceragon:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MWRM-UNIT-MIB::genEquipRealTimeandDate.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MWRM-UNIT-MIB' -M '/opt/observium/mibs/ceragon:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MWRM-UNIT-MIB::genEquipRealTimeandDate'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 8-8