Uh oh!
There was an error while loading. Please reload this page.
Port Mirroring Exercise - #335
Conversation
jnfoster
commented
Mar 13, 2020
This is super cool! Can I ask if you are an existing P4 member or ONF contributor? |
khooi8913
commented
Mar 13, 2020
Hi Nate, nope, I'm not. :) |
jnfoster
commented
Mar 13, 2020
Can you send me a note at jnfoster@cs.cornell.edu? I'll get you set up. |
khooi8913
commented
Mar 13, 2020
Sure thing! I've just dropped you an email. |
huhub
commented
Mar 16, 2020
hello, now I want to use resubmit and clone to make a packet send to the same detination after egress edit several times, can you tell me how to set clone session to make clone function effective? if you can send me you code at 1787529112@qq.com ,thank you! |
khooi8913
commented
Mar 17, 2020
Hi @huhub You may refer to my commit for further details. |
huhub
commented
Mar 17, 2020
via email
thank you a lot! now I know how to use CLI, and I have already made it, that's very cool. …---Original---
From: "Xin Zhe Khooi"<notifications@github.com>
Date: 2020/3/17 10:24:45
To: "p4lang/tutorials"<tutorials@noreply.github.com>;
Cc: "Mention"<mention@noreply.github.com>;"huhub"<1787529112@qq.com>;
Subject: Re: [p4lang/tutorials] Port Mirroring Exercise (#335)
Hi @huhub
In short, (1) you simply need to define a session X (that can be any number), when specifying your clone action along with the CloneType. Then, (2) you will need to assign the corresponding outports to session X, that where you would like to send the cloned packets to using the control plan/ CLI.
You may refer to my commit for further details.
I have included a sample solution as well. I hope it helps! 😄
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe. |
khooi8913
commented
May 5, 2020
Hi @jnfoster , can you review my proposed exercise (I have made some slight changes since the PR was opened) and possibly merge it? Thanks! |
I would like to propose an exercise to introduce the port mirroring features of P4 that involves the clone function/ extern, which many would probably find useful for many cases.