Skip to content
Ask AI

Hash

URLGETPOSTPATCHPUTDELETE
/rest/v1/running/hashYNYNN
/rest/v1/running/hash/hash-fields/{pkt-type}YYYYY
PATCH HTTPS://{switch IP}/rest/v1/running/hash
{"seed": 100}
PATCH HTTPS://{switch IP}/rest/v1/running/hash
{"seed": null}
POST HTTPS://{switch IP}/rest/v1/running/hash/hash-fields
[{"pkt-type": "NON_IP", "ecmp-hash": ["SRC_MAC", "DST_MAC", "DST_IP"]}]
PUT rest/v1/running/hash/hash-fields/NON_IP
{"pkt-type": "NON_IP", "ecmp-hash": ["SRC_MAC", "DST_MAC"]}
DELETE HTTPS://{switch IP}/rest/v1/running/hash/hash-fields/NON_IP

Tree Diagrams

+--rw hash
+--rw hash-fields* [pkt-type]
| +--rw pkt-type
| +--rw ecmp-hash*
+--rw seed?
+--rw enhancement? {cmn:platform-innovium}?

Table of Properties

NameRequiredType/RangeDescription
hashMPath-only node, has no configurable value.
hash-fieldsM(sub-property of hash) Path-only node, has no configurable value.
pkt-typeM”NON_IP” “IPV4” “IPV6”(sub-property of hash-fields)
ecmp-hashO”IN_PORT""DST_MAC"
"SRC_MAC""ETHERTYPE"
"VLAN_ID""IP_PROTOCOL"
"DST_IP""SRC_IP"
"L4_DST_PORT""L4_SRC_PORT"
"IPV6_FLOW_LABEL”
(sub-property of hash-fields) Hash fields for hashing packets going through ECMP
seedO0.4294967295(sub-property of hash) The value to set hash seed. Cannot be enabled at the same time as hash enhancement. Default value: 10
enhancementO”true""false”(sub-property of hash) Hash enhancement function. Cannot be enabled at the same time as hash seed.Only applicable when platform is innovium.Default value: “false”