hw1588ClkPriority
HUAWEI-CLK-MIB ·
.1.3.6.1.4.1.2011.6.25.1.5.1.3
Object
column r/w
Integer32
Clock 1588 source priority. The priority ranges from 0 to 9 in a descending order.If the value is 255 in the get operation, it indicates that the priority of the ptp source isn't configured.
Context
- MIB
- HUAWEI-CLK-MIB
- OID
.1.3.6.1.4.1.2011.6.25.1.5.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwClock1588ManageEntry
Net-SNMP examples
How SNMP and these commands workWalk 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::hw1588ClkPriority'
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::hw1588ClkPriority.<hw1588ClkInIndex>'
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::hw1588ClkPriority'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-9
range: 255-255