hwifEthernetPortTypeAutoSensing

HUAWEI-ETHERLIKE-EXT-MIB · .1.3.6.1.4.1.2011.5.14.1.4.1.31

Object

column r/w Enumeration
Indicates the switch for the port type auto-sensing.
When the switch is enabled, the port will working on GE or FE mode according to that of link partner. 
Options:
1. enable(1)  --enable the port type auto-sensing.
2. disable(2) --disable the port type auto-sensing.
3. invalid(-1)  --invalid value.

Context

MIB
HUAWEI-ETHERLIKE-EXT-MIB
OID
.1.3.6.1.4.1.2011.5.14.1.4.1.31
Type
column
Access
readwrite
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::hwifEthernetPortTypeAutoSensing'
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::hwifEthernetPortTypeAutoSensing.<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::hwifEthernetPortTypeAutoSensing'

Syntax

Enumeration

Values & Constraints

Enumerated Values
-1invalid
1enable
2disable