hwXponDynamicMacAddr
HUAWEI-XPON-MIB ·
.1.3.6.1.4.1.2011.6.128.1.1.2.130.1.8
Object
column OctetString
MAC address. When hwXponDynamicMacQueryType is 1 ,the MAC addresses which can include 5 MAC addresses at most, and its format is (XX.XX.XX.XX.XX.XX). When hwXponDynamicMacQueryType is 2, 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-XPON-MIB
- OID
.1.3.6.1.4.1.2011.6.128.1.1.2.130.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwXponDynamicMacQueryEntry
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-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-MIB::hwXponDynamicMacAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-MIB::hwXponDynamicMacAddr.<ifIndex>.<hwXponDynamicMacVlanId>.<hwXponDynamicMacIndex>.<hwXponDynamicMacQueryType>.<hwXponDynamicMacQueryPara0>.<hwXponDynamicMacQueryPara1>.<hwXponDynamicMacQueryPara2>.<hwXponDynamicMacQueryPara3>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XPON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XPON-MIB::hwXponDynamicMacAddr'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-1280