rtcManualTime
MS-SWITCH30-MIB ·
.1.3.6.1.4.1.3181.10.3.15.4
Object
scalar r/w
OctetString
On readout this entry contains the local date and time information. Writing to this entry sets the the date and time information of the device manually. Used format is 'DD.MM.YYYY HH:MM:SS'
Context
- MIB
- MS-SWITCH30-MIB
- OID
.1.3.6.1.4.1.3181.10.3.15.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- rtc
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 'MS-SWITCH30-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MS-SWITCH30-MIB::rtcManualTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MS-SWITCH30-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MS-SWITCH30-MIB::rtcManualTime'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 25-25