hm2AgentLagConfigGroupHashOption

HM2-PLATFORM-SWITCHING-MIB · .1.3.6.1.4.1.248.12.1.2.2.5

Object

scalar r/w Enumeration
LAG Hashing Option.
          
Valid values correspond to
          
1 (=Source MAC, VLAN, EtherType, and incoming port
      associated with the packet)
2 (=Destination MAC, VLAN, EtherType, and incoming port
      associated with the packet)
3 (=Source/Destination MAC, VLAN, EtherType, and incoming
      port associated with the packet)
4 (=Source IP and Source TCP/UDP fields of the packet)
5 (=Destination IP and Destination TCP/UDP Port fields
      of the packet)
6 (=Source/Destination IP and source/destination TCP/UDP
      Port fields of the packet)
7 (=Enhanced hashing mode)
          
Support for particular options may vary by device.

Context

MIB
HM2-PLATFORM-SWITCHING-MIB
OID
.1.3.6.1.4.1.248.12.1.2.2.5
Type
scalar
Access
readwrite
Status
current
Parent
hm2AgentLagConfigGroup

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentLagConfigGroupHashOption.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentLagConfigGroupHashOption'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1sourceMacVlan
2destMacVlan
3sourceDestMacVlan
4sourceIPsourcePort
5destIPdestPort
6sourceDestIPPort
7enhanced