Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

ovs-vsctl enable-egress-mode <TRUE|FALSE> [TABLE]

Enable or disable egress-mode.

If not specified the [TABLE], use table 253 to support another 256 flow, the action of flow should be drop or mod_nw_tos.

eg. The valid table is from 1 to 253, except the table 250, it is used by udf-mode.

egress-mode cannot be configured on the table which has configured L2/L3 mode.

Enable egress-mode on default table or specify table:

ovs-vsctl set-egress-mode TRUE
ovs-vsctl set-egress-mode TRUE 251

 

Add flow in egress-mode table:

ovs-ofctl add-flow br0 table=253,in_port=1,actions=drop
ovs-ofctl add-flow br0 table=253,dl_type=0x0800,nw_dst=192.168.1.3,actions=mod_nw_tos:16

ovs-vsctl show-egress-mode

Show the current configuration of egress-mode.

 

  • No labels