Announcing P4 Developer Day Fall 2016 on November 9th!

Sponsored by: Xilinx, Netronome, Barefoot Networks

Register here!

  • 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