LAG Select Group
If user wants the traffic load balance like lag interface and doesn't want special configuration lag interface, lag select group is one choice.
Select group uses lag, create an lag interface for each select group, and the lag interface contains egress interfaces which corresponds to buckets in the group.
PICOS reserve ae1 to ae20 for static lag configuration, ae21 to ae48 use the internal lag for select group.
PICOS will create internal lag when the user creates a lag select group. It only uses the first bucket actions except the output. It means that we can support 24 lag select groups.
The physical port which has added in lag-select-group cannot be used in other groups and cannot work as one physical port.
Before add lag select group, user need configure group range.
The command to configure lag-select-group ID range:
ovs-vsctl set-group-ranges lag-select-groups=<min_value>-<max_value>
The group IDs may be divided into different areas: lag-select-groups and the original groups. Lag-select-groups ranges is <min_value>-<max_value> and the rest of group IDs for original groups. After configure the command, user needs to reboot switch.
In lag select group can modify any fields switch support. And the actions must be configured in first bucket, other buckets only include output.
Set group 1 as a lag select group, modify dl_vlan and dl_dst.
Close all Group-ranges
If user want close the group-ranges, please use command as below.