This article provides information on how to calculate the TCAM entries in QFX3500, for filter terms with multiple (ranges) match conditions.
How to calculate the TCAM entries in QFX3500, for filter terms with multiple (ranges) match conditions.
Case 1: term1: match [sipA, dipB, sportA, dportB] This will boil down to 1 rule in TCAM, where you can match for [sipA AND dipB AND sportA AND dportB] Now, suppose the user did (like in this case): term1: match [sipA, sipB, dipB, dipC, sportA, dportB] Here, there are 2 sips and 2 dips. You can interpret this as: an OR conditions (as an AND condition of two of the same match types does not make sense). So the filter really becomes:
match [sipA, dipB, sportA, dportB]
match [sipA, sipB, dipB, dipC, sportA, dportB]
term1: term1.1: match [sipA, dipB, sportA, dportB] term1.2: match [sipA, dipC, sportA, dportB] term1.3: match [sipB, dipB, sportA, dportB] term1.4: match [sipB, dipc, sportA, dportB]