hwGponDynamicMacAddr

HUAWEI-GPON-MIB · .1.3.6.1.4.1.2011.5.100.1.1.1.63.1.8

Object

column OctetString
MAC address. 
When hwGponDynamicMacQueryType is 1 ,the MAC addresses which can include 5 MAC addresses at most, and its format is (XX.XX.XX.XX.XX.XX).
When hwGponDynamicMacQueryType is 2 or 3 or 4, the query result contains MAC address entries with a length of 0-1280 bytes. 
A maximum of 128 MAC addresses can be queried, each entry containing 10 bytes. 
The queried entry is in a format of port type (1 byte)+port ID (1 byte)+VLAN ID (2 bytes)+MAC address (6 bytes), 
where the blank field can be represented by 0, for example, 3401400000E0FC000001.
Range: 0-1280.

Context

MIB
HUAWEI-GPON-MIB
OID
.1.3.6.1.4.1.2011.5.100.1.1.1.63.1.8
Type
column
Access
readonly
Status
current
Parent
hwGponDynamicMacQueryEntry

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-GPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-GPON-MIB::hwGponDynamicMacAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-GPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-GPON-MIB::hwGponDynamicMacAddr.<ifIndex>.<hwGponDynamicMacVlanId>.<hwGponDynamicMacIndex>.<hwGponDynamicMacQueryType>.<hwGponDynamicMacQueryPara0>.<hwGponDynamicMacQueryPara1>.<hwGponDynamicMacQueryPara2>.<hwGponDynamicMacQueryPara3>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-GPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-GPON-MIB::hwGponDynamicMacAddr'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-1280