hwifAggregatePortListPorts
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.2.2.1.3
Object
The value of hwifAggregatePortListPorts is an octet string.
One bit in each octet indicates one port, so the octet string can indicate eight ports.
When a bit is set to 0, it indicates that the corresponding port does not belong to
this aggregation group. When a bit is set to 1, it indicates that the corresponding
port belongs to this aggregation group.
The order is as follows: The maximum number of ports in a slot is 64, so the ports need
to occupy eight octets. The order, from left to right, is presented as eight groups,
0-7, 8-15, 16-23, 24-31, 32-39, 40-47, 48-55, and 56-63. In each octet, the port IDs in
ascending order is presented from low bit to high bit. On the MA5600T, the slot ID starts
from 0.
For example, the mask of port 0/1/0 is (HEX) 0000000000000000 0100000000000000
(the first eight bytes are the mask of the port in slot 0).
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.2.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwifAggregateEntry
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-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERLIKE-EXT-MIB::hwifAggregatePortListPorts'
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::hwifAggregatePortListPorts.<hwifAggregateIndex>'
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::hwifAggregatePortListPorts'