zxAnPtpIfConfPtpMsgProtocolType

ZTE-AN-IEEE1588-MIB · zte-ng variant · .1.3.6.1.4.1.3902.1082.120.15.2.1.7.1.21

Object

column r/w Enumeration
The PTP message protocol type.
ipv4(1): it means the PTP messages is IPv4 protocol.
ethernet(2): it means the PTP messages is Ethernet protocol.

Context

MIB
ZTE-AN-IEEE1588-MIB
OID
.1.3.6.1.4.1.3902.1082.120.15.2.1.7.1.21
Type
column
Access
readwrite
Status
current
Default
ethernet
Parent
zxAnPtpIfConfEntry
Groups
1

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 'ZTE-AN-IEEE1588-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-IEEE1588-MIB::zxAnPtpIfConfPtpMsgProtocolType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-IEEE1588-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-IEEE1588-MIB::zxAnPtpIfConfPtpMsgProtocolType.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-IEEE1588-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-IEEE1588-MIB::zxAnPtpIfConfPtpMsgProtocolType'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1ipv4
2ethernet

Conformance