< Home

Configuring the Multicast Hash Algorithm

Context

To improve multicast forwarding performance, the switch uses a hash algorithm to learn multicast addresses. When a large number of multicast hash collisions occur, the switch will fail to learn some multicast addresses. If this occurs, you can change the multicast hash algorithm to reduce hash collisions.

Only the S5720-EI, S6720-EI, and S6720S-EI support this configuration.

MAC addresses are randomly distributed on a network, so the best hash algorithm cannot be determined. The default hash algorithm is the best algorithm in most cases, so changing the hash algorithm is not recommended.

After changing the hash algorithm, restart the switch for the configuration to take effect.

Default Settings

The default multicast hash algorithm is crc-32-lower.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run set multicast-hash-mode { crc-32-upper | crc-32-lower | lsb | crc-16-upper | crc-16-lower }

    The multicast hash algorithm is specified.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >