hwifMacAddressLearn

HUAWEI-ETHERLIKE-EXT-MIB · .1.3.6.1.4.1.2011.5.14.1.4.1.7

Object

column r/w Enumeration
Status indicates if the interface is allowed to learn MAC address. 
Options:
1. enabled(1)  -Indicates the interface can learn MAC address.
2. disabled(2) -Indicates the interface can't learn MAC address.
Enable the self-learning of the MAC address at the interface

Context

MIB
HUAWEI-ETHERLIKE-EXT-MIB
OID
.1.3.6.1.4.1.2011.5.14.1.4.1.7
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::hwifMacAddressLearn'
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::hwifMacAddressLearn.<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::hwifMacAddressLearn'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1enabled
2disabled