Introduction to Match-action Tables in P4 Programmable Switches Lab

cybersecurity security and p4 programmable n.w
1 / 4
Embed
Share

Explore the concept of match-action tables in P4 programmable switches, their implementation for routing and flow lookup, and how they enable custom user-defined logic. The lab objectives include implementing tables for IP address matching, updating MAC addresses, and decrementing Time-to-Live (TTL).

  • Cybersecurity
  • Programmable Switches
  • Match-action Tables
  • P4
  • Network Security

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Cybersecurity (Security+) and P4 Programmable Switches Lab 5: Introduction to Match-action Tables Jose Gomez, Elie Kfoury, Jorge Crichigno University of South Carolina http://ce.sc.edu/cyberinfra Western Academy Support and Training Center (WASTC) University of South Carolina (USC) Energy Sciences Network (ESnet) June 22nd, 2023 1

  2. Lab 5: Introduction to Match-action Tables 2

  3. Match-action Pipeline Tables define the processing logic inside the match-action pipeline They can be used to implement traditional switch tables (e.g., routing, flow lookup, access-control lists) They can implement custom user-defined complex logic Stage 1 Stage N Stage 1 Stage N Traffic Manger Manager Traffic ... ... Packets Programmable parser Programmable match- action pipeline Configurable component Programmable match- action pipeline Programmable deparser Tables are implemented here Tables are implemented here 3

  4. Topology and Lab Objectives The topology consists of three hosts: h1, h2, and h3; one P4 switch: s1 Implement a table that matches on the destination IP address in the packet headers using the Longest Prefix Match (LPM) Implement another table that matches on the destination IP address in the packet headers using the exact match Assign the output port based on the matched IP address Update the MAC addresses in the headers Decrement the Time-to-Live (TTL) 4

More Related Content