Tools to help build network mirrors in Linux
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Open vSwitch & Traffic Control Mirror Port Utilities

These scripts are intended to facilitate in creating a mirror port for both Open vSwitch environments and for more simplistic Traffic Control environments. The scripts are pretty straightforward and both behave the same way logically:


  • build SOURCE DESTINATION - Mirrors the traffic from the SOURCE interface to the DESTINATION interface.
  • teardown SOURCE - Removes the traffic mirror on the SOURCE interface.


  • build BRIDGE MIRROR_SOURCE MIRROR_DEST - Creates a new mirror mirroring the source port to the destination port
  • teardown BRIDGE MIRROR - Destroys the mirror on the specified bridge