hwEthernetDuplex
HUAWEI-PORT-MIB ·
.1.3.6.1.4.1.2011.5.25.157.1.1.1.1.14
Object
column r/w
Enumeration
This object indicates the duplex mode of an Ethernet interface. Ethernet electrical interfaces can work in either half-duplex or full-duplex mode. Ethernet optical interfaces can work only in full-duplex mode.
Context
- MIB
- HUAWEI-PORT-MIB
- OID
.1.3.6.1.4.1.2011.5.25.157.1.1.1.1.14- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwEthernetEntry
- Groups
- 1
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-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PORT-MIB::hwEthernetDuplex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PORT-MIB::hwEthernetDuplex.<hwEthernetIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-PORT-MIB::hwEthernetDuplex'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | full |
2 | half |
Conformance
Member of