Connectivity Guide

hash-algorithm
Changes the hash algorithm that distributes trac ows across ECMP paths and the link aggregation group (LAG).
Syntax
hash-algorithm {ecmp | lag | seed {seed-value}} {crc | crc16cc | crc32LSB |
crc32MSB | xor | xor1 | xor2 | xor4 | xor8 | random}
Parameters
NOTE: The S5148F-ON platform supports only the crc parameter.
ecmp—Enables the ECMP hash conguration.
lag—Enables the LAG hash conguration for Layer 2 (L2) only.
seed—Changes the hash algorithm seed value to get a better hash value.
seed-value—Enter a hash algorithm seed value, from 0 to 4294967295.
crc—Enables the cyclic redundancy check (CRC) polynomial for hash computation.
crc16cc16 bit CRC16 using CRC16-CCITT polynomial
crc32LSB—LSB 16 bits of computed CRC32(default)
crc32MSB—MSB 16 bits of computed CRC32
xor — Enables upper 8 bits of CRC and lower 8 bits of XOR value for computation.
xor1—Enables upper 8 bits of CRC16-BISYNC and lower 8 bits of xor1
xor2—Enables upper 8 bits of CRC16-BISYNC and lower 8 bits of xor2
xor4—Enables upper 8 bits of CRC16-BISYNC and lower 8 bits of xor4
xor8—Enables upper 8 bits of CRC16-BISYNC and lower 8 bits of xor8
random — Enables a hash algorithm random seed value for ECMP or LAG hash computation.
Default
crc
Command Mode CONFIGURATION
Usage Information
The hash value calculated with this command is unique to the entire system. Dierent hash algorithms are based
on the number of port-channel members and packet values. The default hash algorithm yields the most balanced
results in various test scenarios, but if the default algorithm does not provide a satisfactory distribution of trac,
use this command to designate another algorithm.
When a port-channel member leaves or is added to the port-channel, the hash algorithm recalculates to balance
trac across the members. The no version of this command returns the value to the default.
Example
OS10(config)# hash-algorithm lag crc
Supported Releases 10.3.0E or later
ip ecmp-group maximum-paths
Congures the maximum number of ECMP paths per route.
Syntax
ip ecmp-group maximum-paths number
Parameters number — Enter the maximum number of ECMP paths, from 2 to 128.
Default 64
Command Mode CONFIGURATION
498 Layer 3