Announcing the 3rd P4 Developer Day on May 16th, 2017 and 4th P4 Workshop on May 17th, 2017! Mark your calendars. Registration details coming soon!

Call for Talks and Demos is out! Submit yours here by March 31st, 2017!

  • Protocol Independent

    P4 programs specify how a switch processes packets.

  • Target Independent

    P4 is suitable for describing everything from high- performance forwarding ASICs to software switches.

  • Field Reconfigurable

    P4 allows network engineers to change the way their switches process packets after they are deployed.

table routing {
reads {
ipv4.dstAddr : lpm;
}
actions { do_drop;
route_ipv4;
}
size: 2048;
}

control ingress {
apply(routing);
}
TRY IT Get the code
from GitHub

SEE HOW P4 WORKS

- 12 MIN

STAY CONNECTED

Subscribe to our announcements mailing list

SUBSCRIBE