mesLagHash

LUM-MES-MIB · .1.3.6.1.4.1.8708.2.32.2.15.1.1.7

Object

column r/w Enumeration
The hash algorithm used for LAG load balancing
              
mac - Based on src/dst MAC adresses
              
ip - Based on src/dst IP addresses and TCP/UDP ports
              
vlan - Based on VLAN ID
              
mpls - EMXP/II boards: Based on up to two MPLS labels
       EMXP/IIe: Based on up to three MPLS labels and IPv4 and IPv6 headers in IP-MPLS packets
              
automatic - The fields selected for hashing is depending on ethertype.
          IPv4/IPv6 packets uses the IP src/dst addresses and TCP/UDP ports,
          MPLS packets uses labels and the remaining ethertypes use VLAN ID and src/dst MAC addresses (Default value)
              
This attribute can be written via SNMP.

Context

MIB
LUM-MES-MIB
OID
.1.3.6.1.4.1.8708.2.32.2.15.1.1.7
Type
column
Access
readwrite
Status
current
Default
automatic
Parent
mesLagEntry
Groups
10

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 'LUM-MES-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUM-MES-MIB::mesLagHash'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LUM-MES-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUM-MES-MIB::mesLagHash.<mesLagIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LUM-MES-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LUM-MES-MIB::mesLagHash'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1mac
2ip
3vlan
4mpls
5automatic