hw1588ClkPtpPortLocalPriority
HUAWEI-CLK-MIB ·
.1.3.6.1.4.1.2011.6.25.1.10.1.31
Object
column r/w
Integer32
In T-BC mode, the local priority of the port is configured to calculate the optimum master clock.
The smaller the value, the higher the priority.
Range: 1-255
Default value: 128
This attribute is invalid in BC mode.
Invalid value: -1
Context
- MIB
- HUAWEI-CLK-MIB
- OID
.1.3.6.1.4.1.2011.6.25.1.10.1.31- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hw1588ClkPtpPortManageEntry
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::hw1588ClkPtpPortLocalPriority'
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::hw1588ClkPtpPortLocalPriority.<ifIndex>'
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::hw1588ClkPtpPortLocalPriority'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1--1
range: 1-255