set interface ecmp hash-mapping dlb-optimal

The set interface ecmp hash-mapping dlb-optimal command enables optimal mode of Dynamic Load Balancing for ECMP (Equal-Cost Multi-Path Routing).

The delete interface ecmp hash-mapping dlb-optimal command deletes the configuration.

  • When the ECMP hash-mapping mode configuration (set/delete) changes, a system restart is required for the configuration to take effect.

  • ECMP hash-mapping modes (round-robin-load-balancing, randomized-load-balancing, symmetric, dlb-optimal, dlb-assigned and dlb-normal) are mutually exclusive. To switch between modes, you must first delete the configured mode before setting up the new one. Then, restart the system for the configuration to take effect.

Command Syntax

set interface ecmp hash-mapping dlb-optimal

delete interface ecmp hash-mapping dlb-optimal

 

Parameter

None.

 

Usage Guidelines

The Optimal mode of dynamic load balancing uses a per-packet distribution mechanism, where the device forwards packets to the link with the lighter load based on the real-time load status of each link. In this mechanism, if two consecutively forwarded packets belong to the same flow and the time interval between them is shorter than the maximum transmission delay among the links, and the device chooses different forwarding links for these two packets, out-of-order packets may occur on the receiving end.

 

Example

  • Enable optimal mode of Dynamic Load Balancing for ECMP.

admin@PICOS# set interface ecmp hash-mapping dlb-optimal admin@PICOS# commit admin@PICOS# exit admin@PICOS> request system reboot

Copyright © 2024 Pica8 Inc. All Rights Reserved.