hash
Syntax
hash [l2-src-dst | l3-src-dst]
Description
This command controls the selection of an interface in a group of aggregate interfaces. The hash type value helps transmit a frame. This configuration must be done at the LAG interface level.
Command context
config-lag-if
Parameters
l2-src-dst
- Specifies the load-balancing calculation to include only L2 layer items, such as source and destination MAC addresses.
l3-src-dst
- Specifies the load-balancing calculation to include only L3 layer items, such as source and destination IP addresses. Default setting.
Authority
Administrators or local user group members with execution rights for this command.
Example
switch(config-lag-if)# hash l2-src-dst