hwPtpExtTimePortStatus
HUAWEI-PTP-MIB ·
.1.3.6.1.4.1.2011.5.25.187.1.89
Object
scalar Enumeration
This object indicates the status of the external time port. The value can be: normal (0): normal portDown (1): The port is Down. todSecUnChange(2): The TOD value in seconds of the external time port remains unchanged. todSecpulseInvalid(3): TOD of the external time port is invalid. The default value is normal (0).
Context
- MIB
- HUAWEI-PTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.187.1.89- 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::hwPtpExtTimePortStatus.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::hwPtpExtTimePortStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | normal |
1 | portDown |
2 | todSecUnChange |
3 | todSecpulseInvalid |
Conformance
Member of