hwPtpCurrentMasterClockReceivePortType
HUAWEI-PTP-MIB ·
.1.3.6.1.4.1.2011.5.25.187.1.15
Object
scalar Enumeration
The current grandmaster clock received port type.
Context
- MIB
- HUAWEI-PTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.187.1.15- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hwPtpGlobalObjects
- Groups
- 1
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-PTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PTP-MIB::hwPtpCurrentMasterClockReceivePortType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-PTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-PTP-MIB::hwPtpCurrentMasterClockReceivePortType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | local |
2 | bits |
3 | line |
Conformance
Member of