[P4-dev] P4 CLI for P4_2016

Vladimir Gurevich vladimir.gurevich at barefootnetworks.com
Mon Aug 28 20:51:00 EDT 2017


Hello Garegin,

For general guidance on running the model and the CLI I would recommend
looking at the P4 Tutorial Presentation
http://p4.org/wp-content/uploads/2017/05/p4_d2_2017_p4_16_tutorial.pdf,
specifically slides 81-88.

Happy hacking,
Vladimir


On Mon, Aug 28, 2017 at 4:42 PM, Garegin Grigoryan <grigorg at clarkson.edu>
wrote:

> Hello,
>
> I am playing with p4 code from this tutorial: https://github.com/
> p4lang/tutorials/tree/master/P4D2_2017/exercises/ipv4_forward
>
> How can I run P4 CLI while the P4 program is in operation? I want to run
> the following commands in the CLI while the switch is operating:
>
> - table_add  ipv4_lpm <action name> <match fields> => <action parameters>
> [priority]
> - table_delete  ipv4_lpm <entry handle>
> - table_dump ipv4_lpm.
>
> I am sorry if the question has been answered before, I couldn't find it in
> my emails.
>
>
>
> --
> Sincerely,
> Garegin Grigoryan
>
> _______________________________________________
> P4-dev mailing list
> P4-dev at lists.p4.org
> http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org
>



-- 
*Vladimir Gurevich*

*Barefoot Networks*
*Technical Lead, Customer Engineering*
Email: vag at barefootnetworks.com
Phone: (408) 833-4505
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170828/cc07d288/attachment-0002.html>


More information about the P4-dev mailing list