White Papers

Table Of Contents
[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] | [hgseed 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
xor8: Use CRC16_BISYNC_AND_XOR8 Upper 8 bits of CRC16-BISYNC and
lower 8 bits of xor8
xor16: Use CR16 16 bit XOR
lag hash
algorithm value
Enter the keyword lag then the LAG hash algorithm value. The range is from 0 to
47.
nh-ecmp
hash
algorithm value
(OPTIONAL) Enter the keyword nh-ecmp then the ECMP hash algorithm value.
linecard
number
(OPTIONAL) Enter the keyword linecard then the linecard slot number.
ip-sa-mask
value
(OPTIONAL) Enter the keywords ip-sa-mask then the ECMP/LAG hash mask
value. The range is from 0 to FF. The default is FF.
ip-da-mask
value
(OPTIONAL) Enter the keywords ip-da-mask then the ECMP/LAG hash mask
value. The range is from 0 to FF. The default is FF.
ecmp
crc16
|
crc16cc
|
crc32MSB
|
crc32LSB
|
crc-upper
|
dest-ip
|
flow-
based-hashing
|
crc16
|
crc16cc
|
crc32MSB
|
crc32LSB
|
xor1
|
xor2
|
xor4
|
xor8
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
flow-based-hashing: Enter the keywords flow-based-hashing
followed by the algorithm
420 Equal Cost Multi-Path (ECMP)