Lag Hash Configuration

Lag hash commands are as follows.

# Config command
ovs-vsctl -- set Interface ae1 options:hash-mapping=dl_dst 
ovs-vsctl -- set Interface ae1 options:hash-mapping=dl_src_dst
ovs-vsctl -- set Interface ae1 options:hash-mapping=dl_src
ovs-vsctl -- set Interface ae1 options:hash-mapping=nw_dst
ovs-vsctl -- set Interface ae1 options:hash-mapping=nw_src_dst
ovs-vsctl -- set Interface ae1 options:hash-mapping=nw_src
ovs-vsctl -- set Interface ae1 options:hash-mapping=resilient
ovs-vsctl -- set Interface ae1 options:hash-mapping=advance
ovs-vsctl -- set-lag-advance-hash-mapping-fields dl_dst dl_src ether_type in_port nw_dst nw_proto nw_src port_dst port_src src_vif dst_vif gtp_teid
vlan
# Show command
ovs-vsctl show-lag-advance-hash-mapping-fields

If not special the hash-mapping in one lag interface, dl_src_dst will be set by default; And if not special the hash-mapping in set-lag-advance-hash-mapping-fields, all field will be set.