hwifEthernetPortType
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.1.4.1.30
Object
column r/w
Enumeration
Indicates the ethernet port type. Options: 1. fe(1) -Ethernet port type FE 2. ge(2) -Ethernet port type GE 3. xge(3) -Ethernet port type 10GE 4. onehundredge(4) -Ethernet port type 100GE 5. invalid(-1) -invalid value Only FE and GE are supported currently.
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.1.4.1.30- Type
- column
- Access
- readwrite
- 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::hwifEthernetPortType'
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::hwifEthernetPortType.<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::hwifEthernetPortType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | fe |
2 | ge |
3 | xge |
4 | onehundredge |