hwPtpDeviceType
HUAWEI-PTP-MIB ·
.1.3.6.1.4.1.2011.5.25.187.1.3
Object
scalar r/w
Enumeration
PTP device's type attribute.
Context
- MIB
- HUAWEI-PTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.187.1.3- Type
- scalar
- Access
- readwrite
- 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::hwPtpDeviceType.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::hwPtpDeviceType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | oc |
2 | bc |
3 | p2ptc |
4 | e2etc |
5 | p2ptcoc |
6 | e2etcoc |
7 | tcandbc |
8 | tgm |
9 | tbc |
10 | ttsc |
11 | e2etcanbc |
12 | p2ptcanbc |
13 | tc |
14 | tcoc |
15 | ttc |
99 | invalid |
Conformance
Member of