hwSmartLinkFlushRecvLastTime

HUAWEI-PROTECTION-MIB · .1.3.6.1.4.1.2011.6.50.10.2

Object

Indicates the last time when the flush packet is received. 
The value format of this leaf is an 8-byte hexadecimal number. Among the eight bytes, the 
first and second bytes indicates the year, the third byte indicates the month, the fourth byte 
indicates the day, the fifth byte indicates the hour, the sixth byte indicates the minute, the 
seventh byte indicates 1/10 second and is fixedly filled with 0, and the eighth, ninth, and tenth 
bytes indicate the time zone. 
For example, if the time is 2010-2-8, 10:11:38 in GMT+ 8, the value is 0x07 0xDA 0x02 0x08 0x0A 0x0B 
0x26 0x00 0x2B 0x08 0x00.
Because the time range that can be identified by the device is from 1970-01-01 00:00 to 2099-12-31 23:59, 
the time set for this leaf must within this time range.
The first 8-byte hexadecimal value is 0, it indicates invalid value.

Context

MIB
HUAWEI-PROTECTION-MIB
OID
.1.3.6.1.4.1.2011.6.50.10.2
Type
scalar
Access
readonly
Status
current
Parent
hwSmartLinkFlushRecvStatistics

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

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

Syntax

Source
SNMPv2-TCDateAndTime
Base type
OctetString
Display format
2d-1d-1d,1d:1d:1d.1d,1a1d:1d
Type Description
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
  8       9    direction from UTC        '+' / '-'
  9      10    hours from UTC*           0..13
 10      11    minutes from UTC          0..59
          
* Notes:
- the value of year is in network-byte order
- daylight saving time in New Zealand is +13
          
For example, Tuesday May 26, 1992 at 1:30:15 PM EDT would be
displayed as:
          
                 1992-5-26,13:30:15.0,-4:0
          
Note that if only local time is known, then timezone
information (fields 8-10) is not present.

Values & Constraints

Type Constraints
range: 8 range: 11