Administrator Guide

hash-algorithm ecmp
Changes the hash algorithm used to distribute traffic flows across an ECMP.
C9000 Series
Syntax
hash-algorithm {ecmp {crc16 | crc16cc | crc32MSB | crc32LSB | crc–upper | dest-
ip | lsb | xor1 | xor2 | xor4 | xor8 | xor16} hg {crc16 | crc16cc | crc32MSB |
crc32LSB | xor1 | xor2 | xor4 | xor8 | xor16} {hg-seed seed-value} lag {crc16 |
crc16cc | crc32MSB | crc32LSB | xor1 | xor2 | xor4 | xor8 | xor16} | seed seed-
value} linecard slot-id | port-set port-pipe
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 line card, use the no hash-algorithm linecard number
command.
Parameters
ecmp
crc16
|
crc16cc
|
crc32MSB
|
crc32LSB
|
crc-
upper
|
dest-ip
|
lsb
|
xor1
|
xor2
|
xor4
|
xor8
|
xor16
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
xor8: Use CRC16_BISYNC_AND_XOR8 — Upper 8 bits of CRC16-BISYNC and
lower 8 bits of xor8
xor16: Use CR16 — 16-bit XOR
hg {
crc16
|
crc16cc
|
crc32MSB
|
crc32LSB
|
xor1
|
xor2
|
xor4
|
xor8
|
xor16
}
Enter the keyword hg 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
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
xor8: Use CRC16_BISYNC_AND_XOR8 — Upper 8 bits of CRC16-BISYNC and
lower 8 bits of xor8
xor16: Use CR16 — 16-bit XOR
hg-seed
seed-
value
Enter the keywords hg-seed then the hash algorithm seed value. The range is from 0 to
2147483646.
lag {
crc16
|
crc16cc
|
crc32MSB
|
crc32LSB
|
xor1
|
Enter the keyword lag 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
622 Equal Cost Multi-Path (ECMP)