hh3cSysLocalClockString2
HH3C-SYS-MAN-MIB ·
.1.3.6.1.4.1.25506.2.3.1.1.5
Object
scalar r/w
OctetString
This node gives the current local time of the system. For example, 1:30:15 on Tuesday, May 26th, 2002 will be displayed as: 2002/05/26/01/30/15. 2002/5/26/1/30/15 or 2002/05/26/01/30/15 will be applied in a write operation.
Context
- MIB
- HH3C-SYS-MAN-MIB
- OID
.1.3.6.1.4.1.25506.2.3.1.1.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hh3cSysClock
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 'HH3C-SYS-MAN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-SYS-MAN-MIB::hh3cSysLocalClockString2.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-SYS-MAN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-SYS-MAN-MIB::hh3cSysLocalClockString2'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 14-19