hwPtpStandardTimePort
HUAWEI-PTP-MIB ·
.1.3.6.1.4.1.2011.5.25.187.1.122
Object
scalar r/w
Enumeration
The reference port of standard time.
Context
- MIB
- HUAWEI-PTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.187.1.122- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwPtpGlobalObjects
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::hwPtpStandardTimePort.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::hwPtpStandardTimePort'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | bits0 |
2 | bits1 |
3 | bits2 |
4 | bits3 |
5 | bits4 |
6 | bits5 |
7 | bits6 |
8 | bits7 |
9 | bits8 |
10 | bits9 |
99 | invalid |