Permalink
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (24 sloc) 651 Bytes

switch.p4

The switch.p4 program describes a data plane of an L2/L3 switch.

Supported Features

  1. Basic L2 Switching: Flooding, learning and STP
  2. L2 Multicast
  3. Basic L3 Routing (unicast): IPv4 and IPv6 and VRF
  4. L3 Multicast
  5. LAG
  6. ECMP
  7. Tunneling: VXLAN and NVGRE (including L2/L3 Gateway), Geneve, GRE and IPinIP
  8. Basic ACL: MAC and IP ACLs
  9. Unicast RPF check
  10. MPLS: LER, LSR, IPVPN, VPLS, L2VPN
  11. Host interface
  12. Mirroring: Ingress and egress mirroring with ERSPAN
  13. Counters/Statistics
  14. Ingress Policers
  15. Inband Network Telemetry (INT)

Upcoming Features

  1. NAT
  2. QoS