CLI Guide

hash-algorithm
Changes the hash algorithm used to distribute traffic flows across a Port Channel.
Syntax
hash-algorithm {algorithm-number | {ecmp {crc16 | crc16cc |
crc32MSB | crc32LSB | crc-upper | dest-ip | lsb | xor1 | xor2 |
xor4 | xor8 | xor16} [number] lag {checksum | crc | xor}
[number] nh-ecmp {checksum | crc | xor}[number] linecard number
ip-sa-mask value ip-da-mask value | seed seed-value }hash-
algorithm {ecmp {crc16 | crc16cc | crc32MSB | crc32LSB | crc-
upper | dest-ip | flow-based-hashing {crc16|crc16cc|crc32MSB|
crc32LSB|xor1|xor2|xor4|xor8|xor16}|lsb | xor1 | xor2 | xor4 |
xor8 | xor16}[[hg {crc16 | crc16cc | crc32MSB | crc32LSB | xor1
| xor2 | xor4 | xor8 | xor16}]| [lag {crc16 | crc16cc |
crc32MSB | crc32LSB | xor1 | xor2 | xor4 | xor8 | xor16 }]
[stack-unit|linecard number | port-set number] | [hg—seed
value] | [seedvalue]
To return to the default hash algorithm, use the no hash-algorithm command.
To return to the default ECMP hash algorithm, use the no hash-algorithm
ecmp algorithm-value command.
To remove the hash algorithm on a particular stack-unit / line-card, use the no
hash-algorithm linecard number command.
Parameters
algorithm-
number
Enter the algorithm number. The range is from 0 to 47.
ecmp {crc16 |
crc16cc |
crc32MSB |
crc32LSB | crc-
upper | dest-ip |
lsb | xor1 | xor2 |
xor4 | xor8 |
xor16}
TeraScale and ExaScale Only: Enter the keyword ecmp then
one of the following options:
crc16: Use CRC16_BISYNC — 16 bit CRC16-bisync
polynomial (default)
crc16cc: Use CRC16_CCITT — 16 bit CRC16 using
CRC16-CCITT polynomial
crc32MSB: Use CRC32_UPPER — MSB 16 bits of
computed CRC32
crc32LSB: Use CRC32_LOWER — LSB 16 bits of
computed CRC32
crc-upper: Uses the upper 32 bits of the key for the
hash computation
dest-ip: Uses the destination IP for ECMP hashing
lsb: Returns the LSB of the key as the hash
xor1: Use CRC16_BISYNC_AND_XOR1 — Upper 8 bits
of CRC16-BISYNC and lower 8 bits of xor1
xor2: Use CRC16_BISYNC_AND_XOR2 — Upper 8 bits
of CRC16-BISYNC and lower 8 bits of xor2
xor4: Use CRC16_BISYNC_AND_XOR4 — Upper 8 bits
of CRC16-BISYNC and lower 8 bits of xor4
Equal Cost Multi-Path (ECMP)
541