hwifEthernetMdi
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.1.4.1.5
Object
column r/w
Enumeration
Ethernet port cable type.
Options:
1. mdiII(1) -direct connection cable
2. mdiX(2) -cross-over cable
3. mdiAuto(3) -auto-sensing
4. invalid(-1) -invalid value
After the network cable auto-sensing mode of an Ethernet port is set successfully, the type of
the network cable connecting to the port must match the configured network cable auto-sensing mode.
The Ethernet optical port does not support the network cable auto-sensing mode.
If the Ethernet electrical port works in forced mode, the network cable type of the port cannot be
configured to the auto-sensing mode. If the Ethernet electrical port works in auto-negotiation mode,
the network cable type of the port cannot be configured to using the straight through cable or using
the crossover cable.
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.1.4.1.5- 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::hwifEthernetMdi'
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::hwifEthernetMdi.<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::hwifEthernetMdi'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | mdiII |
2 | mdiX |
3 | mdiAuto |