ipStaticRouteCurEcmpHash

IBM-GbTOR-10G-L2L3-MIB · .1.3.6.1.4.1.26543.2.7.4.3.1.3.12

Object

Ecmp Hash mechanism.It is a BIT mask
which represents the combination of
different parameters which can be used for
ECMP hashing
ECMP_HASH_SIP  ------ 0x00000001
  - Include Source IP for ECMP hash
ECMP_HASH_DIP  ------ 0x00000002
  - Include destination IP for ECMP hash
ECMP_HASH_PROT ------ 0x00000004
  - Include layer3 protocol for ECMP hash
ECMP_HASH_TCP  ------ 0x00000008
  - Enable L4 source/destination port hash if protocl is TCP
ECMP_HASH_UDP  ------ 0x00000010
  - Enable L4 source/destination port hash if protocl is UDP
ECMP_HASH_L4SRC------ 0x00000020
  - Include L4 source port for ECMP hash 
ECMP_HASH_L4DST------ 0x00000040
  - Include L4 destination port for ECMP hash

Context

MIB
IBM-GbTOR-10G-L2L3-MIB
OID
.1.3.6.1.4.1.26543.2.7.4.3.1.3.12
Type
scalar
Access
readonly
Status
current
Parent
ipStaticRouteCfg

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

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IBM-GbTOR-10G-L2L3-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-10G-L2L3-MIB::ipStaticRouteCurEcmpHash.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-GbTOR-10G-L2L3-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-GbTOR-10G-L2L3-MIB::ipStaticRouteCurEcmpHash'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647