optixPktPtpSlaveOnlyMode
OPTIX-PKT-PTPCLOCK-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.13.1.13
Object
scalar r/w
Enumeration
this parameter describes the NEs mode of SLAVEONLY. 1 slaveOnly, 2 nonSlaveOnly
Context
- MIB
- OPTIX-PKT-PTPCLOCK-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.13.1.13- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- optixPktPtpClockGroup
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 'OPTIX-PKT-PTPCLOCK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-PTPCLOCK-MIB::optixPktPtpSlaveOnlyMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-PKT-PTPCLOCK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-PKT-PTPCLOCK-MIB::optixPktPtpSlaveOnlyMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | slaveOnly |
2 | nonSlaveOnly |