Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Introduction

From version 2.9.1.32, Pica8 switches support match vxlan vni fields.Platforms that supports VXLAN also supports matching VXLAN VNI field. The tun_id/tunnel_id uses the lower 24 bits in the lower 32 bits of the 64 bit vnid field.The higher 32 bits are 0x02000000. The udp, tp_dst and tun_id/tunnel_id are the necessary match fields, besides, you can match more fields like dl_vlan, dl_dst, dl_src, nw_src, nw_dst etc.The tp_dst must be the same with the configuration set by "ovs-vsctl set-vxlan-udp-dst-port [port]". This global configuration works well on vxlan decapsulation, but does not work on encapsualtion by vxlan tunnel.

...

Info
titleflows info

1.udp,tp_dst,tun_id are the necessary match fields, besides, you can match more fields like dl_vlan,dl_dst,dl_src,nw_src,nw_dst etc.

2.Actions could be set_field vlan vid, push_mpls etc. Vcap actions can not be supported( only push_vlan and only two pop_vlan etc)

 


Example1

host-----------1+--------------------------+2---------host

...

Panel

Step6:vxlan packets will hash to te-1/1/2,te-1/1/3.te-1/1/2 transmit the packets like this(dst mac is 00 00 00 33 33 33,src mac is  00 00 00 22 22 22 vlan is 10).te-1/1/3 transmit the packets like this (dst mac is 00 00 00 55 55 55,src mac is 00 00 00 44 44 44,vlan is 20)

Step8:vxlan packets will hash to te-1/1/2,te-1/1/3.te-1/1/2 and te-1/1/3 transmit the same vxlan packets like this(dst mac is 00 00 00 11 11 11,src mac is C8 0A A9 9E 14 A5,vlan is 1000)