gptp0NetworkTransportMode
NINJA-MIB ·
.1.3.6.1.4.1.13827.17.4.21
Object
scalar Enumeration
This value maps to the active PTP Network Transport Mode, either UDPv4 or Layer 2.
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 'NINJA-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NINJA-MIB::gptp0NetworkTransportMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NINJA-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NINJA-MIB::gptp0NetworkTransportMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | udpv4 |
1 | layer2 |