/
Configuring ECMP
Configuring ECMP
Command
ovs-vsctl set-max-ecmp-ports [numbers]
ovs-vsctl show-max-ecmp-ports
Parameters
Numbers:[2-32],max is 32 ,and this must be 2^n(n=1,2,3,4,5). Default number is 4.
Example
PicOS OVS supports ecmp (nw_src, nw_dst),the default ecmp ports is 4.
IP packets (nw_src=192.168.1.0/255.255.255.1) will forward to port 2.
IP packets (nw_src=192.168.1.1/255.255.255.1) will forward to port 3.
root@PicOS-OVS#ovs-ofctl add-group br0 group_id=1,type=select,bucket=output:2,bucket=output:3 root@PicOS-OVS#ovs-ofctl add-flow br0 dl_type=0x0800,nw_src=192.168.1.0/24,actions=group:1
If port 2 is down, all packets will forward to port 3.
, multiple selections available,
Related content
Configuring ECMP
Configuring ECMP
More like this
Configuring ECMP
Configuring ECMP
More like this
Configuring ECMP
Configuring ECMP
More like this
Configuring ECMP
Configuring ECMP
More like this
Configuring ECMP
Configuring ECMP
More like this
Configuring ECMP
Configuring ECMP
More like this
Copyright © 2025 Pica8 Inc. All Rights Reserved.