Mirror Create

Ref: http://docs.openvswitch.org/en/latest/faq/configuration/

The ports you can operate shall join the same bridge.

It is operating the database table, so all command is mapping to the database column name.

  1. Table Content
[root@cmp1 ~]# ovsdb-client dump Mirror
Mirror table
_uuid                                external_ids name output_port                          output_vlan select_all select_dst_port select_src_port select_vlan snaplen statistics                      
------------------------------------ ------------ ---- ------------------------------------ ----------- ---------- --------------- --------------- ----------- ------- --------------------------------
0e95391b-097c-4747-98c6-754f9574c104 {}           "m0" 5720cad4-d3dd-4e4d-a69c-1b8062880bb3 []          true       []              []              []          []      {tx_bytes=50512, tx_packets=564}
  1. ovs-vsctl get bridge br-int mirrors
    

3.

ovs-vsctl clear bridge br-int mirrors
  1. Create Example1, mirror all ports
[root@cmp1 ~]# ovs-vsctl -- --id=@outport get port eno33559296 -- --id=@m create mirror name=m0 select-all=true output-port=@outport -- set bridge br-int mirrors=@m
9fc593fa-8bd5-4beb-b7c2-427841edd5c2

results for ""

    No results matching ""