hwClkInPostion

HUAWEI-CLK-MIB · .1.3.6.1.4.1.2011.6.25.1.1.1.2

Object

column r/w SNMPv2-SMIInteger32
The ifIndex of physical position of clock source. If the clock source
isn't a sysline clock, the value will be 0xFFFFFFFFFFFFFF.
The first byte indicates the NO. of CESoP index.
The second byte indicates the NO. of frame,
the third byte indicates the NO. of slot and
the lowest byte indicates the port ID.
The following shows how to use parameter during the get or set operation:
0x 01, 00,00,00  Cesop ID;     0~1
0x 02, 00,00,00  System clock as an external clock
0x 03, 00,00,00  1588 clock as an system clock
0x 00, FF,00,00  Frame ID;     0~255
0x 00, 00,FF,00  Slot  ID;     0~255
0x 00, 00,00,FF  Port  ID;     0~255

Context

MIB
HUAWEI-CLK-MIB
OID
.1.3.6.1.4.1.2011.6.25.1.1.1.2
Type
column
Access
readwrite
Status
current
Parent
hwClockInManageEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CLK-MIB::hwClkInPostion'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CLK-MIB::hwClkInPostion.<hwClkInIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-CLK-MIB::hwClkInPostion'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647