hwPtpLocalSourceLocalPriority
HUAWEI-CLK-MIB ·
.1.3.6.1.4.1.2011.6.25.1.3.49
Object
In T-BC mode, the local priority is configured to calculate the optimum master clock.
The smaller the value, the higher the priority.
Range: 1-255
Default: 128
This attribute is invalid in BC mode.
Context
- MIB
- HUAWEI-CLK-MIB
- OID
.1.3.6.1.4.1.2011.6.25.1.3.49- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwSystemClockManagePara
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::hwPtpLocalSourceLocalPriority.0'
More examples
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::hwPtpLocalSourceLocalPriority'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647