ciscoTsSysCurTime
CISCO-TS-STACK-MIB ·
.1.3.6.1.4.1.9.5.32.1.1.4
Object
scalar mandatory
r/w
OctetString
Current time at the switch. To set the time use the format yyyy mm dd hh mm ss. All fields are required. Setting this object will reset the time in all the switches in the stack to the new value.
Context
- MIB
- CISCO-TS-STACK-MIB
- OID
.1.3.6.1.4.1.9.5.32.1.1.4- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- ciscoTsConfig
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-TS-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-TS-STACK-MIB::ciscoTsSysCurTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-TS-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-TS-STACK-MIB::ciscoTsSysCurTime'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-128