hwOntClkObjectPortPtpMsgFormat

HUAWEI-CLK-MIB · .1.3.6.1.4.1.2011.6.25.2.4.1.3

Object

column r/w Enumeration
PTP message encapsulation format,the default value is PTPETH(1).
Options:
1. ptpeth(1)  - indicates that the PTP message is encapsulated into an Ethernet packet.
2. ptpip(2)   - indicates that the PTP message is encapsulated into an IP packet.
3. default(5) - indicates that the ont clk discrete configurations revert back to default.
4. invalid(-1)- indicates that it is not be queried.

Context

MIB
HUAWEI-CLK-MIB
OID
.1.3.6.1.4.1.2011.6.25.2.4.1.3
Type
column
Access
readwrite
Status
current
Parent
hwOntClkPortInfoEntry

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::hwOntClkObjectPortPtpMsgFormat'
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::hwOntClkObjectPortPtpMsgFormat.<ifIndex>.<hwOntClkObjectIndex>.<hwOntClkObjectPortType>.<hwOntClkObjectPortId>'
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::hwOntClkObjectPortPtpMsgFormat'

Syntax

Enumeration

Values & Constraints

Enumerated Values
-1invalid
1ptpeth
2ptpip
5default