[P4-dev] P4 CLI for P4_2016

Nate Foster jnfoster at cs.cornell.edu
Mon Aug 28 22:14:28 EDT 2017


And if you forget the precise incantations (as I always do), typing "help"
at the "RuntimeCmd:" prompt will list all commands and "help <cmd>" will
give you details on each command.

-N

On Mon, Aug 28, 2017 at 8:51 PM, Vladimir Gurevich <
vladimir.gurevich at barefootnetworks.com> wrote:

> 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/p
>> 4lang/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
>
>
> _______________________________________________
> P4-dev mailing list
> P4-dev at lists.p4.org
> http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170828/f8c95982/attachment-0002.html>


More information about the P4-dev mailing list