hwTimeStampMode

HUAWEI-TIMELOCALIZATION-MIB · .1.3.6.1.4.1.2011.6.66.2.1

Object

scalar r/w Enumeration
The time information in the trap and syslog uses the formats of the time stamp.
The time stamp has two formats: local(1) and utc(2).
Options:
1. local(1) -indicates that the time stamp uses the local time of the node.
2. utc(2)   -indicates that the time stamp uses the UTC(Universal Time Coordinated) time.
Default:utc

Context

MIB
HUAWEI-TIMELOCALIZATION-MIB
OID
.1.3.6.1.4.1.2011.6.66.2.1
Type
scalar
Access
readwrite
Status
current
Parent
hwTimeStamp

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-TIMELOCALIZATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-TIMELOCALIZATION-MIB::hwTimeStampMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-TIMELOCALIZATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-TIMELOCALIZATION-MIB::hwTimeStampMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1local
2utc