hwifEthernetOnlineState

HUAWEI-ETHERLIKE-EXT-MIB · .1.3.6.1.4.1.2011.5.14.1.4.1.14

Object

Ethernet port online status (Notes: only for Huawei product of Ma5100).
Whether the network interface is online (which is needed by MA5100 V2R1 
product, and can be selected by other products of the fixed network depending on the practice).
Options:
1. true(1)  -the network interface is online
2. false(2) -the network interface is offline

Context

MIB
HUAWEI-ETHERLIKE-EXT-MIB
OID
.1.3.6.1.4.1.2011.5.14.1.4.1.14
Type
column
Access
readonly
Status
current
Parent
hwEthernetEntry

Walk 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::hwifEthernetOnlineState'
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::hwifEthernetOnlineState.<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::hwifEthernetOnlineState'

Syntax

Source
SNMPv2-TCTruthValue
Base type
Enumeration
Type Description
Represents a boolean value.

Values & Constraints

Type Values
1true
2false