hwStaticMacIfIndex

HUAWEI-ETHERLIKE-EXT-MIB · .1.3.6.1.4.1.2011.5.14.11.1.2

Object

Indicates the port index for configuring a static MAC address on a specified port. 
The index uniquely identifies a port.
The value and algorithm of this index are the same as those of the ifIndex.
If you query the MAC address that is bound to a PW, then the returned value is 0xFFFFFFFF, which indicates an invalid value.

Context

MIB
HUAWEI-ETHERLIKE-EXT-MIB
OID
.1.3.6.1.4.1.2011.5.14.11.1.2
Type
column
Access
readwrite
Status
current
Parent
hwStaticMacEntry

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::hwStaticMacIfIndex'
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::hwStaticMacIfIndex.<hwStaticMacIndex>'
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::hwStaticMacIfIndex'

Syntax

Source
SNMPv2-SMIUnsigned32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295