hwifEthernetOfflineReason
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.1.4.1.33
Object
column Enumeration
Indicates the offline reason of ethernet port. Options: 1. invalid(-1) -invalid value 2. unknown(1) -unknown 3. boardabnormal(2) -board abnormal 4. opticalmoduleoffline(3) -optical module offline 5. los(4) -LOS detected 6. shutdownbyuser(5) -port shuted down by user 7. ringdetected(6) -ring detected 8. ethoamtriggeredlinkdown(7) -ETHOAM triggered link down 9. dyinggasp(8) -peer end loss of power
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.1.4.1.33- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwEthernetEntry
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-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERLIKE-EXT-MIB::hwifEthernetOfflineReason'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERLIKE-EXT-MIB::hwifEthernetOfflineReason.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ETHERLIKE-EXT-MIB::hwifEthernetOfflineReason'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | unknown |
2 | boardabnormal |
3 | opticalmoduleoffline |
4 | los |
5 | shutdownbyuser |
6 | ringdetected |
7 | ethoamtriggeredlinkdown |
8 | dyinggasp |