hwPtpPortType
HUAWEI-PTP-MIB ·
.1.3.6.1.4.1.2011.5.25.187.2.1.1.4
Object
column r/w
Enumeration
PTP port type. If the device type is set to tcandbc, the PTP port type can be configured and queried. If the device type is set to another value, the PTP port type can only be queried.
Context
- MIB
- HUAWEI-PTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.187.2.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwPtpPortEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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 'HUAWEI-PTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PTP-MIB::hwPtpPortType'
More examples
Read one indexed 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::hwPtpPortType.<hwPtpPortIfIndex>'
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::hwPtpPortType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | tc |
3 | bc |
4 | tcoc |
5 | oc |
6 | tgm |
7 | tbc |
8 | ttsc |
Conformance
Member of