netportIfgDistrFunc
NETAPP-MIB ·
.1.3.6.1.4.1.789.1.22.2.1.18
Object
column Enumeration
If the port type is if-group, this field shows the distribution function of the port. This function is used to pick the forwarding port for a packet. It can be either mac(0), ip(1), or sequential(2). The mac function selects the port based on the hash of the MAC address of the destination. Instead of MAC address, the ip function uses the destination's IP address. The sequential function uses the round-robin port selection.
Context
- MIB
- NETAPP-MIB
- OID
.1.3.6.1.4.1.789.1.22.2.1.18- Type
- column
- Access
- readonly
- Status
- current
- Parent
- netportEntry
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 'NETAPP-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETAPP-MIB::netportIfgDistrFunc'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETAPP-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETAPP-MIB::netportIfgDistrFunc.<netportNode>.<netportPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETAPP-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETAPP-MIB::netportIfgDistrFunc'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | none |
0 | mac |
1 | ip |
2 | sequential |