<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1256"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">In plain OpenFlow 1.0, this isn't possible because l2_learning installs exact matches, which have maximum priority. There are at least two ways to fix this:<div><br></div><div>1) Don't install exact matches for normal learning. This is pretty reasonable, actually. l2_pairs, for example, installs rules that just match Ethernet addresses. These matches can be at whatever priority you want.</div><div><br></div><div>2) If you're using a switch which has Nicira extensions (e.g., Open vSwitch), you can take advantage of multiple tables. Have l2_learning install its entries into table 1. Put a low priority wildcard entry into table 0 that just resubmits to table 1. So "normal" traffic will hit that wildcard entry and go to table 1 and then be processed as usual. Then put whatever "exceptional" entries you want in table 0 too. They'll always be matched before the ones installed into table 1.</div><div><br></div><div>-- Murphy</div><div><br></div><div><div><div>On Jun 28, 2015, at 5:59 PM, Talal Alharbi <<a href="mailto:tal012@hotmail.com">tal012@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 12pt; font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div dir="ltr">I have already looked at it before and did not work because I need higher priority than rules installed by l2_learning after ping. <span class="Apple-converted-space"> </span><br><div><hr id="stopSpelling">From: <a href="mailto:sul4bh@gmail.com">sul4bh@gmail.com</a><br>Date: Sun, 28 Jun 2015 20:19:31 -0400<br>Subject: Re: [pox-dev] Set Priority on Flow Rules<br>To: <a href="mailto:tal012@hotmail.com">tal012@hotmail.com</a><br>CC: <a href="mailto:pox-dev@lists.noxrepo.org">pox-dev@lists.noxrepo.org</a><br><br><div dir="ltr">You can find some clues in the documentation here: <a href="https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-OpenFlowMessages" target="_blank">https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-OpenFlowMessages</a><div><br></div><div>Straight from the documentation:</div><div>"priority (int) - the priority at which a rule will match, higher numbers higher priority. Note: Exact matches will have highest priority."</div></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Sun, Jun 28, 2015 at 8:12 PM, Talal Alharbi<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:tal012@hotmail.com" target="_blank">tal012@hotmail.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br><blockquote class="ecxgmail_quote" style="border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div dir="ltr">Dear All,<span class="Apple-converted-space"> </span><br><br>I need to a high priority to the rules I would like to preformed first. I have tried different values but none of them work. Could you please advise me ?<br><br>Cheers,<span class="Apple-converted-space"> </span><br>Talal</div></blockquote></div></div></div></div></div></blockquote></div><br></div></body></html>