Enables or disables masking of tunnel ID while computing hashing for per LAG basis.
Port-channel config mode
This command is available only to users with admin role.
The port-channel must be created first.
The no load-balance command sets the default value to LAG hash.
The load-balance method configured in other egress-objects that co-exist in the same egress-group must match the new load-balance setting.
If there is a conflict in load-balance setting with other egress objects:
The following example enables the src-dst-ip-l4port-tid load balancing method.
device# configure terminal
device(config)# interface port-channel 1
device(config-if-po-1)# load-balance src-dst-ip-l4port-tid
device(config)# do show egress-group all
Number of egress-groups: 1
Name : egg1
egress : eg2
egress : eg3
device(config)# interface port-channel 1
device(config-if-po-1)# load-balance src-dst-ip-l4port-tid
device(config-if-po-1)# exit
device(config)# interface port-channel 2
device(config-if-po-2)# load-balance src-dst-ip-l4port
Error: all egress objects present in group should have same load balance type. eg2 has type SRC_DST_IP_L4_PORT_TID
Corrective action is as follows: Unconfigure load-balance in port-channel, and configure the same method in both port-channels. Now, it is accepted.
device# interface port-channel 1
device(config-if-po-1)# no load-balance
device(config-if-po-1)# load-balance src-dst-ip-l4port
device(config-if-po-1)# exit
device(config)# interface port-channel 2
device(config-if-po-2)# load-balance src-dst-ip-l4port
device(config-if-po-2)# -->