[ovs-dev] ERSPAN type 3 not working in OVS

Gregory Rose gvrose8192 at gmail.com
Thu Sep 13 17:35:45 UTC 2018


On 9/12/2018 12:28 AM, ram kumar wrote:
> Hi All,
>
>
>
>                   I am trying to use ovs switch for decaping the ERSPAN
> header(GRE+ERSPAN removal).
>
>
>
> The ovs version 2.10 has support to ERSPAN termination, but currently it
> works only for ERSPAN type 2.
>
>
>
> I am not able to make it work for ERSPAN type 3.
>
>
> Below is the command i used to strip ERSPAN type 3 header.
>
>
> ovs-vsctl add-port br0 at_erspan0 -- \
>          set int at_erspan0 type=erspan options:key=1 \
>          options:remote_ip=172.31.1.1 \
>          options:erspan_ver=2 options:erspan_dir=1 \
>          options:erspan_hwid=4
>

Works for me - here is my own variant:

ovs-vsctl add-port br0 at_erspan0 -- set int at_erspan0 type=erspan \
         options:remote_ip=192.168.0.103 options:key=1000 
options:erspan_dir=0 \
         options:erspan_hwid=4 options:erspan_ver=2 options:tos=inherit

We need more details - OS and kernel version would be a big help. Also, 
the output of 'ip addr show' and 'ovs-vsctl show'.

Thanks,

- Greg

>
> Awaiting your valuable reply.
>
>
>
> Regards,
>
> Ramkumar N.
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev



More information about the dev mailing list