[ovs-discuss] Is it possible to terminate ERSPAN in OVS?

Ben Pfaff blp at ovn.org
Thu Oct 31 16:43:46 UTC 2019


On Thu, Oct 31, 2019 at 04:34:14PM +0000, Bryan T. Richardson wrote:
> On Thu, Oct 31, 2019 at 09:27:19AM -0700, Ben Pfaff wrote:
> > 
> > On Wed, Oct 30, 2019 at 11:23:37PM +0000, Bryan T. Richardson wrote:
> > > From the documentation located at
> > > http://docs.openvswitch.org/en/latest/faq/configuration/ it's obvious
> > > that, based on the example the answer to the question "Does Open vSwitch
> > > support ERSPAN?", OVS can create an ERSPAN connection to another switch
> > > and mirror packets over the connection.  However, what's not clear is
> > > whether or not OVS can act as the receiver switch, ie. terminate the
> > > ERSPAN GRE tunnel, decapsulate the packets, and mirror them to a local
> > > OVS port.
> > 
> > Yes, use a port of type "erspan".  ovs-vswitchd.conf.db(5) describes the
> > available options, and ovs-fields(7) describes the fields.  This support
> > was added in version 2.10.
> 
> Great, thanks Ben! I'll start digging into the docs you suggested to see
> if I can figure it out. Any chance you could provide a simple
> configuration example here?

I think a minimal configuration would just include the remote IP
address, like other OVS tunnels.  You can find some examples in the
TUNNEL FIELDS section of ovs-fields(7).


More information about the discuss mailing list